course.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. width: 100%;
  36. flex-direction: row;
  37. flex-wrap: wrap;
  38. justify-content: flex-start;
  39. gap: 30rpx;
  40. padding-bottom: 50rpx;
  41. padding-left: 30rpx;
  42. }
  43. .item {
  44. /* padding: 0 10px; */
  45. }
  46. .cover {
  47. width: 330rpx;
  48. height: 186rpx;
  49. border-radius: 8rpx !important;
  50. }
  51. .title {
  52. line-height: 40rpx;
  53. font-size: 28rpx;
  54. max-width: 330rpx;
  55. word-break: break-all;
  56. }
  57. .sub_cotnainer {
  58. color: rgba(136, 136, 136, 1);
  59. font-size: 20rpx;
  60. line-height: 23rpx;
  61. display: flex;
  62. flex-direction: row;
  63. flex-wrap: nowrap;
  64. }
  65. .sub_cotnainer .sub_title {
  66. height: 28rpx;
  67. display: inline;
  68. overflow: hidden;
  69. line-height: 28rpx;
  70. max-width: 228rpx;
  71. text-overflow: ellipsis;
  72. white-space: nowrap;
  73. overflow: hidden;
  74. }
  75. .sub_cotnainer .sub_time {
  76. display: flex;
  77. height: 28rpx;
  78. line-height: 28rpx;
  79. align-items: center;
  80. justify-content: center;
  81. position: relative;
  82. margin-left: 5rpx;
  83. }
  84. .sub_cotnainer .sub_time::before {
  85. content: ' ';
  86. width: 0.5rpx;
  87. height: 12rpx;
  88. background: #888888;
  89. position: absolute;
  90. top: 50%;
  91. transform: translateY(-40%);
  92. left: 0;
  93. }
  94. .sub_cotnainer .sub_time .time {
  95. width: 16rpx;
  96. height: 16rpx;
  97. display: block;
  98. padding: 2rpx 5rpx 0 8rpx;
  99. }
  100. .price {
  101. height: 40rpx;
  102. font-weight: 500;
  103. font-size: 28rpx;
  104. color: #FF6C6C;
  105. line-height: 40rpx;
  106. text-align: left;
  107. font-style: normal;
  108. text-transform: none;
  109. }
  110. .empty {
  111. min-height: 80vh;
  112. width: 100%;
  113. display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. }
  117. .empty .t-empty__image {
  118. width: 300rpx;
  119. height: 200rpx;
  120. }