index.module.less 8.3 KB

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