index.module.less 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. .base > div {
  2. background: url(./header-bg.png) no-repeat top center;
  3. // background-attachment: fixed;
  4. }
  5. .detail {
  6. overflow: hidden;
  7. --van-nav-bar-background-color: transparent;
  8. --van-nav-bar-icon-color: #fff;
  9. --van-nav-bar-text-color: #fff;
  10. --van-nav-bar-title-text-color: #fff;
  11. }
  12. .base {
  13. :global(.van-sticky--fixed) {
  14. box-shadow: 10px 10px 10px var(--box-shadow-color);
  15. }
  16. }
  17. .img {
  18. width: 94px;
  19. height: 94px;
  20. margin-right: 18px;
  21. position: relative;
  22. > img,
  23. > div {
  24. position: absolute;
  25. border-radius: 10px;
  26. overflow: hidden;
  27. }
  28. &::before {
  29. content: '';
  30. width: 80px;
  31. height: 80px;
  32. border-radius: 9px;
  33. background-color: var(--music-list-item-background-color);
  34. box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.08);
  35. position: absolute;
  36. right: -6px;
  37. top: 8px;
  38. }
  39. .albumType {
  40. position: absolute;
  41. left: 0;
  42. top: 0;
  43. background: linear-gradient(180deg, #ff8900 0%, #ff5100 100%);
  44. box-shadow: 0px 1px 2px 0px rgba(150, 13, 0, 0.11);
  45. border-radius: 10px 0px 10px 0px;
  46. font-size: 12px;
  47. padding: 0 6px;
  48. line-height: 20px;
  49. color: #ffffff;
  50. z-index: 9;
  51. }
  52. }
  53. .shareBtn {
  54. display: flex;
  55. align-items: flex-start;
  56. color: #fff;
  57. font-size: 14px;
  58. line-height: 20px !important;
  59. :global(.van-image) {
  60. width: 18px;
  61. height: 18px;
  62. margin-right: 6px;
  63. }
  64. }
  65. .detailContent {
  66. background-color: white;
  67. padding: 0 14px;
  68. border-radius: 17px 17px 0px 0px;
  69. .main {
  70. padding-top: 24px;
  71. padding-bottom: 20px;
  72. display: flex;
  73. }
  74. .favoriteContaineer {
  75. border: none;
  76. color: var(--music-list-item-mate-color);
  77. height: auto;
  78. :global(.van-button__text) {
  79. display: flex;
  80. align-items: center;
  81. span {
  82. line-height: 1;
  83. padding-top: 2px;
  84. }
  85. }
  86. > span {
  87. display: inline-block;
  88. line-height: 16px;
  89. margin-top: 1px;
  90. }
  91. }
  92. .favorite {
  93. font-size: 16px;
  94. margin-right: 5px;
  95. }
  96. .content {
  97. flex: 1;
  98. display: inline-grid;
  99. > h4 {
  100. color: var(--music-list-item-title-color);
  101. font-size: 14px;
  102. height: 20px;
  103. line-height: 20px;
  104. margin-top: 7px;
  105. // word-break: break-all;
  106. // text-overflow: ellipsis;
  107. }
  108. > p {
  109. margin-top: 6px;
  110. /* prettier-ignore */
  111. font-size: 12PX;
  112. color: var(--music-list-item-desc-color);
  113. /* prettier-ignore */
  114. line-height: 17PX;
  115. /* prettier-ignore */
  116. height: 51PX;
  117. }
  118. }
  119. }
  120. .footerBar {
  121. padding: 12px 0;
  122. display: flex;
  123. justify-content: space-between;
  124. > footer {
  125. margin-top: 0;
  126. }
  127. }
  128. .bgImg {
  129. position: absolute;
  130. left: 0;
  131. top: 0;
  132. width: 100%;
  133. height: 265px;
  134. object-fit: cover;
  135. filter: blur(10px);
  136. }
  137. .musicContent {
  138. position: absolute;
  139. top: 0;
  140. height: 265px;
  141. width: 100%;
  142. padding-top: 55px;
  143. z-index: 10;
  144. background-color: rgba(0, 0, 0, 0.6);
  145. backdrop-filter: blur(20px);
  146. -webkit-backdrop-filter: blur(20px);
  147. }
  148. .bg {
  149. position: relative;
  150. height: 100%;
  151. padding: 16px;
  152. z-index: 11;
  153. }
  154. .alumWrap {
  155. display: flex;
  156. align-items: center;
  157. .img {
  158. width: 115px;
  159. height: 115px;
  160. flex-shrink: 0;
  161. border-radius: 6px;
  162. overflow: hidden;
  163. margin-right: 14px;
  164. }
  165. .alumTitle {
  166. font-size: 18px;
  167. font-weight: 500;
  168. color: #fff;
  169. padding-bottom: 8px;
  170. }
  171. .alumDes {
  172. width: calc(100% - 129px);
  173. .des {
  174. color: #999;
  175. }
  176. }
  177. }
  178. .tags {
  179. margin: 6px -2px 22px -2px;
  180. .tag {
  181. margin: 0 2px;
  182. padding: 2px 6px;
  183. color: #000;
  184. background-color: rgba(113, 138, 147, 1);
  185. border-radius: 20px;
  186. }
  187. }
  188. .alumCollect {
  189. display: flex;
  190. align-items: center;
  191. padding-top: 20px;
  192. color: #999;
  193. font-size: 14px;
  194. img {
  195. display: inline-block;
  196. width: 14px;
  197. height: 14px;
  198. margin-right: 6px;
  199. }
  200. span {
  201. padding-top: 1px;
  202. }
  203. .right {
  204. display: flex;
  205. align-items: center;
  206. margin-left: 26px;
  207. }
  208. }
  209. .albumTips {
  210. background: rgba(0, 0, 0, 0.32);
  211. border-radius: 16px;
  212. // opacity: 0.32;
  213. padding: 8px 12px 6px 10px;
  214. margin-top: 12px;
  215. font-size: 12px;
  216. // line-height: 17px;
  217. color: #999999;
  218. display: flex;
  219. justify-content: space-between;
  220. .albumPrice {
  221. font-size: 14px;
  222. font-weight: bold;
  223. color: #ffaa00;
  224. }
  225. }
  226. .alumnContainer {
  227. position: relative;
  228. padding: 0 16px;
  229. // margin-top: -16px;
  230. z-index: 12;
  231. .alumnList {
  232. padding: 0 12px;
  233. border-radius: 18px;
  234. background-color: #fff;
  235. margin-bottom: 16px;
  236. }
  237. }
  238. .shareVip {
  239. position: relative;
  240. margin-top: 35px;
  241. display: flex;
  242. flex: 1;
  243. align-items: center;
  244. padding: 7px;
  245. background: #ffffff;
  246. border-radius: 10px;
  247. .icon {
  248. width: 72px;
  249. height: 72px;
  250. border-radius: 10px;
  251. }
  252. .info {
  253. display: flex;
  254. flex-direction: column;
  255. margin-left: 6px;
  256. flex: 1;
  257. word-break: break-all;
  258. > h4 {
  259. color: var(--music-list-item-title-color);
  260. font-size: 16px;
  261. font-weight: 600;
  262. }
  263. > p {
  264. color: var(--music-list-item-mate-color);
  265. line-height: 17px;
  266. }
  267. }
  268. .shareAlumCollect{
  269. display: flex;
  270. align-items: center;
  271. color: #999;
  272. font-size: 14px;
  273. img {
  274. display: inline-block;
  275. width: 14px;
  276. height: 14px;
  277. margin-right: 6px;
  278. }
  279. span {
  280. padding-top: 1px;
  281. }
  282. .right {
  283. display: flex;
  284. align-items: center;
  285. margin-left: 26px;
  286. }
  287. }
  288. }
  289. .tagDiscount {
  290. position: absolute;
  291. top: -23px;
  292. left: 15px;
  293. padding: 0 10px;
  294. height: 23px;
  295. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  296. border-radius: 8px 8px 0px 0px;
  297. font-size: 14px;
  298. font-weight: 600;
  299. color: #ffffff;
  300. line-height: 24px;
  301. }
  302. .buttonDiscount {
  303. position: absolute;
  304. top: -23px;
  305. right: 15px;
  306. padding: 0 10px;
  307. height: 23px;
  308. background: linear-gradient(180deg, #ffb635 0%, #ff4e18 100%);
  309. border-radius: 8px 8px 0px 0px;
  310. font-size: 14px;
  311. font-weight: 600;
  312. color: #ffffff;
  313. line-height: 24px;
  314. }
  315. .shareMusicList{
  316. margin-top: 12px;
  317. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05);
  318. padding: 0 10px;
  319. }