index.module.less 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. .playSection {
  2. min-height: 175px;
  3. :global {
  4. .vjs-poster {
  5. background-size: cover;
  6. }
  7. .video-js .vjs-progress-control:hover .vjs-progress-holder {
  8. font-size: inherit !important;
  9. }
  10. .video-js .vjs-slider:focus {
  11. box-shadow: none !important;
  12. text-shadow: none !important;
  13. }
  14. }
  15. }
  16. @keyframes rotateImg {
  17. 100% {
  18. transform: rotate(360deg);
  19. }
  20. }
  21. .audioSection {
  22. position: relative;
  23. background: url('./images/audio-banner-bg.png') no-repeat top center;
  24. background-size: cover;
  25. height: 175px;
  26. .audioContainer {
  27. position: absolute;
  28. top: 0;
  29. left: 50%;
  30. width: 196px;
  31. height: 35px;
  32. transform: translate(-50%, 60px);
  33. .waveActive,
  34. .waveDefault {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. .waveDefault {
  39. position: absolute;
  40. top: 0;
  41. left: 0;
  42. background: url('./images/wave-1.png')no-repeat center left;
  43. background-size: cover;
  44. }
  45. .waveActive {
  46. position: absolute;
  47. top: 0;
  48. left: 0;
  49. z-index: 1;
  50. background: url('./images/wave-2.png')no-repeat center left;
  51. background-size: cover;
  52. }
  53. }
  54. .audioBox {
  55. position: absolute;
  56. left: 50%;
  57. transform: translate(-50%, 50%);
  58. z-index: 2;
  59. width: 74px;
  60. height: 75px;
  61. background: url('./images/audio-bg.png') no-repeat center;
  62. background-size: contain;
  63. // &::after {
  64. // content: '';
  65. // width: 134px;
  66. // height: 73px;
  67. // position: absolute;
  68. // left: 50%;
  69. // transform: translate(-50%, 50%);
  70. // background: url('./images/audio-shadow.png') no-repeat center;
  71. // background-size: contain;
  72. // z-index: -1;
  73. // }
  74. .audioPan {
  75. position: absolute;
  76. left: 8px;
  77. top: 6px;
  78. z-index: 8;
  79. width: 59px;
  80. height: 60px;
  81. background: url('./images/audio-pan.png') no-repeat center;
  82. background-size: contain;
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. animation: rotateImg 6s linear infinite;
  87. &.imgRotate {
  88. animation-play-state: paused;
  89. }
  90. }
  91. .audioImg {
  92. width: 32px;
  93. height: 32px;
  94. border-radius: 50%;
  95. overflow: hidden;
  96. }
  97. .audioPoint {
  98. position: absolute;
  99. z-index: 9;
  100. left: 50%;
  101. top: 50%;
  102. transform: translate(-50%, -50%);
  103. width: 8px;
  104. height: 8px;
  105. background: url('./images/audio-point.png') no-repeat center;
  106. background-size: contain;
  107. }
  108. .audioZhen {
  109. position: absolute;
  110. z-index: 9;
  111. right: -4px;
  112. top: -33px;
  113. width: 26px;
  114. height: 87px;
  115. background: url('./images/audio-zhen.png') no-repeat center;
  116. background-size: contain;
  117. transition: transform .5s ease-in-out;
  118. &.active {
  119. transform: rotate(92deg) translate3d(0, 0, 3px);
  120. transition: transform .5s ease-in-out;
  121. }
  122. }
  123. }
  124. }
  125. .controls {
  126. position: absolute;
  127. left: 0;
  128. bottom: 0;
  129. right: 0;
  130. height: 44px;
  131. display: flex;
  132. flex-direction: column;
  133. justify-content: space-between;
  134. flex-direction: row;
  135. transition: all 0.5s;
  136. padding: 0 12px;
  137. &>div {
  138. display: flex;
  139. align-items: center;
  140. }
  141. &.hide {
  142. transform: translateY(100%);
  143. }
  144. .actionBtn {
  145. line-height: 0;
  146. margin-right: 4px;
  147. img {
  148. width: 14px;
  149. height: 14px;
  150. margin-bottom: -2px;
  151. }
  152. }
  153. .time {
  154. display: flex;
  155. justify-content: space-between;
  156. flex: 1;
  157. min-width: 86px;
  158. font-size: 12px;
  159. color: #131415;
  160. line-height: 20px;
  161. span {
  162. font-size: 12px;
  163. padding: 0 1px;
  164. }
  165. }
  166. .slider {
  167. width: 100%;
  168. margin: 0 12px;
  169. --van-slider-bar-height: 4px;
  170. --van-slider-button-width: 13px !important;
  171. --van-slider-button-height: 13px !important;
  172. --van-slider-inactive-background: #fff;
  173. --van-slider-inactive-background-color: #fff;
  174. --van-slider-active-background: #2DC7AA !important;
  175. :global {
  176. .van-loading {
  177. width: 100%;
  178. height: 100%;
  179. }
  180. }
  181. }
  182. }
  183. .userSection {
  184. padding: 15px 12px !important;
  185. background-color: transparent !important;
  186. .userLogo {
  187. width: 44px;
  188. height: 44px;
  189. border: 1px solid #FFFFFF;
  190. margin-right: 10px;
  191. border-radius: 50%;
  192. overflow: hidden;
  193. }
  194. .userInfo {
  195. .name {
  196. display: flex;
  197. align-items: center;
  198. font-size: 16px;
  199. font-weight: 500;
  200. color: #333333;
  201. line-height: 22px;
  202. span {
  203. display: inline-block;
  204. white-space: nowrap;
  205. overflow: hidden;
  206. text-overflow: ellipsis;
  207. max-width: 100px;
  208. }
  209. }
  210. .sub {
  211. padding-top: 2px;
  212. font-size: 12px;
  213. color: #777777;
  214. line-height: 17px;
  215. }
  216. .iconMember {
  217. margin-left: 6px;
  218. width: 14px;
  219. height: 14px;
  220. }
  221. }
  222. .zan {
  223. background: #FFFFFF;
  224. border-radius: 13px;
  225. font-size: 14px;
  226. color: #777777;
  227. line-height: 20px;
  228. padding: 4px 9px 3px;
  229. display: inline-flex;
  230. align-items: center;
  231. &.zanActive {
  232. background: #F7EEEE;
  233. color: #FF6A6A;
  234. }
  235. .iconZan {
  236. width: 18px;
  237. height: 18px;
  238. margin-right: 2px;
  239. }
  240. }
  241. }
  242. .musicSection {
  243. margin: 0 13px 12px;
  244. padding: 14px 12px;
  245. background: #FFFFFF;
  246. border-radius: 10px;
  247. .musicName {
  248. font-size: 15px;
  249. font-weight: 500;
  250. color: #333333;
  251. line-height: 21px;
  252. // display: flex;
  253. // align-items: center;
  254. overflow: hidden;
  255. text-overflow: ellipsis;
  256. white-space: nowrap;
  257. max-width: 100%;
  258. .musicTag {
  259. margin-right: 6px;
  260. padding: 1px 6px;
  261. font-size: 12px;
  262. color: #FF7B31;
  263. line-height: 17px;
  264. background: rgba(255, 166, 115, 0.07);
  265. border-radius: 9px;
  266. border: 1px solid #FFBF9A;
  267. font-weight: 400;
  268. vertical-align: text-bottom;
  269. display: inline-block;
  270. }
  271. }
  272. .musicDesc {
  273. padding-top: 8px;
  274. font-size: 14px;
  275. color: #777777;
  276. line-height: 20px;
  277. }
  278. }
  279. .likeSection {
  280. margin: 0 13px 12px;
  281. background: #FFFFFF;
  282. border-radius: 10px;
  283. padding: 10px 12px;
  284. .likeTitle {
  285. display: flex;
  286. align-items: center;
  287. font-size: 17px;
  288. font-weight: 600;
  289. color: #333333;
  290. line-height: 24px;
  291. padding-bottom: 8px;
  292. &::before {
  293. display: inline-block;
  294. content: '';
  295. width: 4px;
  296. height: 14px;
  297. border-radius: 2px;
  298. background: linear-gradient(to bottom, #59E5D5, #2DC7AA);
  299. margin-right: 6px;
  300. }
  301. }
  302. }
  303. .likeItem {
  304. padding: 16px 0;
  305. .userLogo {
  306. border-radius: 50%;
  307. overflow: hidden;
  308. width: 42px;
  309. height: 42px;
  310. margin-right: 7px;
  311. }
  312. .userInfo {
  313. .name {
  314. font-size: 16px;
  315. font-weight: 500;
  316. color: #333333;
  317. line-height: 22px;
  318. }
  319. .sub {
  320. padding-top: 2px;
  321. font-size: 13px;
  322. color: #777777;
  323. line-height: 18px;
  324. }
  325. }
  326. .time {
  327. font-size: 13px;
  328. color: #777777;
  329. line-height: 18px;
  330. }
  331. }
  332. .bottomSection {
  333. display: flex;
  334. align-items: center;
  335. justify-content: space-between;
  336. background-color: #fff;
  337. padding: 15px 12px;
  338. .bottomShare {
  339. display: flex;
  340. align-items: center;
  341. p {
  342. padding: 0 15px;
  343. text-align: center;
  344. line-height: 0;
  345. &:first-child {
  346. padding-left: 5px;
  347. }
  348. }
  349. img {
  350. width: 18px;
  351. height: 18px;
  352. }
  353. span {
  354. padding-top: 8px;
  355. font-size: 12px;
  356. color: #333333;
  357. line-height: 17px;
  358. display: block;
  359. }
  360. }
  361. .btnEdit {
  362. font-size: 14px;
  363. font-weight: 500;
  364. background: #2DC7AA;
  365. color: #FFFFFF;
  366. line-height: 22px;
  367. min-width: 80px;
  368. height: 30px;
  369. border: none;
  370. }
  371. }
  372. .popupContainer {
  373. width: 80%;
  374. .popupContent {
  375. padding: 29px 0 25px;
  376. text-align: center;
  377. font-size: 18px;
  378. font-weight: 500;
  379. color: #333333;
  380. line-height: 25px;
  381. }
  382. .popupBtnGroup {
  383. text-align: center;
  384. margin-bottom: 22px;
  385. :global {
  386. .van-button {
  387. height: 40px;
  388. font-size: 16px;
  389. font-weight: 400 !important;
  390. line-height: 22px;
  391. min-width: 122px;
  392. &:last-child {
  393. margin-left: 10px;
  394. background: #2DC7AA;
  395. border: none;
  396. }
  397. }
  398. }
  399. }
  400. }
  401. .cellGroup {
  402. display: flex;
  403. flex-wrap: wrap;
  404. }
  405. .cell {
  406. // display: flex;
  407. // flex-direction: column;
  408. width: 96px;
  409. margin-right: 18px;
  410. margin-bottom: 18px;
  411. &:nth-child(3n + 3) {
  412. margin-right: 0;
  413. }
  414. .cellImg {
  415. position: relative;
  416. &::before {
  417. content: '';
  418. position: absolute;
  419. right: -6px;
  420. top: 3px;
  421. z-index: 8;
  422. width: 84px;
  423. height: 84px;
  424. background: url('./images/audio-pan.png') no-repeat center;
  425. background-size: contain;
  426. display: flex;
  427. align-items: center;
  428. justify-content: center;
  429. }
  430. .iconZan {
  431. position: absolute;
  432. bottom: 4px;
  433. left: 4px;
  434. z-index: 10;
  435. padding: 3px;
  436. background: rgba(67, 67, 67, 0.3);
  437. border-radius: 8px;
  438. backdrop-filter: blur(4px);
  439. font-size: 9px;
  440. font-weight: 500;
  441. color: #FFFFFF;
  442. line-height: 13px;
  443. display: flex;
  444. align-items: center;
  445. &::before {
  446. content: '';
  447. display: inline-block;
  448. width: 12px;
  449. height: 12px;
  450. background: url('./images/icon-z.png') no-repeat center;
  451. background-size: contain;
  452. }
  453. }
  454. }
  455. .cellImage {
  456. position: relative;
  457. width: 88px;
  458. height: 88px;
  459. border-radius: 12px;
  460. z-index: 9;
  461. :global {
  462. img {
  463. border-radius: 12px;
  464. }
  465. }
  466. }
  467. .cellTitle {
  468. font-size: 13px;
  469. color: #131415;
  470. line-height: 18px;
  471. margin: 8px 0 6px;
  472. }
  473. .users {
  474. display: flex;
  475. align-items: center;
  476. .userImg {
  477. width: 20px;
  478. height: 20px;
  479. border-radius: 50%;
  480. overflow: hidden;
  481. margin-right: 4px;
  482. flex-shrink: 0;
  483. }
  484. .name {
  485. font-size: 12px;
  486. color: #402424;
  487. line-height: 14px;
  488. }
  489. }
  490. }