index.module.less 6.6 KB

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