index.module.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .detail {
  2. min-height: 100vh;
  3. // background: url('../images/banner1.png') no-repeat top center;
  4. // background-size: contain;
  5. background-color: #F8F9FC;
  6. // backdrop-filter: blur(11px);
  7. // filter: blur(11px);
  8. position: relative;
  9. z-index: 9;
  10. .bgSection {
  11. position: absolute;
  12. top: 0;
  13. left: 0;
  14. width: 100%;
  15. height: 315px;
  16. .bg {
  17. width: 100%;
  18. height: 315px;
  19. object-fit: cover;
  20. }
  21. &::before {
  22. content: '';
  23. position: absolute;
  24. left: 0;
  25. top: 0;
  26. right: 0;
  27. bottom: 0;
  28. background: rgba(255, 255, 255, 0.58);
  29. backdrop-filter: blur(15px);
  30. }
  31. }
  32. }
  33. .musicHeader {
  34. display: flex;
  35. align-items: flex-start;
  36. margin: 0 25px 25px;
  37. .imgSection {
  38. position: relative;
  39. width: 76px;
  40. height: 76px;
  41. margin-right: 46px;
  42. .img {
  43. width: 76px;
  44. height: 76px;
  45. border-radius: 2px;
  46. overflow: hidden;
  47. position: relative;
  48. z-index: 9;
  49. }
  50. &::before {
  51. content: '';
  52. position: absolute;
  53. left: 0;
  54. top: 0;
  55. z-index: 10;
  56. display: inline-block;
  57. width: 5px;
  58. height: 76px;
  59. background: linear-gradient(270deg, rgba(0, 0, 0, 0.13) 0%, rgba(255, 255, 255, 0) 100%);
  60. }
  61. .pan {
  62. content: '';
  63. position: absolute;
  64. top: 2px;
  65. right: -23px;
  66. display: inline-block;
  67. width: 72px;
  68. height: 72px;
  69. background: url('../images/icon-pan.png') no-repeat center;
  70. background-size: contain;
  71. display: flex;
  72. align-items: center;
  73. justify-content: center;
  74. img {
  75. width: 40px;
  76. height: 40px;
  77. border-radius: 50%;
  78. overflow: hidden;
  79. }
  80. }
  81. }
  82. .musicContent {
  83. flex: 1;
  84. .musicTitle {
  85. max-width: 200px;
  86. overflow: hidden;
  87. // white-space: nowrap;
  88. text-overflow: ellipsis;
  89. font-size: 18px;
  90. font-weight: 600;
  91. color: #000000;
  92. line-height: 24px;
  93. :global {
  94. .van-notice-bar {
  95. color: #000000;
  96. padding: 0;
  97. height: 24px;
  98. }
  99. }
  100. }
  101. .musicInto {
  102. padding-top: 4px;
  103. font-size: 12px;
  104. color: rgba(0, 0, 0, 0.5);
  105. line-height: 24px;
  106. margin-right: 12px;
  107. span {
  108. margin-right: 12px;
  109. }
  110. }
  111. }
  112. }
  113. .container {
  114. position: relative;
  115. border-radius: 16px;
  116. margin: 20px 0 16px;
  117. .content {
  118. padding: 20px 25px;
  119. font-size: 14px;
  120. line-height: 20px;
  121. background: #FFFFFF;
  122. border-radius: 16px;
  123. img,
  124. video {
  125. width: 100% !important;
  126. }
  127. }
  128. }