index.module.less 9.6 KB

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