index.module.less 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. .hotMusicMore {
  2. min-height: 100vh;
  3. background: url('./images/woring-bg.png') no-repeat top center;
  4. background-size: contain;
  5. :global {
  6. .van-search {
  7. padding-top: 20px;
  8. }
  9. // .van-sticky--fixed {
  10. // background: url('./images/woring-bg.png') no-repeat top center;
  11. // background-size: 100%;
  12. // }
  13. }
  14. }
  15. .woringHeader {
  16. display: flex;
  17. align-items: center;
  18. height: var(--van-nav-bar-height);
  19. .leftArrow {
  20. padding: 0 var(--k-padding-md);
  21. }
  22. .title {
  23. position: relative;
  24. z-index: 1;
  25. i {
  26. width: 78px;
  27. height: 20px;
  28. display: inline-block;
  29. background: url('./images/woring-title.png') no-repeat center;
  30. background-size: contain;
  31. }
  32. &::after {
  33. content: ' ';
  34. display: inline-block;
  35. position: absolute;
  36. left: 0;
  37. bottom: -2px;
  38. width: 48px;
  39. height: 6px;
  40. background: linear-gradient(270deg, rgba(119, 255, 239, 0.59) 0%, #42CDFF 100%);
  41. opacity: 0.5;
  42. z-index: -1;
  43. }
  44. }
  45. }
  46. .searchContent {
  47. font-size: 14px;
  48. color: rgba(0, 0, 0, 0.8);
  49. line-height: 20px;
  50. margin-right: 12px;
  51. display: flex;
  52. align-items: center;
  53. span {
  54. padding-right: 4px;
  55. }
  56. i {
  57. display: inline-block;
  58. background: url('./images/icon-arrow.png') no-repeat center;
  59. background-size: contain;
  60. width: 9px;
  61. height: 5px;
  62. transition: transform 0.2s ease;
  63. }
  64. &.active {
  65. i {
  66. transform: rotate(180deg);
  67. transition: transform 0.2s ease;
  68. }
  69. }
  70. }
  71. // .hotMusicMoreTablet {
  72. // background: url('./images/woring-bg-tablet.png') no-repeat top center;
  73. // background-size: contain;
  74. // }
  75. .emptyGroup {
  76. height: calc(100vh - var(--header-height));
  77. }
  78. .musicList {
  79. margin: 8px 13px 13px;
  80. background: #FFFFFF;
  81. border-radius: 16px;
  82. overflow: hidden;
  83. // min-height: 50vh;
  84. .musicItem {
  85. padding: 15px 12px;
  86. }
  87. .musicImg {
  88. width: 51px;
  89. height: 51px;
  90. margin-right: 10px;
  91. }
  92. .musicPlayIcon {
  93. width: 24px;
  94. height: 24px;
  95. }
  96. .musicContnet {
  97. h2 {
  98. font-size: 16px;
  99. font-weight: 600;
  100. color: #333333;
  101. line-height: 22px;
  102. }
  103. p {
  104. padding-top: 8px;
  105. font-size: 13px;
  106. color: #777777;
  107. line-height: 1;
  108. }
  109. }
  110. }
  111. .changeSubjectContainer {
  112. min-height: 217px;
  113. max-height: 367px;
  114. overflow-x: hidden;
  115. overflow-y: auto;
  116. padding: 0 15px 30px;
  117. &::-webkit-scrollbar {
  118. display: none;
  119. }
  120. .title {
  121. padding-top: 18px;
  122. display: flex;
  123. align-items: center;
  124. font-size: 16px;
  125. font-weight: 500;
  126. color: #333333;
  127. line-height: 22px;
  128. &::before {
  129. content: '';
  130. display: inline-block;
  131. width: 4px;
  132. height: 11px;
  133. background: #1CACF1;
  134. border-radius: 3px;
  135. margin-right: 6px;
  136. }
  137. }
  138. }
  139. .searchHead {
  140. display: flex;
  141. align-items: center;
  142. justify-content: space-between;
  143. font-size: 16px;
  144. font-weight: 500;
  145. color: #333333;
  146. height: 55px;
  147. line-height: 55px;
  148. border-bottom: 1px solid #F2F2F2;
  149. margin: 0 15px;
  150. .cancel,
  151. .confirm {
  152. font-size: 14px;
  153. font-weight: 400;
  154. line-height: 20px;
  155. color: #777777;
  156. padding: 0 7px;
  157. }
  158. .confirm {
  159. color: #1CACF1;
  160. }
  161. }
  162. .subjectContainer {
  163. display: flex;
  164. align-items: center;
  165. flex-wrap: wrap;
  166. padding-top: 18px;
  167. .subjectItem {
  168. width: 31%;
  169. height: 34px;
  170. padding: 0 8px;
  171. line-height: 34px;
  172. text-align: center;
  173. background: #F6F6F6;
  174. border-radius: 50px;
  175. font-size: 13px;
  176. color: #333333;
  177. border: 1px solid #F6F6F6;
  178. margin-bottom: 12px;
  179. white-space: nowrap;
  180. overflow: hidden;
  181. text-overflow: ellipsis;
  182. &:nth-child(3n + 2) {
  183. margin-left: 2.333%;
  184. margin-right: 2.333%;
  185. }
  186. &.arrow::after {
  187. content: '';
  188. display: inline-block;
  189. margin-left: 3px;
  190. width: 0;
  191. height: 0;
  192. border-left: 4px solid transparent;
  193. border-right: 4px solid transparent;
  194. border-top: 4px solid transparent;
  195. border-bottom: 4px solid #777777;
  196. transform: translateY(3px) rotate(180deg);
  197. }
  198. &.active {
  199. border: 1px solid #1CACF1;
  200. background: #EBF8FF;
  201. color: #1CACF1;
  202. &::after {
  203. border-bottom: 4px solid #1CACF1;
  204. transform: translateY(-2px) rotate(0deg);
  205. }
  206. }
  207. }
  208. }