index.module.less 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  1. .creationBg{
  2. position: fixed;
  3. z-index: -1;
  4. width: 100vw;
  5. height: 100vh;
  6. top: 0;
  7. left: 0;
  8. background: url("./images/bg.png") no-repeat;
  9. background-size: cover;
  10. }
  11. .creation{
  12. :global{
  13. .van-nav-bar .van-icon{
  14. color: #ffffff;
  15. }
  16. }
  17. &.isScreenScroll{
  18. :global{
  19. .van-nav-bar .van-icon{
  20. color: #333333;
  21. }
  22. }
  23. }
  24. }
  25. .singer{
  26. text-align: center;
  27. font-weight: 400;
  28. font-size: 14px;
  29. color: rgba(255,255,255,0.7);
  30. line-height: 20px;
  31. margin-bottom: 14vh;
  32. }
  33. .playSection{
  34. height: 210px;
  35. position: relative;
  36. :global {
  37. .plyr {
  38. width: 100%;
  39. height: 100%;
  40. z-index: initial;
  41. .plyr__controls{
  42. background: initial;
  43. padding: 0 12px 2px;
  44. opacity: 1 !important;
  45. transform: translateY(0) !important;
  46. pointer-events: initial !important;
  47. .plyr__controls__item.plyr__progress__container{
  48. input[type=range]{
  49. color: #73C1FF;
  50. height: 10px;
  51. }
  52. input[type="range"]::-webkit-slider-runnable-track {
  53. height: 2px;
  54. }
  55. input[type="range"]::-webkit-slider-thumb {
  56. width: 6px;
  57. height: 6px;
  58. margin-top: -2px;
  59. box-shadow: initial;
  60. }
  61. .plyr__progress__buffer{
  62. height: 2px;
  63. color: rgba(115,193,255,0.8);
  64. background-color: #fff;
  65. margin-top: -1px;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. .videoBox{
  72. width: 100%;
  73. height: 100%;
  74. }
  75. .audioBox{
  76. width: 100%;
  77. height: 100%;
  78. background: url("./images/audioBg.png") no-repeat;
  79. background-size: 100% 100%;
  80. position: relative;
  81. .audioBga {
  82. position: absolute;
  83. left: 0;
  84. top: 0;
  85. width: 100%;
  86. height: 82%;
  87. }
  88. .audioBga1 {
  89. position: absolute;
  90. left: 0;
  91. top: 16px;
  92. width: 94px;
  93. }
  94. .audioBga2 {
  95. width: 192px;
  96. position: absolute;
  97. right: -24px;
  98. top: 0;
  99. }
  100. :global {
  101. .plyr {
  102. position: absolute;
  103. height: initial;
  104. left: 0;
  105. bottom: 0;
  106. z-index: 2;
  107. }
  108. }
  109. .audioVisualizer{
  110. position: absolute;
  111. top: 50%;
  112. left: 50%;
  113. transform: translate(-50%,-50%);
  114. width: 308px;
  115. height: 55px;
  116. }
  117. }
  118. .playLarge{
  119. position: absolute;
  120. left: 50%;
  121. top: 50%;
  122. transform: translate(-50%, -50%);
  123. width: 48px;
  124. height: 48px;
  125. background: url("./images/midPlay.png") no-repeat;
  126. background-size: 100% 100%;
  127. z-index: 12;
  128. display: none;
  129. &.playIngShow{
  130. display: initial;
  131. }
  132. }
  133. .mediaTime{
  134. position: absolute;
  135. left: 50%;
  136. transform: translateX(-50%);
  137. bottom: 56px;
  138. display: none;
  139. font-weight: 500;
  140. font-size: 14px;
  141. color: #FFFFFF;
  142. line-height: 20px;
  143. z-index: 10;
  144. & div:first-child{
  145. width: 50px;
  146. text-align: right;
  147. }
  148. .note{
  149. margin: 0 4px;
  150. }
  151. .duration{
  152. color: rgba(255,255,255,0.5);
  153. }
  154. }
  155. &.mediaTimeShow{
  156. .mediaTime{
  157. display: flex;
  158. }
  159. }
  160. .landscapeScreen{
  161. width: 26px;
  162. height: 26px;
  163. position: absolute;
  164. background: url("./images/Landscape.png") no-repeat;
  165. background-size: 100% 100%;
  166. right: 10px;
  167. top: 10px;
  168. z-index: 15;
  169. }
  170. .staffBox{
  171. width: 100%;
  172. height: calc(var(--staffBoxHeight) + 12px);
  173. position: absolute;
  174. bottom: 0;
  175. padding-bottom: 12px;
  176. visibility: hidden;
  177. background: linear-gradient( 180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  178. z-index: 1;
  179. &.staffBoxShow{
  180. visibility: initial;
  181. }
  182. .staff{
  183. width: 100%;
  184. height: 100%;
  185. padding-left: 10px;
  186. }
  187. .mask{
  188. position: absolute;
  189. z-index: 6;
  190. width: 100%;
  191. height: 100%;
  192. }
  193. }
  194. }
  195. .musicSection {
  196. width: 100%;
  197. min-height: calc(100vh - var(--barheight) - 20px - 14vh - 210px - 55px - 80px);
  198. display: flex;
  199. flex-direction: column;
  200. justify-content: flex-end;
  201. padding: 10px 12px 0;
  202. .avatarInfoBox{
  203. display: flex;
  204. justify-content: space-between;
  205. align-items: center;
  206. .avatar{
  207. display: flex;
  208. align-items: center;
  209. .userLogo{
  210. width: 44px;
  211. height: 44px;
  212. border: 1px solid #FFFFFF;
  213. margin-right: 10px;
  214. border-radius: 50%;
  215. overflow: hidden;
  216. }
  217. .infoCon{
  218. .info{
  219. display: flex;
  220. align-items: center;
  221. .userName{
  222. font-weight: 500;
  223. font-size: 16px;
  224. color: #FFFFFF;
  225. line-height: 22px;
  226. }
  227. .iconMember{
  228. margin-left: 6px;
  229. width: 14px;
  230. height: 14px;
  231. }
  232. }
  233. .sub{
  234. margin-top: 2px;
  235. font-weight: 400;
  236. font-size: 12px;
  237. color: #FFFFFF;
  238. line-height: 17px;
  239. }
  240. }
  241. }
  242. .linkes{
  243. display: flex;
  244. align-items: center;
  245. border-radius: 13px;
  246. padding: 4px 8px 3px;
  247. background-color: rgba(255,255,255,.12);
  248. font-weight: 400;
  249. font-size: 14px;
  250. color: #FFFFFF;
  251. .iconZan{
  252. width: 18px;
  253. height: 18px;
  254. margin-right: 2px;
  255. }
  256. }
  257. }
  258. .textEllipsis{
  259. margin-top: 10px;
  260. font-weight: 400;
  261. font-size: 14px;
  262. color: #FFFFFF;
  263. line-height: 20px;
  264. :global{
  265. .van-text-ellipsis__action{
  266. color: #FFFFFF;
  267. font-weight: 500;
  268. }
  269. }
  270. }
  271. }
  272. .likeSection {
  273. margin: 20px 12px;
  274. background: rgba(255,255,255,.09);
  275. border-radius: 10px;
  276. padding: 12px 12px 0 12px;
  277. .likeTitle {
  278. display: flex;
  279. align-items: center;
  280. font-size: 17px;
  281. font-weight: 600;
  282. color: #ffffff;
  283. line-height: 24px;
  284. &::before {
  285. display: inline-block;
  286. content: '';
  287. width: 4px;
  288. height: 14px;
  289. border-radius: 2px;
  290. background: linear-gradient(to bottom, #5BECFF, #259CFE);
  291. margin-right: 6px;
  292. }
  293. }
  294. .likeItem {
  295. padding: 13px 0 16px;
  296. background-color: initial;
  297. border-bottom: 1px solid rgba(242,242,242,0.12);
  298. &.likeItemLast{
  299. border-bottom: none;
  300. }
  301. .userLogo {
  302. border-radius: 50%;
  303. overflow: hidden;
  304. width: 42px;
  305. height: 42px;
  306. margin-right: 7px;
  307. }
  308. .userInfo {
  309. .name {
  310. font-size: 16px;
  311. font-weight: 500;
  312. color: #ffffff;
  313. line-height: 22px;
  314. }
  315. .sub {
  316. padding-top: 2px;
  317. font-size: 13px;
  318. color: #ffffff;
  319. line-height: 18px;
  320. }
  321. }
  322. .time {
  323. font-weight: 400;
  324. font-size: 13px;
  325. color: #FFFFFF;
  326. line-height: 18px;
  327. }
  328. }
  329. .mEmpty{
  330. padding: 0;
  331. }
  332. }
  333. .upward{
  334. padding-top: 12px;
  335. display: flex;
  336. justify-content: center;
  337. height: 55px;
  338. background: linear-gradient( 180deg, rgba(20,39,85,0) 0%, rgba(24,46,85,0.77) 44%, #1B3454 100%);
  339. > img{
  340. width: 19px;
  341. height: 15px;
  342. }
  343. }
  344. .bottomSection {
  345. display: flex;
  346. align-items: center;
  347. justify-content: space-between;
  348. padding: 0 12px 0 20px;
  349. width: 100%;
  350. height: 80px;
  351. background: #1F1F1F;
  352. box-shadow: 0px -1px 10px 0px rgba(0,0,0,0.05);
  353. .bottomShare {
  354. display: flex;
  355. align-items: center;
  356. p {
  357. display: flex;
  358. flex-direction: column;
  359. align-items: center;
  360. justify-content: center;
  361. margin-right: 28px;
  362. &:last-child{
  363. margin-right: 0;
  364. }
  365. }
  366. img {
  367. width: 18px;
  368. height: 18px;
  369. }
  370. span {
  371. margin-top: 8px;
  372. font-weight: 400;
  373. font-size: 12px;
  374. color: #ffffff;
  375. line-height: 17px;
  376. }
  377. }
  378. .btnEdit {
  379. width: 80px;
  380. height: 30px;
  381. }
  382. }
  383. .popupContainer {
  384. width: 287px;
  385. background: rgba(255,255,255,0.31);
  386. border-radius: 12px !important;
  387. border: 1px solid rgba(255,252,252,0.53);
  388. padding: 9px 8px;
  389. overflow: initial;
  390. .prompt{
  391. width: 151px;
  392. height: 32px;
  393. position: absolute;
  394. top: -7px;
  395. left: 50%;
  396. transform: translateX(-50%);
  397. }
  398. .deleteBox{
  399. background: linear-gradient( 224deg, #ECF5FF 0%, #D5E8FF 100%);
  400. border-radius: 12px;
  401. padding: 37px 0 15px;
  402. }
  403. .popupContent {
  404. text-align: center;
  405. font-weight: 400;
  406. font-size: 16px;
  407. color: #334A64;
  408. line-height: 26px;
  409. }
  410. .popupBtnGroup {
  411. margin-top: 18px;
  412. display: flex;
  413. align-items: center;
  414. justify-content: center;
  415. >img{
  416. width: 118px;
  417. height: 37px;
  418. & + img{
  419. margin-left: 11px;
  420. }
  421. }
  422. }
  423. }
  424. // 分享样式
  425. .playSection.notLoaded{
  426. :global{
  427. .plyr .plyr__controls {
  428. display: none;
  429. }
  430. }
  431. }
  432. .logoDownload{
  433. display: flex;
  434. justify-content: space-between;
  435. align-items: center;
  436. padding: 10px 13px;
  437. position: relative;
  438. &::after{
  439. content: "";
  440. position: absolute;
  441. bottom: 0;
  442. left: 13px;
  443. width: calc(100% - 26px);
  444. height: 1px;
  445. background-color: rgba(255, 255, 255, 0.5) ;
  446. }
  447. .logoImg{
  448. width: 159px;
  449. height: 29px;
  450. }
  451. .logTit{
  452. font-weight: 400;
  453. font-size: 14px;
  454. color: #FFFFFF;
  455. line-height: 20px;
  456. padding: 2px 10px;
  457. border-radius: 20px;
  458. border: 1px solid rgba(255, 255, 255, 0.5);
  459. }
  460. }
  461. .isShareScreenScroll{
  462. .logoDownload{
  463. background-color: #ffffff;
  464. .logTit{
  465. background: linear-gradient( 90deg, #44C9FF 0%, #259CFE 100%);
  466. border: none;
  467. padding: 3px 11px;
  468. }
  469. }
  470. }
  471. .singerBox{
  472. height: 20vh;
  473. display: flex;
  474. flex-direction: column;
  475. justify-content: end;
  476. .musicSheetName{
  477. text-align: center;
  478. font-weight: 600;
  479. font-size: 20px;
  480. color: #FFFFFF;
  481. line-height: 28px;
  482. margin-bottom: 10px;
  483. }
  484. .singerName{
  485. text-align: center;
  486. font-weight: 400;
  487. font-size: 14px;
  488. color: rgba(255,255,255,0.7);
  489. line-height: 20px;
  490. margin-bottom: 10px;
  491. }
  492. }
  493. .musicShareSection{
  494. min-height: calc(100vh - var(--barheight) - 20vh - 210px - 55px);
  495. }
  496. .likeShareItem{
  497. background-color: initial;
  498. padding: 0;
  499. margin-top: 25px;
  500. &:first-child{
  501. margin-top: 20px;
  502. }
  503. &.likeShareItemLast{
  504. padding-bottom: 20px;
  505. }
  506. .audioImgBox{
  507. position: relative;
  508. width: 51px;
  509. height: 51px;
  510. margin-right: 14px;
  511. .audioPan{
  512. position: absolute;
  513. width: 100%;
  514. height: 100%;
  515. right: -6px;
  516. top: 0;
  517. }
  518. .muploader{
  519. position: relative;
  520. z-index: 1;
  521. width: 100%;
  522. height: 100%;
  523. border-radius: 8px;
  524. }
  525. .imgLabel{
  526. position: absolute;
  527. right: 0;
  528. top: 0;
  529. width: 28px;
  530. height: 14px;
  531. z-index: 10;
  532. }
  533. }
  534. .userInfo{
  535. .musicSheetName{
  536. font-weight: 600;
  537. font-size: 16px;
  538. color: #FFFFFF;
  539. line-height: 22px;
  540. width: 200px;
  541. }
  542. .usernameCon{
  543. display: flex;
  544. align-items: center;
  545. margin-top: 6px;
  546. .likeNum{
  547. display: flex;
  548. align-items: center;
  549. border-radius: 3px;
  550. background-color: rgba(255,255,255,.22);
  551. padding: 1px 2px 1px 1px;
  552. img{
  553. width: 14px;
  554. height: 15px;
  555. }
  556. span{
  557. font-weight: 400;
  558. font-size: 10px;
  559. color: #FFFFFF;
  560. line-height: 1;
  561. margin-left: 2px;
  562. }
  563. }
  564. .username{
  565. margin-left: 4px;
  566. font-weight: 400;
  567. font-size: 13px;
  568. color: #DEDEDE;
  569. line-height: 13px;
  570. }
  571. }
  572. }
  573. :global{
  574. .van-cell__value{
  575. display: flex;
  576. align-items: center;
  577. justify-content: end;
  578. }
  579. }
  580. .playImg{
  581. width: 20px;
  582. height: 20px;
  583. }
  584. }
  585. .isEmpty{
  586. height: calc(100vh - var(--barheight));
  587. display: flex;
  588. align-items: center;
  589. }
  590. // 平板样式
  591. .creationTablet{
  592. }