index.module.less 10.0 KB

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