index.module.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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(11px);
  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 8px 8px 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: 1;
  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. .musicTitle {
  84. max-width: 200px;
  85. overflow: hidden;
  86. white-space: nowrap;
  87. text-overflow: ellipsis;
  88. font-size: 18px;
  89. font-weight: 600;
  90. color: #000000;
  91. line-height: 24px;
  92. }
  93. .musicInto {
  94. padding-top: 4px;
  95. font-size: 12px;
  96. color: rgba(0, 0, 0, 0.5);
  97. line-height: 24px;
  98. margin-right: 12px;
  99. }
  100. }
  101. }
  102. .container {
  103. position: relative;
  104. border-radius: 16px;
  105. margin: 20px 0 16px;
  106. .content {
  107. padding: 20px 25px;
  108. font-size: 14px;
  109. line-height: 20px;
  110. background: #FFFFFF;
  111. border-radius: 16px;
  112. img,
  113. video {
  114. width: 100% !important;
  115. }
  116. }
  117. }