index.module.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. .courseList {
  2. min-height: 100vh;
  3. background-color: #fff;
  4. background-image: linear-gradient(180deg, #7DEFE6 0%, rgba(251, 233, 213, 0) 198px);
  5. padding: 10px 0;
  6. box-sizing: border-box;
  7. }
  8. .periodContent {
  9. display: flex;
  10. padding: 20px;
  11. .cover {
  12. position: relative;
  13. width: 107px;
  14. min-height: 130px;
  15. margin-right: 30px;
  16. border-radius: 2px;
  17. overflow: hidden;
  18. box-shadow: 0px 2px 6px 0px rgba(221, 168, 133, 0.67);
  19. overflow: hidden;
  20. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAMAAAAPdrEwAAABOFBMVEUAAAC0tLTT09PU1NTt7e3////T09P////T09P////T09P////X19f////U1NTU1NTT09PT09PU1NTU1NTV1dXT09PU1NTU1NTV1dXZ2dn+/v7R0dH////////KysrIyMjT09O0tLTU1NS0tLTU1NS0tLTT09PT09PT09PU1NTU1NTU1NTT09O2trbU1NTV1dXV1dXW1tbV1dXW1tbV1dXJycm4uLj///+0tLT///+0tLT////p6em0tLT4+Pj///+2trb///+1tbX///+0tLT////T09P5+fn+/v63t7e8vLz8/Pzl5eXW1tbBwcH39/fw8PDs7Ozb29v7+/vg4ODOzs65ubny8vLJycnp6enGxsbFxcW+vr62trb09PTY2NjLy8vCwsLn5+fi4uLS0tLu7u7Q0NDd3d02Mu/gAAAARHRSTlMAnPwvBfv07ODdw5AbGezmyr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AAAASUVORK5CYII=');
  21. background-repeat: no-repeat;
  22. background-position: center;
  23. background-size: 50%;
  24. flex-shrink: 0;
  25. &>img {
  26. display: block;
  27. width: 100%;
  28. min-height: 140px;
  29. opacity: 0;
  30. transition: opacity .3s;
  31. object-fit: cover;
  32. }
  33. :global {
  34. .van-image__loading {
  35. position: relative;
  36. min-height: 130px;
  37. animation: van-skeleton-blink var(--van-skeleton-duration) ease-in-out infinite;
  38. }
  39. }
  40. &::before {
  41. content: '';
  42. position: absolute;
  43. left: 5px;
  44. width: 5px;
  45. height: 100%;
  46. background: linear-gradient(270deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.03) 100%);
  47. box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);
  48. z-index: 1;
  49. }
  50. }
  51. .contentTitle {
  52. font-size: 16px;
  53. font-weight: 500;
  54. color: #333;
  55. line-height: 22px;
  56. padding-bottom: 8px;
  57. }
  58. .contentLabel {
  59. font-size: 12px;
  60. font-weight: 400;
  61. color: rgb(96, 96, 96);
  62. line-height: 20px;
  63. }
  64. }
  65. .periodTitle {
  66. display: flex;
  67. align-items: center;
  68. padding: 20px 20px 0;
  69. .pIcon {
  70. width: 20px;
  71. height: 20px;
  72. margin-right: 6px;
  73. }
  74. .pTitle {
  75. font-size: 16px;
  76. font-weight: 600;
  77. color: #2D3131;
  78. margin-right: 8px;
  79. }
  80. .pNum {
  81. font-size: 12px;
  82. font-weight: 400;
  83. color: rgba(0, 0, 0, 0.5);
  84. }
  85. }
  86. .periodList {
  87. :global {
  88. .van-cell-group--inset {
  89. margin: 0;
  90. }
  91. .van-cell-group,
  92. .van-cell {
  93. background: transparent;
  94. }
  95. .van-cell {
  96. padding: 18px 20px;
  97. &::after {
  98. left: 20px;
  99. right: 20px;
  100. border-color: rgba(242, 242, 242, 1);
  101. transform: none;
  102. }
  103. .van-cell__title {
  104. padding-right: 8px;
  105. span {
  106. font-size: 15px;
  107. font-weight: 600;
  108. color: #333333;
  109. line-height: 21px;
  110. word-break: break-all;
  111. }
  112. .van-cell__label {
  113. font-size: 12px;
  114. font-weight: 400;
  115. color: #AAAAAA;
  116. line-height: 17px;
  117. margin: 0;
  118. }
  119. }
  120. .van-cell__value {
  121. flex: inherit;
  122. flex-shrink: 0;
  123. }
  124. }
  125. }
  126. .baseBtn {
  127. width: 73px;
  128. height: 26px;
  129. line-height: 1;
  130. color: #fff;
  131. font-size: 13px;
  132. font-weight: 500;
  133. border: 0;
  134. border-radius: 13px;
  135. flex-shrink: 0;
  136. :global {
  137. .van-button__text {
  138. white-space: nowrap;
  139. }
  140. }
  141. &.disabled {
  142. opacity: 0.6 !important;
  143. }
  144. &.look {
  145. background: linear-gradient(270deg, #4BE0A1 0%, #01C1B5 100%);
  146. }
  147. &.down {
  148. background: linear-gradient(270deg, #4BE0A1 0%, #01C1B5 100%);
  149. ;
  150. }
  151. &.downing {
  152. background: linear-gradient(270deg, #47CFE5 0%, #2FB3FF 100%);
  153. }
  154. &.disable {
  155. opacity: 1;
  156. background: linear-gradient(180deg, #D3D3D3 0%, #8F8F8F 100%);
  157. }
  158. }
  159. }
  160. .periodItem {
  161. width: 36px;
  162. height: 40px;
  163. margin-right: 8px;
  164. flex-shrink: 0;
  165. img {
  166. width: 100%;
  167. height: 100%;
  168. display: block;
  169. object-fit: cover;
  170. }
  171. }
  172. .courseDialog {
  173. width: 315px;
  174. :global {
  175. .van-dialog__header {
  176. // padding-top: 0;
  177. }
  178. }
  179. .iconCross {
  180. position: absolute;
  181. top: 10px;
  182. right: 10px;
  183. font-size: 22px;
  184. color: #ccc;
  185. z-index: 99;
  186. }
  187. }
  188. .periodItemModel {
  189. position: relative;
  190. .iconCachePoint {
  191. position: absolute;
  192. right: 0;
  193. bottom: 0;
  194. display: block;
  195. object-fit: contain;
  196. width: 13px;
  197. height: 13px;
  198. }
  199. .periodTip {
  200. position: absolute;
  201. left: -7px;
  202. top: 0;
  203. max-height: 15px;
  204. display: block;
  205. object-fit: contain;
  206. }
  207. .downloading {
  208. position: absolute;
  209. left: 0;
  210. right: 0;
  211. bottom: 0;
  212. top: 0;
  213. background: rgba(0, 0, 0, 0.4);
  214. font-size: 11px;
  215. color: #fff;
  216. border-radius: 9px;
  217. display: flex;
  218. align-items: center;
  219. justify-content: center;
  220. }
  221. }
  222. .btnGroup {
  223. padding: 20px 25px calc(20px + env(safe-area-inset-bottom));
  224. border-top: 1px solid #F2F2F2;
  225. background-color: #fff;
  226. }
  227. .courseDialog {
  228. padding: 20px;
  229. // :global {
  230. // .van-popup__close-icon {
  231. // color: #333;
  232. // top: 24px;
  233. // }
  234. // }
  235. .iconClose {
  236. width: 18px;
  237. height: 19px;
  238. position: absolute;
  239. top: 24px;
  240. right: 23px;
  241. z-index: 9;
  242. background: url('./image/icon-close.png') no-repeat center;
  243. background-size: contain;
  244. }
  245. .title {
  246. position: relative;
  247. font-size: 18px;
  248. font-weight: 600;
  249. color: #131415;
  250. line-height: 25px;
  251. text-align: center;
  252. }
  253. .content {
  254. padding: 20px 0 25px;
  255. font-size: 16px;
  256. color: #666666;
  257. line-height: 24px;
  258. }
  259. .popupBtnGroup {
  260. display: flex;
  261. align-items: center;
  262. &>button {
  263. flex: 1;
  264. font-weight: 400;
  265. &:last-child {
  266. margin-left: 15px;
  267. }
  268. }
  269. }
  270. }