course.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /* pages/course/course.wxss */
  2. .container {
  3. padding: 0;
  4. }
  5. .search_con {
  6. width: 750rpx;
  7. height: 104rpx;
  8. }
  9. .container .search {
  10. margin: 0 auto;
  11. position: relative;
  12. display: flex;
  13. flex-direction: row;
  14. align-items: center;
  15. width: 686rpx;
  16. height: 72rpx;
  17. background: #FFFFFF;
  18. border-radius: 16rpx 16rpx 16rpx 16rpx;
  19. border: 2rpx solid #888888;
  20. font-size: 24rpx;
  21. }
  22. .container .search .icon {
  23. position: relative;
  24. flex: 0 0 68rpx;
  25. display: flex;
  26. justify-content: center;
  27. align-items: center;
  28. }
  29. .container .search input {
  30. flex: 1;
  31. height: 72rpx;
  32. }
  33. .list {
  34. display: flex;
  35. flex-direction: row;
  36. flex-wrap: wrap;
  37. justify-content: center;
  38. gap: 30rpx;
  39. padding-bottom: 50rpx;
  40. }
  41. .cover {
  42. width: 330rpx;
  43. height: 186rpx;
  44. border-radius: 8rpx 8rpx 8rpx 8rpx;
  45. }
  46. .title {
  47. line-height: 40rpx;
  48. font-size: 28rpx;
  49. max-width: 330rpx;
  50. word-break: break-all;
  51. }
  52. .sub_cotnainer {
  53. color: rgba(136, 136, 136, 1);
  54. font-size: 20rpx;
  55. line-height: 23rpx;
  56. display: flex;
  57. flex-direction: row;
  58. flex-wrap: nowrap;
  59. }
  60. .sub_cotnainer .sub_title {
  61. height: 28rpx;
  62. display: inline;
  63. overflow: hidden;
  64. line-height: 28rpx;
  65. max-width: 228rpx;
  66. text-overflow: ellipsis;
  67. white-space: nowrap;
  68. overflow: hidden;
  69. }
  70. .sub_cotnainer .sub_time {
  71. display: flex;
  72. height: 28rpx;
  73. line-height: 28rpx;
  74. align-items: center;
  75. justify-content: center;
  76. position: relative;
  77. margin-left: 5rpx;
  78. }
  79. .sub_cotnainer .sub_time::before {
  80. content: ' ';
  81. width: 0.5rpx;
  82. height: 12rpx;
  83. background: #888888;
  84. position: absolute;
  85. top: 50%;
  86. transform: translateY(-40%);
  87. left: 0;
  88. }
  89. .sub_cotnainer .sub_time .time {
  90. width: 16rpx;
  91. height: 16rpx;
  92. display: block;
  93. padding: 2rpx 5rpx 0 8rpx;
  94. }
  95. .price {
  96. height: 40rpx;
  97. font-weight: 500;
  98. font-size: 28rpx;
  99. color: #FF6C6C;
  100. line-height: 40rpx;
  101. text-align: left;
  102. font-style: normal;
  103. text-transform: none;
  104. }