new-index.module.less 10 KB

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