index.module.less 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. .base>div {
  2. background: url(./header-bg.png) no-repeat top center;
  3. // background-attachment: fixed;
  4. }
  5. .detail {
  6. overflow: hidden;
  7. --van-nav-bar-background-color: transparent;
  8. --van-nav-bar-icon-color: #fff;
  9. --van-nav-bar-text-color: #fff;
  10. --van-nav-bar-title-text-color: #fff;
  11. // color: #4a5464
  12. --plyr-color-main: var(--van-primary);
  13. --plyr-control-icon-size: 12px;
  14. :global {
  15. .plyr__controls .plyr__controls__item:first-child {
  16. background-color: var(--van-primary);
  17. color: #fff;
  18. border-radius: 50%;
  19. }
  20. }
  21. }
  22. .base {
  23. :global(.van-sticky--fixed) {
  24. box-shadow: 10px 10px 10px var(--box-shadow-color);
  25. }
  26. }
  27. .shareBtn {
  28. display: flex;
  29. align-items: flex-start;
  30. color: #fff;
  31. font-size: 14px;
  32. line-height: 20px !important;
  33. :global(.van-image) {
  34. width: 18px;
  35. height: 18px;
  36. margin-right: 6px;
  37. }
  38. }
  39. .bgImg {
  40. position: absolute;
  41. left: 0;
  42. top: 0;
  43. width: 100%;
  44. height: 265px;
  45. object-fit: cover;
  46. filter: blur(10px);
  47. }
  48. .bgContent {
  49. position: absolute;
  50. top: 0;
  51. height: 265px;
  52. width: 100%;
  53. background-color: rgba(0, 0, 0, 0.5);
  54. backdrop-filter: blur(20px);
  55. -webkit-backdrop-filter: blur(20px);
  56. }
  57. .musicContent {
  58. position: relative;
  59. width: 100%;
  60. height: 500px;
  61. overflow: hidden;
  62. &::after {
  63. content: ' ';
  64. position: absolute;
  65. bottom: 0;
  66. left: 0;
  67. right: 0;
  68. background: linear-gradient(180deg,
  69. rgba(255, 255, 255, 0) 0%,
  70. #ffffff 100%);
  71. height: 287px;
  72. }
  73. .musicTitle {
  74. text-align: center;
  75. font-size: 16px;
  76. }
  77. .musicImg {
  78. width: 100%;
  79. img {
  80. width: 100%;
  81. }
  82. }
  83. .finch {
  84. width: 150px;
  85. margin: 80px auto 0;
  86. }
  87. .finchLoad {
  88. text-align: center;
  89. color: #333;
  90. font-size: 15px;
  91. margin-top: 4px;
  92. }
  93. :global {
  94. iframe {
  95. // visibility: hidden;
  96. border: none;
  97. width: 100%;
  98. height: 500px;
  99. overflow: hidden;
  100. body {
  101. ::-webkit-scrollbar-thumb {
  102. background-color: #efeff0;
  103. border: 1px solid transparent;
  104. background-clip: padding-box;
  105. border-radius: 5px;
  106. }
  107. }
  108. }
  109. }
  110. }
  111. .collectCell {
  112. margin: 10px 16px 0;
  113. background: #ffffff;
  114. border-radius: 10px;
  115. box-shadow: 0px 0px 6px 0px rgba(229, 229, 229, 0.7);
  116. overflow: hidden;
  117. }
  118. .videoOperation {
  119. position: absolute;
  120. left: 0;
  121. right: 0;
  122. bottom: 5px;
  123. z-index: 1;
  124. }
  125. .audition {
  126. display: flex;
  127. align-items: center;
  128. margin: 10px 16px 0;
  129. background: linear-gradient(180deg, #fff0d9 0%, #ffdfb8 100%);
  130. border-radius: 16px;
  131. padding: 7px 12px;
  132. font-size: 12px;
  133. font-weight: 600;
  134. color: #ff731d;
  135. height: 18px;
  136. img {
  137. margin-top: -2px;
  138. width: 21px;
  139. height: 15px;
  140. margin-right: 11px;
  141. }
  142. }
  143. .collect {
  144. display: flex;
  145. align-items: center;
  146. justify-content: space-between;
  147. padding: 11px;
  148. font-size: 14px;
  149. color: #666666;
  150. .userInfo {
  151. display: flex;
  152. align-items: center;
  153. padding: 3px 6px;
  154. background: #d5f3ee;
  155. border-radius: 16px;
  156. img {
  157. width: 26px;
  158. height: 26px;
  159. border-radius: 50%;
  160. }
  161. span {
  162. padding-left: 8px;
  163. max-width: 60px;
  164. white-space: nowrap;
  165. overflow: hidden;
  166. text-overflow: ellipsis;
  167. color: #2dc7aa;
  168. }
  169. }
  170. .collectSection {
  171. display: flex;
  172. align-items: center;
  173. img {
  174. margin-top: -2px;
  175. margin-left: 5px;
  176. width: 18px;
  177. height: 18px;
  178. }
  179. :global {
  180. .van-icon {
  181. font-size: 20px;
  182. margin-top: -2px;
  183. margin-left: 5px;
  184. color: var(--van-primary);
  185. }
  186. }
  187. &:first-child {
  188. margin-right: 14px;
  189. }
  190. }
  191. }
  192. .lookAlbum {
  193. padding: 17px 20px;
  194. margin-bottom: 15px;
  195. font-size: 14px;
  196. color: #333333;
  197. line-height: 20px;
  198. display: flex;
  199. align-items: center;
  200. justify-content: space-between;
  201. &>div {
  202. display: flex;
  203. align-items: center;
  204. line-height: 1;
  205. img {
  206. width: 20px;
  207. height: 20px;
  208. margin-right: 10px;
  209. }
  210. }
  211. }
  212. .bg {
  213. position: relative;
  214. height: 100%;
  215. padding: 16px;
  216. z-index: 11;
  217. }
  218. .musicContainer {
  219. position: relative;
  220. // padding: 16px 0 0;
  221. z-index: 12;
  222. border-radius: 18px 18px 0 0;
  223. background-color: #fff;
  224. overflow-y: auto;
  225. }
  226. .shareMate {
  227. position: relative;
  228. margin-top: 50px;
  229. display: flex;
  230. flex: 1;
  231. align-items: center;
  232. padding: 11px 12px;
  233. background: #ffffff;
  234. border-radius: 10px;
  235. // border: 1px solid #2dc7aa;
  236. .icon {
  237. width: 36px;
  238. height: 36px;
  239. border-radius: 10px;
  240. }
  241. .info {
  242. margin-left: 14px;
  243. flex: 1;
  244. margin-right: 14px;
  245. word-break: break-all;
  246. >h4 {
  247. color: var(--music-list-item-title-color);
  248. font-size: 14px;
  249. font-weight: 600;
  250. width: 200px;
  251. }
  252. >p {
  253. color: var(--music-list-item-mate-color);
  254. line-height: 17px;
  255. }
  256. }
  257. .tagDiscount {
  258. position: absolute;
  259. top: -26px;
  260. left: 15px;
  261. padding: 2px 10px 1px;
  262. height: 23px;
  263. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  264. border-radius: 8px 8px 0px 0px;
  265. font-size: 14px;
  266. font-weight: 600;
  267. color: #ffffff;
  268. line-height: 20px;
  269. }
  270. }
  271. .shareVip {
  272. position: relative;
  273. margin-top: 35px;
  274. display: flex;
  275. flex: 1;
  276. align-items: center;
  277. padding: 7px;
  278. background: #ffffff;
  279. border-radius: 10px;
  280. .icon {
  281. width: 72px;
  282. height: 72px;
  283. border-radius: 10px;
  284. }
  285. .info {
  286. margin-left: 6px;
  287. flex: 1;
  288. word-break: break-all;
  289. >h4 {
  290. color: var(--music-list-item-title-color);
  291. font-size: 16px;
  292. font-weight: 600;
  293. }
  294. >p {
  295. color: var(--music-list-item-mate-color);
  296. line-height: 17px;
  297. }
  298. }
  299. }
  300. .tagDiscount {
  301. position: absolute;
  302. top: -23px;
  303. left: 15px;
  304. padding: 0 10px;
  305. height: 23px;
  306. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  307. border-radius: 8px 8px 0px 0px;
  308. font-size: 14px;
  309. font-weight: 600;
  310. color: #ffffff;
  311. line-height: 24px;
  312. }
  313. .buttonDiscount {
  314. position: absolute;
  315. top: -18px;
  316. right: 15px;
  317. padding: 0 5px;
  318. height: 18px;
  319. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  320. border-radius: 8px 8px 0px 0px;
  321. font-size: 12px;
  322. font-weight: 600;
  323. color: #ffffff;
  324. line-height: 20px;
  325. }
  326. .pImg {
  327. width: 46px;
  328. height: 46px;
  329. border-radius: 10px;
  330. overflow: hidden;
  331. flex-shrink: 0;
  332. }
  333. .musicInfo {
  334. padding-top: 23px !important;
  335. padding-bottom: 23px !important;
  336. margin-bottom: 10px;
  337. .coomposer {
  338. padding-top: 2px;
  339. padding-left: 6px;
  340. max-width: 120px;
  341. white-space: nowrap;
  342. overflow: hidden;
  343. text-overflow: ellipsis;
  344. }
  345. .tag {
  346. flex-shrink: 0;
  347. padding: 2px 4px 0;
  348. border-radius: 4px;
  349. &+.tag {
  350. margin-left: 5px;
  351. }
  352. }
  353. .info {
  354. margin-left: 14px;
  355. flex: 1;
  356. margin-right: 14px;
  357. word-break: break-all;
  358. >h4 {
  359. font-size: 16px;
  360. font-weight: bold;
  361. color: #1a1a1a;
  362. width: 160px;
  363. padding-bottom: 3px;
  364. }
  365. >p {
  366. font-size: 12px;
  367. color: #999;
  368. line-height: 17px;
  369. }
  370. }
  371. .download {
  372. display: flex;
  373. flex-direction: column;
  374. justify-content: center;
  375. align-items: center;
  376. font-size: 12px;
  377. img {
  378. height: 24px;
  379. width: 24px;
  380. }
  381. .iconExchange {
  382. display: flex;
  383. align-items: center;
  384. justify-content: center;
  385. background: rgba(246, 246, 246, 1);
  386. border-radius: 50%;
  387. font-size: 16px;
  388. width: 24px;
  389. height: 24px;
  390. }
  391. }
  392. .exquisiteFlag {
  393. width: 14px;
  394. margin-left: 5px;
  395. flex-shrink: 0;
  396. }
  397. .songAlbum {
  398. width: 15px;
  399. height: 15px;
  400. margin-left: 5px;
  401. flex-shrink: 0;
  402. }
  403. :global {
  404. .van-cell__value {
  405. display: flex;
  406. justify-content: space-around;
  407. }
  408. }
  409. }
  410. .colSticky {
  411. display: flex;
  412. align-items: center;
  413. justify-content: space-between;
  414. // height: 45px;
  415. .priceSection {
  416. font-size: 14px;
  417. font-weight: 400;
  418. color: #999999;
  419. .price {
  420. font-size: 22px;
  421. font-weight: bold;
  422. color: #ff4e19;
  423. i {
  424. font-style: normal;
  425. font-size: 16px;
  426. }
  427. }
  428. }
  429. }
  430. .buyBtn {
  431. --van-button-default-height: 42px;
  432. flex: 1;
  433. display: flex;
  434. align-items: center;
  435. justify-content: flex-end;
  436. :global {
  437. .van-button {
  438. padding: 0 22px;
  439. font-weight: 600;
  440. &+.van-button {
  441. margin-left: 12px;
  442. }
  443. }
  444. }
  445. .primry {
  446. box-shadow: 0px 2px 7px 0px rgba(45, 199, 170, 0.25);
  447. }
  448. .member {
  449. box-shadow: 0px 2px 7px 0px rgba(187, 156, 83, 0.25);
  450. }
  451. }
  452. .functionSection {
  453. display: flex;
  454. }
  455. .empty {
  456. margin: 0 auto;
  457. font-size: 14px;
  458. color: #999999;
  459. line-height: 20px;
  460. text-align: center;
  461. padding-top: 60px;
  462. .emptyImg {
  463. width: 172px;
  464. }
  465. }
  466. .staffContainer {
  467. // text-align: center;
  468. padding: 15px 15px 24px;
  469. .staffTitle {
  470. padding-bottom: 25px;
  471. font-size: 16px;
  472. color: #1a1a1a;
  473. line-height: 22px;
  474. }
  475. .staffImg {
  476. width: 32px;
  477. height: 20px;
  478. }
  479. .name {
  480. padding-left: 17px;
  481. font-size: 13px;
  482. font-weight: 500;
  483. color: #333333;
  484. }
  485. .boxStyle {
  486. background: transparent !important;
  487. width: 15px;
  488. height: 15px;
  489. border: transparent !important;
  490. }
  491. .active {
  492. background: #f7f8f9;
  493. border-radius: 8px;
  494. .name {
  495. color: #2dc7aa;
  496. }
  497. }
  498. :global {
  499. .van-cell {
  500. padding: 9px 16px 9px;
  501. margin-bottom: 6px;
  502. &:hover,
  503. &:active,
  504. &.active {
  505. background: #f7f8f9;
  506. border-radius: 8px;
  507. .name {
  508. color: #2dc7aa;
  509. }
  510. }
  511. &:last-child {
  512. margin-bottom: 0;
  513. }
  514. }
  515. .van-cell__value {
  516. display: flex;
  517. justify-content: flex-end;
  518. }
  519. .van-checkbox {
  520. overflow: inherit;
  521. height: 18px;
  522. display: flex;
  523. align-items: center;
  524. justify-content: flex-end;
  525. }
  526. .van-checkbox__icon {
  527. height: 15px;
  528. line-height: 15px;
  529. display: inline-block;
  530. vertical-align: middle;
  531. }
  532. .van-checkbox__label {
  533. line-height: 15px;
  534. }
  535. }
  536. }