show.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. .container {
  2. margin: 0rpx 30rpx;
  3. width: calc(100% - 60rpx);
  4. padding: 0 0;
  5. overflow: hidden;
  6. }
  7. .search-bar {
  8. width: calc(100% - 45rpx);
  9. position: relative;
  10. display: flex;
  11. align-items: center;
  12. /* height: 70rpx; */
  13. background-color: #fff;
  14. border: 1rpx solid #dcdfe6;
  15. border-radius: 12rpx;
  16. padding: 16rpx 20rpx;
  17. }
  18. .search-bar input {
  19. flex: 1;
  20. height: 100%;
  21. padding-right: 60rpx;
  22. font-size: 32rpx;
  23. border: none;
  24. background: transparent;
  25. }
  26. .search-icon {
  27. position: absolute;
  28. right: 20rpx;
  29. width: 45rpx;
  30. height: 45rpx;
  31. }
  32. .category-tabs {
  33. width: 100%;
  34. display: flex;
  35. justify-content: space-between;
  36. margin: 20rpx 0;
  37. }
  38. .category-tab {
  39. margin: 0 16rpx;
  40. padding: 13rpx 21rpx;
  41. font-size: 26rpx;
  42. color: #666;
  43. border-radius: 25rpx;
  44. }
  45. .category-tab.active {
  46. color: #409eff;
  47. background: #ecf5ff;
  48. border: 1rpx solid #d9ecff;
  49. }
  50. .course-lists {
  51. width: calc(100% - 60rpx);
  52. display: flex;
  53. flex-direction: column;
  54. gap: 20rpx;
  55. margin-top: 20rpx;
  56. }
  57. .course-items {
  58. background-color: #fff;
  59. border-radius: 8rpx;
  60. overflow: hidden;
  61. }
  62. .course-videos {
  63. width: 100%;
  64. height: 385rpx;
  65. object-fit: cover;
  66. }
  67. .course-infos {
  68. padding: 20rpx;
  69. }
  70. .course-titles {
  71. font-size: 36rpx;
  72. font-weight: bold;
  73. color: #333;
  74. margin-bottom: 10rpx;
  75. }
  76. .course-descriptions {
  77. font-size: 28rpx;
  78. color: #666;
  79. line-height: 1.5;
  80. }
  81. .course-list{
  82. width: calc(100% - 60rpx);
  83. /* margin-top: 20rpx; */
  84. display: flex;
  85. flex-wrap: wrap;
  86. }
  87. .card {
  88. width: 48%;
  89. margin-right: 4%;
  90. margin-bottom: 20rpx;
  91. background-color: #fff;
  92. border-radius: 12rpx;
  93. overflow: hidden;
  94. box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1);
  95. }
  96. .card:nth-child(2n) {
  97. margin-right: 0;
  98. }
  99. .label {
  100. width: 60rpx;
  101. height: 43rpx;
  102. text-align: center;
  103. line-height: 45rpx;
  104. font-size: 26rpx;
  105. padding: 5rpx 16rpx;
  106. border-radius: 40rpx;
  107. }
  108. .label.PDF { background: #ffeaea; color: #ff4d4f; border: 1rpx solid #fde2e2;}
  109. .label.shipin { background: #e6f7ff; color: #1890ff; border: 1rpx solid #d9ecff;}
  110. .label.yinpin { background: #f6ffed; color: #52c41a; border: 1rpx solid #e1f3d8;}
  111. .label.PPT { background: #fff7e6; color: #faad14; border: 1rpx solid #fde2e2;}
  112. .preview-btn {
  113. flex: 1;
  114. background-color: #409eff;
  115. color: #fff;
  116. border: none;
  117. border-radius: 40rpx;
  118. padding: 12rpx 0;
  119. font-size: 32rpx;
  120. display: flex;
  121. justify-content: center;
  122. align-content: center;
  123. }
  124. .cardimg {
  125. width: 100%;
  126. height: 300rpx;
  127. background: papayawhip;
  128. border-radius: 12rpx;
  129. position: relative;
  130. }
  131. .labelwg {
  132. position: absolute;
  133. top: 16rpx;
  134. left: 16rpx;
  135. }
  136. .info {
  137. display: flex;
  138. justify-content: space-between;
  139. padding-top: 16rpx;
  140. font-size: 26rpx;
  141. }
  142. .title_box.list {
  143. width: 320rpx;
  144. height: 100%;
  145. margin-right: 80rpx;
  146. }
  147. .item-content {
  148. padding: 20rpx;
  149. }
  150. .item-title {
  151. font-size: 32rpx;
  152. color: #333;
  153. margin-bottom: 10rpx;
  154. }
  155. .item-subtitle {
  156. font-size: 28rpx;
  157. color: #666;
  158. margin-bottom: 10rpx;
  159. }
  160. .item-download-count {
  161. font-size: 24rpx;
  162. color: #999;
  163. margin-bottom: 20rpx;
  164. }
  165. .item-buttons {
  166. display: flex;
  167. align-items: center;
  168. align-content: center;
  169. }
  170. .download-icon {
  171. width: 45rpx;
  172. height: 40rpx;
  173. margin-left: 20rpx;
  174. }
  175. .download-icons {
  176. width: 45rpx;
  177. height: 40rpx;
  178. margin-right: 20rpx;
  179. }
  180. .group-options {
  181. display: flex;
  182. justify-content: space-between;
  183. margin-top: 20rpx;
  184. width: 100%;
  185. }
  186. .option {
  187. text-align: center;
  188. margin-top: 20rpx;
  189. display: flex;
  190. align-items: center;
  191. flex-direction: column;
  192. }
  193. .option-icon {
  194. width: 80rpx;
  195. height: 80rpx;
  196. border-radius: 50%;
  197. }
  198. .option-text {
  199. font-size: 28rpx;
  200. color: #666;
  201. margin-top: 16rpx;
  202. }
  203. .course-lists {
  204. display: flex;
  205. flex-direction: column;
  206. gap: 20rpx;
  207. margin-top: 20rpx;
  208. }
  209. .course-items {
  210. background-color: #fff;
  211. border-radius: 8rpx;
  212. overflow: hidden;
  213. }
  214. .course-videos {
  215. width: 100%;
  216. height: 385rpx;
  217. object-fit: cover;
  218. }
  219. .course-infos {
  220. padding: 20rpx;
  221. }
  222. .course-titles {
  223. font-size: 36rpx;
  224. font-weight: bold;
  225. color: #333;
  226. margin-bottom: 10rpx;
  227. }
  228. .course-descriptions {
  229. font-size: 28rpx;
  230. color: #666;
  231. line-height: 1.5;
  232. }
  233. .list_boxsss {
  234. /* width: calc( 100% - 60rpx); */
  235. padding: 0rpx 30rpx;
  236. height: calc(100% - 240rpx);
  237. position: fixed;
  238. top: 195rpx;
  239. left: 0;
  240. }
  241. .loading-text {
  242. padding-top: 20rpx;
  243. width: 100%;
  244. text-align: center;
  245. }
  246. .no-more-text {
  247. padding-top: 20rpx;
  248. width: 100%;
  249. text-align: center;
  250. }