index.module.less 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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. position: relative;
  94. }
  95. .iconType {
  96. position: absolute;
  97. width: 28px;
  98. height: 14px;
  99. right: 0;
  100. top: 0;
  101. z-index: 9;
  102. // &.FREE {
  103. // background: url('../co-ai/image/icon-music-default.png') no-repeat center;
  104. // background-size: contain;
  105. // }
  106. &.VIP {
  107. background: url('../co-ai/image/icon-music-vip.png') no-repeat center;
  108. background-size: contain;
  109. }
  110. }
  111. .musicPlayIcon {
  112. width: 24px;
  113. height: 24px;
  114. }
  115. .musicContnet {
  116. h2 {
  117. font-size: 16px;
  118. font-weight: 600;
  119. color: #333333;
  120. line-height: 22px;
  121. max-width: 210px;
  122. white-space: nowrap;
  123. overflow: hidden;
  124. text-overflow: ellipsis;
  125. }
  126. .allStatus {
  127. display: flex;
  128. align-items: center;
  129. padding-top: 8px;
  130. }
  131. .hotNum {
  132. color: #FF6A6A;
  133. font-size: 12px;
  134. padding: 2px 3px 1px;
  135. background: #FFF8F7;
  136. border-radius: 3px;
  137. border: 1px solid #FFC5C5;
  138. line-height: 1;
  139. margin-right: 2px;
  140. transform: scale(0.85);
  141. .iconFire {
  142. display: inline-block;
  143. width: 8px;
  144. height: 10px;
  145. margin-right: 3px;
  146. }
  147. }
  148. .iconPlayType {
  149. font-size: 12px;
  150. padding: 2px 3px 1px;
  151. background: #FFFFFF;
  152. border-radius: 3px;
  153. line-height: 1;
  154. margin-right: 3px;
  155. transform: scale(0.85);
  156. }
  157. .iconPlay {
  158. border: 0.6px solid #15B2FD;
  159. color: #15B2FD;
  160. }
  161. .iconSing {
  162. border: 0.6px solid #CD8613;
  163. color: #CD8613;
  164. }
  165. p {
  166. font-size: 13px;
  167. color: #777777;
  168. line-height: 1;
  169. padding-top: 1px;
  170. }
  171. }
  172. }
  173. .changeSubjectContainer {
  174. min-height: 217px;
  175. max-height: 367px;
  176. overflow-x: hidden;
  177. overflow-y: auto;
  178. padding: 0 15px 30px;
  179. &::-webkit-scrollbar {
  180. display: none;
  181. }
  182. .title {
  183. padding-top: 18px;
  184. display: flex;
  185. align-items: center;
  186. font-size: 16px;
  187. font-weight: 500;
  188. color: #333333;
  189. line-height: 22px;
  190. &::before {
  191. content: '';
  192. display: inline-block;
  193. width: 4px;
  194. height: 11px;
  195. background: #1CACF1;
  196. border-radius: 3px;
  197. margin-right: 6px;
  198. }
  199. }
  200. }
  201. .searchHead {
  202. display: flex;
  203. align-items: center;
  204. justify-content: space-between;
  205. font-size: 16px;
  206. font-weight: 500;
  207. color: #333333;
  208. height: 55px;
  209. line-height: 55px;
  210. border-bottom: 1px solid #F2F2F2;
  211. margin: 0 15px;
  212. .cancel,
  213. .confirm {
  214. font-size: 14px;
  215. font-weight: 400;
  216. line-height: 20px;
  217. color: #777777;
  218. padding: 0 7px;
  219. }
  220. .confirm {
  221. color: #1CACF1;
  222. }
  223. }
  224. .subjectContainer {
  225. display: flex;
  226. align-items: center;
  227. flex-wrap: wrap;
  228. padding-top: 18px;
  229. &.subjectContainerTwo {
  230. .subjectItem {
  231. width: 48%;
  232. &:nth-child(3n + 2) {
  233. margin-left: 0;
  234. margin-right: 0;
  235. }
  236. &:nth-child(2n + 2) {
  237. margin-left: 2.333%;
  238. margin-right: 0;
  239. }
  240. }
  241. }
  242. .subjectItem {
  243. width: 31%;
  244. height: 34px;
  245. padding: 0 8px;
  246. line-height: 34px;
  247. text-align: center;
  248. background: #F6F6F6;
  249. border-radius: 50px;
  250. font-size: 13px;
  251. color: #333333;
  252. border: 1px solid #F6F6F6;
  253. margin-bottom: 12px;
  254. white-space: nowrap;
  255. overflow: hidden;
  256. text-overflow: ellipsis;
  257. &:nth-child(3n + 2) {
  258. margin-left: 2.333%;
  259. margin-right: 2.333%;
  260. }
  261. &.arrow::after {
  262. content: '';
  263. display: inline-block;
  264. margin-left: 3px;
  265. width: 0;
  266. height: 0;
  267. border-left: 4px solid transparent;
  268. border-right: 4px solid transparent;
  269. border-top: 4px solid transparent;
  270. border-bottom: 4px solid #777777;
  271. transform: translateY(3px) rotate(180deg);
  272. }
  273. &.active {
  274. border: 1px solid #1CACF1;
  275. background: #EBF8FF;
  276. color: #1CACF1;
  277. &::after {
  278. border-bottom: 4px solid #1CACF1;
  279. transform: translateY(-2px) rotate(0deg);
  280. }
  281. }
  282. }
  283. }