details.wxss 4.5 KB

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