training.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. .container {
  2. margin: 0rpx 30rpx;
  3. width: calc(100% - 60rpx);
  4. padding: 0 0;
  5. height: 100%;
  6. }
  7. .search-bar {
  8. width: 100%;
  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;
  37. }
  38. .category-tab {
  39. margin: 0 16rpx;
  40. padding: 13rpx 24rpx;
  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-list{
  51. width: 100%;
  52. }
  53. .course-list.grid {
  54. width: 100%;
  55. display: flex;
  56. flex-wrap: wrap;
  57. gap: 20rpx;
  58. margin-top: 30rpx;
  59. }
  60. .course-list.list .card {
  61. width: 100%;
  62. display: flex;
  63. align-items: center;
  64. margin-bottom: 20rpx;
  65. }
  66. .card {
  67. width: 48.6%;
  68. background: #fff9f0;
  69. border-radius: 16rpx;
  70. /* padding: 16rpx; */
  71. }
  72. .card.list {
  73. width: calc(100% - 40rpx) !important;
  74. background: #fff;
  75. border-radius: 14rpx;
  76. /* border-bottom: 1rpx solid #ccc; */
  77. padding: 20rpx;
  78. }
  79. .label {
  80. width: 60rpx;
  81. height: 43rpx;
  82. text-align: center;
  83. line-height: 45rpx;
  84. font-size: 26rpx;
  85. padding: 5rpx 16rpx;
  86. border-radius: 40rpx;
  87. }
  88. .label.PDF { background: #ffeaea; color: #ff4d4f; border: 1rpx solid #fde2e2;}
  89. .label.shipin { background: #e6f7ff; color: #1890ff; border: 1rpx solid #d9ecff;}
  90. .label.yinpin { background: #f6ffed; color: #52c41a; border: 1rpx solid #e1f3d8;}
  91. .label.PPT { background: #fff7e6; color: #faad14; border: 1rpx solid #fde2e2;}
  92. .preview-btn {
  93. /* width: 200rpx !important; */
  94. margin-top: 10rpx;
  95. background: #007aff;
  96. color: white;
  97. font-size: 26rpx !important;
  98. border-radius: 12rpx;
  99. }
  100. .preview-btns {
  101. flex: 1;
  102. background-color: #409eff;
  103. color: #fff;
  104. border: none;
  105. border-radius: 40rpx;
  106. padding: 12rpx 0;
  107. font-size: 32rpx;
  108. display: flex;
  109. justify-content: center;
  110. align-content: center;
  111. }
  112. .cardimg {
  113. background: papayawhip;
  114. border-radius: 12rpx;
  115. position: relative;
  116. }
  117. .cardimg.grid {
  118. width: 100%;
  119. height: 220rpx;
  120. }
  121. .cardimg.list {
  122. width: 100rpx;
  123. height: 100rpx;
  124. }
  125. .labelwg.grid {
  126. position: absolute;
  127. top: 16rpx;
  128. left: 16rpx;
  129. }
  130. .labelwg.list {
  131. position: absolute;
  132. top: 10rpx;
  133. left: 10rpx;
  134. }
  135. .info {
  136. display: flex;
  137. justify-content: space-between;
  138. padding-top: 16rpx;
  139. font-size: 26rpx;
  140. }
  141. .title_box.list {
  142. width: 320rpx;
  143. height: 100%;
  144. margin-right: 80rpx;
  145. }
  146. .button_box.grid {
  147. display: flex;
  148. align-items: center;
  149. align-content: center;
  150. }
  151. .button_box.list {
  152. width: 130rpx;
  153. height: 100%;
  154. }
  155. .group-options {
  156. display: flex;
  157. justify-content: space-between;
  158. margin-top: 20rpx;
  159. width: 100%;
  160. }
  161. .option {
  162. text-align: center;
  163. margin-top: 20rpx;
  164. display: flex;
  165. align-items: center;
  166. flex-direction: column;
  167. }
  168. .option-icon {
  169. width: 80rpx;
  170. height: 80rpx;
  171. border-radius: 50%;
  172. }
  173. .option-text {
  174. font-size: 28rpx;
  175. color: #666;
  176. margin-top: 16rpx;
  177. }
  178. .course-lists {
  179. display: flex;
  180. flex-direction: column;
  181. gap: 20rpx;
  182. margin-top: 20rpx;
  183. }
  184. .course-items {
  185. background-color: #fff;
  186. border-radius: 8rpx;
  187. overflow: hidden;
  188. }
  189. .course-videos {
  190. width: 100%;
  191. height: 385rpx;
  192. object-fit: cover;
  193. }
  194. .course-infos {
  195. padding: 20rpx;
  196. }
  197. .course-titles {
  198. font-size: 36rpx;
  199. font-weight: bold;
  200. color: #333;
  201. margin-bottom: 10rpx;
  202. }
  203. .course-descriptions {
  204. font-size: 28rpx;
  205. color: #666;
  206. line-height: 1.5;
  207. }
  208. .download-icon {
  209. width: 45rpx;
  210. height: 40rpx;
  211. margin-left: 20rpx;
  212. }
  213. .download-icons {
  214. width: 45rpx;
  215. height: 40rpx;
  216. margin-right: 20rpx;
  217. }