index.module.less 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. .trainTool {
  2. .theSticky {
  3. :global {
  4. .van-sticky {
  5. background: url('./images/music-bg.png') no-repeat top center;
  6. background-size: 100% 365px;
  7. }
  8. }
  9. }
  10. }
  11. .musicContent {
  12. position: absolute;
  13. top: 0;
  14. height: 365px;
  15. width: 100%;
  16. padding-top: 55px;
  17. z-index: 10;
  18. // background-color: rgba(0, 0, 0, 0.2);
  19. // backdrop-filter: blur(20px);
  20. // -webkit-backdrop-filter: blur(20px);
  21. // background: linear-gradient(270deg, #F5E6B4 0%, #F7A699 100%), linear-gradient(180deg, rgba(246, 246, 246, 0) 0%, #F6F6F6 100%);
  22. background: url('./images/music-bg.png') no-repeat top center;
  23. background-size: cover;
  24. }
  25. .bgImg {
  26. position: absolute;
  27. left: 0;
  28. top: 0;
  29. width: 100%;
  30. height: 265px;
  31. object-fit: cover;
  32. filter: blur(20px);
  33. backdrop-filter: blur(22px);
  34. -webkit-backdrop-filter: blur(20px);
  35. }
  36. .bg {
  37. position: relative;
  38. height: 100%;
  39. padding: 16px 0 0;
  40. z-index: 11;
  41. }
  42. .alumWrap {
  43. position: relative;
  44. // display: flex;
  45. // align-items: center;
  46. // flex-direction: column;
  47. // margin-bottom: 76px;
  48. .singleAlbum {
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. padding-bottom: 2px;
  53. min-height: 130px;
  54. }
  55. :global {
  56. .swiper {
  57. --swiper-theme-color: #fe2451 !important;
  58. --swiper-pagination-bottom: 0px !important;
  59. --swiper-pagination-bullet-size: 6px !important;
  60. padding-bottom: 15px;
  61. min-height: 130px;
  62. }
  63. .swiper-pagination-bullet {
  64. background-color: #fff;
  65. opacity: 1;
  66. }
  67. .swiper-pagination-bullet-active {
  68. background-color: #fe2451;
  69. }
  70. .swiper-container {
  71. width: 100%;
  72. height: 100%;
  73. }
  74. .swiper-slide {
  75. text-align: center;
  76. font-size: 18px;
  77. // background: #fff;
  78. display: -webkit-box;
  79. display: -ms-flexbox;
  80. display: -webkit-flex;
  81. display: flex;
  82. -webkit-box-pack: center;
  83. -ms-flex-pack: center;
  84. -webkit-justify-content: center;
  85. justify-content: center;
  86. -webkit-box-align: center;
  87. -ms-flex-align: center;
  88. -webkit-align-items: center;
  89. align-items: center;
  90. transition: 300ms;
  91. transform: scale(0.8) !important;
  92. width: 53%;
  93. }
  94. .swiper-slide-active,
  95. .swiper-slide-duplicate-active {
  96. transform: scale(1) !important;
  97. }
  98. }
  99. .quota {
  100. position: absolute;
  101. right: 0;
  102. top: 0;
  103. z-index: 11;
  104. font-size: 12px;
  105. font-weight: 500;
  106. color: #ffffff;
  107. background: linear-gradient(270deg, #ff7b57 0%, #ff3460 100%);
  108. border-radius: 0px 0px 0px 6px;
  109. padding: 3px 6px 2px;
  110. }
  111. .img {
  112. margin-bottom: 10px;
  113. position: relative;
  114. width: 130px;
  115. height: 130px;
  116. flex-shrink: 0;
  117. border-radius: 6px;
  118. position: relative;
  119. z-index: 9;
  120. --van-image-error-icon-size: 130px;
  121. &::after {
  122. content: '';
  123. position: absolute;
  124. bottom: -4px;
  125. left: -9px;
  126. width: 148px;
  127. height: 10px;
  128. background: url('./images/botom-shdow.png') no-repeat center;
  129. background-size: contain;
  130. z-index: 1;
  131. }
  132. :global {
  133. .van-image {
  134. position: relative;
  135. z-index: 2;
  136. &::before {
  137. content: '';
  138. position: absolute;
  139. left: 0;
  140. top: 0;
  141. bottom: 0;
  142. width: 9px;
  143. background: linear-gradient(
  144. 270deg,
  145. rgba(0, 0, 0, 0.18) 0%,
  146. rgba(255, 255, 255, 0) 100%
  147. );
  148. }
  149. }
  150. }
  151. }
  152. .iconPian {
  153. position: absolute;
  154. right: -22px;
  155. top: 8px;
  156. z-index: -1;
  157. width: 110px;
  158. height: 110px;
  159. display: flex;
  160. align-items: center;
  161. justify-content: center;
  162. background: url('./images/icon-pian.png') no-repeat center;
  163. background-size: contain;
  164. // :global {
  165. // .van-image {
  166. // width: 60px !important;
  167. // height: 60px !important;
  168. // border-radius: 50%;
  169. // overflow: hidden;
  170. // }
  171. // }
  172. }
  173. .numContent {
  174. position: absolute;
  175. right: 4px;
  176. bottom: 4px;
  177. display: flex;
  178. align-items: center;
  179. background: rgba(255, 255, 255, 0.8);
  180. border-radius: 4px;
  181. font-size: 12px;
  182. font-weight: 500;
  183. color: #000000;
  184. padding: 2px 3px;
  185. .iconMenu {
  186. margin-top: -2px;
  187. width: 10px;
  188. height: 12px;
  189. margin-right: 4px;
  190. }
  191. }
  192. .alumTitle {
  193. padding: 0 20px;
  194. padding-bottom: 8px;
  195. font-size: 16px;
  196. font-weight: 600;
  197. color: #000000;
  198. line-height: 24px;
  199. }
  200. .alumDes {
  201. width: 100%;
  202. padding-top: 10px;
  203. padding-bottom: 12px;
  204. text-align: center;
  205. min-height: 64px;
  206. .des {
  207. padding: 0 16px;
  208. font-size: 12px;
  209. color: #777;
  210. line-height: 20px;
  211. }
  212. }
  213. }
  214. .albumPriceGroup {
  215. margin: 0 13px 12px;
  216. height: 36px;
  217. background: url('./images/tip_bg.png') no-repeat center;
  218. background-size: cover;
  219. display: flex;
  220. align-items: center;
  221. justify-content: space-between;
  222. font-size: 13px;
  223. padding: 0 12px;
  224. .albumTimer {
  225. display: flex;
  226. align-items: center;
  227. font-weight: 500;
  228. color: #5e3314;
  229. line-height: 1;
  230. }
  231. .iconTimer {
  232. width: 16px;
  233. height: 16px;
  234. margin-right: 6px;
  235. }
  236. .originPrice {
  237. font-weight: 500;
  238. color: rgba(38, 38, 38, 0.4);
  239. line-height: 18px;
  240. }
  241. .currentPrice {
  242. padding: 3px 7px;
  243. border-radius: 20px;
  244. background: #262626;
  245. margin-left: 6px;
  246. display: inline-block;
  247. span {
  248. font-weight: 500;
  249. color: #ffe1ae;
  250. line-height: 18px;
  251. background: linear-gradient(180deg, #ffffff 0%, #ffc76c 100%);
  252. -webkit-background-clip: text;
  253. -webkit-text-fill-color: transparent;
  254. }
  255. }
  256. }
  257. .musicList {
  258. position: relative;
  259. z-index: 12;
  260. background-color: #fff;
  261. border-radius: 16px;
  262. min-height: 40vh; //calc(100vh - 210px - var(--header-height));
  263. --van-cell-background-color: transparent;
  264. --van-cell-font-size: 16px;
  265. --van-cell-text-color: #333;
  266. --van-cell-value-color: #999;
  267. --van-cell-icon-size: 10px;
  268. :global {
  269. .van-tabs {
  270. padding-bottom: 16px;
  271. }
  272. .van-tabs__nav {
  273. padding-left: 5px;
  274. padding-right: 5px;
  275. }
  276. .van-tab {
  277. font-size: 16px !important;
  278. margin-top: 15px;
  279. color: #999999;
  280. }
  281. .van-tab--active {
  282. font-size: 16px !important;
  283. color: #131415;
  284. font-weight: 600;
  285. }
  286. .van-tabs__line {
  287. width: 24px;
  288. height: 4px;
  289. background: linear-gradient(
  290. 90deg,
  291. #ff3c5e 0%,
  292. rgba(255, 118, 155, 0.5) 100%
  293. ) !important;
  294. border-radius: 36px 36px 0px 0px;
  295. }
  296. .van-tab--shrink {
  297. padding: 0 15px 0 15px;
  298. }
  299. .van-button--plain.van-button--primary {
  300. background-color: transparent;
  301. }
  302. .van-sticky--fixed .van-tabs {
  303. background-color: #fff;
  304. }
  305. }
  306. .alumnList {
  307. padding: 0 15px;
  308. &.alumnListCourseware {
  309. padding: 0 3px 3px;
  310. }
  311. :global {
  312. .van-empty {
  313. margin-top: -24px;
  314. }
  315. .songItem {
  316. &:first-child {
  317. padding-top: 0;
  318. }
  319. }
  320. .courseItem:nth-child(1) {
  321. margin-top: 0 !important;
  322. }
  323. .courseItem:nth-child(2) {
  324. margin-top: 0 !important;
  325. }
  326. .courseItem:nth-child(3) {
  327. margin-top: 0 !important;
  328. }
  329. }
  330. }
  331. }
  332. .btnGroup {
  333. border-top: 1px solid #f2f2f2;
  334. background-color: #fff;
  335. padding-top: 12px;
  336. padding-left: 25px;
  337. padding-right: 25px;
  338. // padding-bottom: calc(12px + env(safe-area-inset-bottom));
  339. padding-bottom: 25px;
  340. :global {
  341. .van-button {
  342. font-size: 18px;
  343. font-weight: 500;
  344. }
  345. }
  346. }