myCourse.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. @import "../../common.wxss";
  2. .view-img {
  3. width: 190rpx;
  4. height: 190rpx;
  5. border-radius: 20rpx;
  6. margin-right: 25rpx;
  7. }
  8. .list-view {
  9. border-bottom: 1px solid #F3F3F3;
  10. padding: 25rpx 30rpx;
  11. }
  12. .title {
  13. font-size: 31rpx;
  14. color: #2C2C2C;
  15. }
  16. .content {
  17. font-size: 24rpx;
  18. color: #848484;
  19. }
  20. .money {
  21. font-size: 30rpx;
  22. color: #EA3027;
  23. }
  24. .btn {
  25. padding: 5rpx 25rpx;
  26. color: #FFCE71;
  27. border: 1px solid #FFCE71;
  28. border-radius: 50rpx;
  29. font-size: 30rpx;
  30. }
  31. .view-content {
  32. width: calc(100% - 190rpx - 25rpx);
  33. }
  34. .page-body {
  35. width: 690rpx;
  36. margin: 25rpx auto;
  37. }
  38. .flex-list-item {
  39. background: white;
  40. width: 100%;
  41. border-radius: 20rpx;
  42. padding: 25rpx 30rpx;
  43. box-sizing: border-box;
  44. }
  45. .flex-list-item .view-content {
  46. flex: 1;
  47. padding-left: 30rpx;
  48. box-sizing: border-box;
  49. display: flex;
  50. flex-direction: column;
  51. justify-content: center;
  52. }
  53. .flex-list-item .view-content .title {
  54. font-size: 30rpx;
  55. font-family: PingFang SC, PingFang SC-Regular;
  56. font-weight: 400;
  57. text-align: left;
  58. color: #292929;
  59. line-height: 38rpx;
  60. overflow: hidden;
  61. text-overflow: ellipsis;
  62. white-space: nowrap;
  63. }
  64. .flex-list-item .view-content .content {
  65. margin-top:10rpx;
  66. font-size: 24rpx;
  67. font-family: PingFang SC, PingFang SC-Regular;
  68. font-weight: 400;
  69. text-align: left;
  70. color: #999999;
  71. line-height: 34rpx;
  72. letter-spacing: 0px;
  73. word-break: break-all;
  74. text-overflow: ellipsis;
  75. display: -webkit-box;
  76. /** 对象作为伸缩盒子模型显示 **/
  77. -webkit-box-orient: vertical;
  78. /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  79. -webkit-line-clamp: 2;
  80. /** 显示的行数 **/
  81. overflow: hidden;
  82. }
  83. .flex-price-content{
  84. display: flex;
  85. flex-direction: row;
  86. align-items: center;
  87. justify-content: space-between;
  88. margin-top:10rpx;
  89. }
  90. .flex-price-content .btns{
  91. width: 132rpx;
  92. height: 50rpx;
  93. opacity: 1;
  94. border: 1px solid #9DDB52;
  95. border-radius: 26rpx;
  96. font-size: 28rpx;
  97. font-family: PingFang SC, PingFang SC-Regular;
  98. font-weight: 400;
  99. text-align: left;
  100. color: #9DDB52;
  101. display: flex;
  102. justify-content: center;
  103. align-items: center;
  104. }
  105. .flex-price-content .prices{
  106. color:#999999;
  107. font-size: 24rpx;
  108. }
  109. .flex-price-content .prices .p1{
  110. font-size: 20rpx;
  111. color:#EC2E26;
  112. }
  113. .flex-price-content .prices .money{
  114. font-size: 28rpx;
  115. }