index.module.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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. border-radius: 8px;
  92. overflow: hidden;
  93. }
  94. .musicPlayIcon {
  95. width: 24px;
  96. height: 24px;
  97. }
  98. .musicContnet {
  99. h2 {
  100. font-size: 16px;
  101. font-weight: 600;
  102. color: #333333;
  103. line-height: 22px;
  104. max-width: 210px;
  105. white-space: nowrap;
  106. overflow: hidden;
  107. text-overflow: ellipsis;
  108. }
  109. p {
  110. padding-top: 8px;
  111. font-size: 13px;
  112. color: #777777;
  113. line-height: 1;
  114. }
  115. }
  116. }
  117. .changeSubjectContainer {
  118. min-height: 217px;
  119. max-height: 367px;
  120. overflow-x: hidden;
  121. overflow-y: auto;
  122. padding: 0 15px 30px;
  123. &::-webkit-scrollbar {
  124. display: none;
  125. }
  126. .title {
  127. padding-top: 18px;
  128. display: flex;
  129. align-items: center;
  130. font-size: 16px;
  131. font-weight: 500;
  132. color: #333333;
  133. line-height: 22px;
  134. &::before {
  135. content: '';
  136. display: inline-block;
  137. width: 4px;
  138. height: 11px;
  139. background: #1CACF1;
  140. border-radius: 3px;
  141. margin-right: 6px;
  142. }
  143. }
  144. }
  145. .searchHead {
  146. display: flex;
  147. align-items: center;
  148. justify-content: space-between;
  149. font-size: 16px;
  150. font-weight: 500;
  151. color: #333333;
  152. height: 55px;
  153. line-height: 55px;
  154. border-bottom: 1px solid #F2F2F2;
  155. margin: 0 15px;
  156. .cancel,
  157. .confirm {
  158. font-size: 14px;
  159. font-weight: 400;
  160. line-height: 20px;
  161. color: #777777;
  162. padding: 0 7px;
  163. }
  164. .confirm {
  165. color: #1CACF1;
  166. }
  167. }
  168. .subjectContainer {
  169. display: flex;
  170. align-items: center;
  171. flex-wrap: wrap;
  172. padding-top: 18px;
  173. &.subjectContainerTwo {
  174. .subjectItem {
  175. width: 48%;
  176. &:nth-child(3n + 2) {
  177. margin-left: 0;
  178. margin-right: 0;
  179. }
  180. &:nth-child(2n + 2) {
  181. margin-left: 2.333%;
  182. margin-right: 0;
  183. }
  184. }
  185. }
  186. .subjectItem {
  187. width: 31%;
  188. height: 34px;
  189. padding: 0 8px;
  190. line-height: 34px;
  191. text-align: center;
  192. background: #F6F6F6;
  193. border-radius: 50px;
  194. font-size: 13px;
  195. color: #333333;
  196. border: 1px solid #F6F6F6;
  197. margin-bottom: 12px;
  198. white-space: nowrap;
  199. overflow: hidden;
  200. text-overflow: ellipsis;
  201. &:nth-child(3n + 2) {
  202. margin-left: 2.333%;
  203. margin-right: 2.333%;
  204. }
  205. &.arrow::after {
  206. content: '';
  207. display: inline-block;
  208. margin-left: 3px;
  209. width: 0;
  210. height: 0;
  211. border-left: 4px solid transparent;
  212. border-right: 4px solid transparent;
  213. border-top: 4px solid transparent;
  214. border-bottom: 4px solid #777777;
  215. transform: translateY(3px) rotate(180deg);
  216. }
  217. &.active {
  218. border: 1px solid #1CACF1;
  219. background: #EBF8FF;
  220. color: #1CACF1;
  221. &::after {
  222. border-bottom: 4px solid #1CACF1;
  223. transform: translateY(-2px) rotate(0deg);
  224. }
  225. }
  226. }
  227. }