index.module.less 5.9 KB

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