index.module.less 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. .list {
  2. background: url('./images/bg.png') no-repeat top center;
  3. background-size: contain;
  4. width: 100%;
  5. height: 100%;
  6. display: flex;
  7. flex-direction: column;
  8. }
  9. .topTitle {
  10. padding-top: 30px;
  11. padding-bottom: 24px;
  12. font-size: 0;
  13. // color: #131415;
  14. // height: 60px;
  15. // letter-spacing: 1px;
  16. // text-align: center;
  17. // font-style: normal;
  18. // color: #004aff;
  19. text-align: center;
  20. img {
  21. height: 50px;
  22. margin: 0 auto;
  23. }
  24. }
  25. .searchSection {
  26. position: relative;
  27. display: flex;
  28. align-items: center;
  29. justify-content: center;
  30. .searchInput {
  31. width: 700px;
  32. --n-height: 50px !important;
  33. :global {
  34. .n-button {
  35. padding: 0 24px;
  36. font-size: 18px !important;
  37. color: #ffffff;
  38. --n-border: none !important;
  39. background: linear-gradient( 312deg, #1B7AF8 0%, #3CBBFF 100%);
  40. }
  41. .n-input__input-el {
  42. font-size: 18px !important;
  43. color: #000000;
  44. }
  45. .n-input__placeholder {
  46. font-size: 18px !important;
  47. }
  48. }
  49. }
  50. .moreMusic {
  51. position: absolute;
  52. right: 60px;
  53. padding: 9px 25px;
  54. background: rgba(255, 255, 255, 0.7);
  55. border-radius: 22px;
  56. font-weight: 600;
  57. font-size: 18px;
  58. color: #131415;
  59. display: flex;
  60. align-items: center;
  61. justify-content: center;
  62. cursor: pointer;
  63. line-height: 1.5;
  64. &::after {
  65. content: '';
  66. display: inline-block;
  67. width: 6px;
  68. height: 10px;
  69. background: url('./images/icon-arrow.png') no-repeat center;
  70. background-size: contain;
  71. margin-left: 6px;
  72. }
  73. }
  74. }
  75. .container {
  76. padding: 24px 60px;
  77. display: flex;
  78. gap: 0 30px;
  79. flex: 1 auto;
  80. .section {
  81. flex: 1;
  82. border-radius: 16px;
  83. background: #ffffff;
  84. overflow: hidden;
  85. height: 100%;
  86. .sectionTitle {
  87. padding: 18px 24px;
  88. display: flex;
  89. align-items: center;
  90. justify-content: space-between;
  91. .imgTitle {
  92. height: 45px;
  93. }
  94. .moreBtn {
  95. border-radius: 20px;
  96. font-weight: 600;
  97. font-size: 18px;
  98. color: #131415;
  99. padding: 7px 20px;
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. cursor: pointer;
  104. line-height: 1;
  105. &::after {
  106. content: '';
  107. display: inline-block;
  108. width: 6px;
  109. height: 10px;
  110. background: url('./images/icon-arrow.png') no-repeat center;
  111. background-size: contain;
  112. margin-left: 6px;
  113. }
  114. }
  115. }
  116. }
  117. .recommendSection {
  118. background: url('./images/recommon_bg.png') no-repeat top center #fff;
  119. background-size: contain;
  120. .moreBtn {
  121. background: #d1e8ff;
  122. }
  123. }
  124. .hotSection {
  125. background: url('./images/hot_bg.png') no-repeat top center #fff;
  126. background-size: contain;
  127. .moreBtn {
  128. background: #f8e5f1;
  129. }
  130. }
  131. .newSection {
  132. background: url('./images/new_bg.png') no-repeat top center #fff;
  133. background-size: contain;
  134. .moreBtn {
  135. background: #d4f1e7;
  136. }
  137. }
  138. :global {
  139. .n-scrollbar {
  140. max-height: calc(100vh - 64px - 154px - 48px - 91px);
  141. height: calc(100vh - 64px - 154px - 48px - 91px);
  142. }
  143. }
  144. }
  145. .item {
  146. display: flex;
  147. align-items: center;
  148. margin: 0 12px 10px;
  149. cursor: pointer;
  150. padding: 15px 12px;
  151. border-radius: 12px;
  152. cursor: pointer;
  153. &:hover {
  154. background: #f5f6fa;
  155. }
  156. .num {
  157. font-family: DINAlternate, DINAlternate;
  158. font-weight: bold;
  159. font-size: 18px;
  160. color: #7e8287;
  161. line-height: 22px;
  162. text-align: center;
  163. &.num1 {
  164. color: #f72626;
  165. }
  166. &.num2 {
  167. color: #fd6633;
  168. }
  169. &.num3 {
  170. color: #ffac37;
  171. }
  172. }
  173. .img {
  174. width: 60px;
  175. height: 60px;
  176. background: #ddf2ff;
  177. border-radius: 8px;
  178. overflow: hidden;
  179. margin: 0 16px;
  180. img {
  181. width: inherit;
  182. height: inherit;
  183. }
  184. }
  185. .infos {
  186. display: flex;
  187. flex-direction: column;
  188. .topName {
  189. font-weight: 600;
  190. font-size: 20px;
  191. color: #131415;
  192. line-height: 28px;
  193. white-space: nowrap;
  194. overflow: hidden;
  195. text-overflow: ellipsis;
  196. max-width: 370px;
  197. }
  198. .types {
  199. display: flex;
  200. padding-top: 4px;
  201. & > div {
  202. margin-right: 4px;
  203. }
  204. .hot {
  205. background: #fff3f3;
  206. border-radius: 3px;
  207. border: 1px solid rgba(254, 67, 67, 0.5);
  208. font-size: max(12px, 11px);
  209. color: #fe4343;
  210. padding: 0 5px;
  211. &::before {
  212. content: '';
  213. display: inline-block;
  214. width: 10px;
  215. height: 12px;
  216. background: url('./images/icon-fire.png') no-repeat center;
  217. background-size: contain;
  218. margin-right: 3px;
  219. vertical-align: middle;
  220. }
  221. span {
  222. line-height: 1;
  223. vertical-align: text-bottom;
  224. }
  225. }
  226. .sing,
  227. .song {
  228. background: #ffffff;
  229. font-size: max(12px, 11px);
  230. border-radius: 3px;
  231. padding: 0 4px;
  232. line-height: 1;
  233. display: flex;
  234. align-items: center;
  235. }
  236. .sing {
  237. border: 1px solid rgba(243, 130, 26, 0.5);
  238. color: #f3821a;
  239. }
  240. .song {
  241. border: 1px solid rgba(21, 178, 253, 0.5);
  242. color: #00adff;
  243. }
  244. .author {
  245. color: #777777;
  246. font-size: max(14px, 12px);
  247. }
  248. }
  249. }
  250. }
  251. .searchContainer {
  252. flex: 1 auto;
  253. padding: 24px 0;
  254. .empty {
  255. display: flex;
  256. align-items: center;
  257. justify-content: center;
  258. height: 100%;
  259. // height: 100%;
  260. }
  261. .loadingWrap {
  262. display: flex;
  263. justify-content: center;
  264. // min-height: 80px;
  265. padding-bottom: 10px;
  266. &.showLoading {
  267. height: 0;
  268. opacity: 0;
  269. min-height: 0;
  270. display: none;
  271. }
  272. }
  273. :global {
  274. .n-scrollbar {
  275. max-height: calc(100vh - 64px - 160px - 40px);
  276. }
  277. }
  278. }
  279. .sectionContainer {
  280. padding: 0 48px;
  281. display: flex;
  282. flex-wrap: wrap;
  283. }
  284. .sectionItem {
  285. display: flex;
  286. align-items: center;
  287. margin: 0 12px 10px;
  288. cursor: pointer;
  289. padding: 15px 12px;
  290. border-radius: 12px;
  291. width: 405px;
  292. background: #FFFFFF;
  293. cursor: pointer;
  294. box-sizing: border-box;
  295. .img {
  296. width: 60px;
  297. height: 60px;
  298. background: #ddf2ff;
  299. border-radius: 8px;
  300. overflow: hidden;
  301. margin: 0 16px;
  302. img {
  303. width: inherit;
  304. height: inherit;
  305. }
  306. }
  307. .infos {
  308. display: flex;
  309. flex-direction: column;
  310. .topName {
  311. font-weight: 600;
  312. font-size: 20px;
  313. color: #131415;
  314. line-height: 28px;
  315. white-space: nowrap;
  316. overflow: hidden;
  317. text-overflow: ellipsis;
  318. max-width: 270px;
  319. span {
  320. color: #198CFE;
  321. font-weight: bold;
  322. }
  323. }
  324. .types {
  325. display: flex;
  326. padding-top: 4px;
  327. & > div {
  328. margin-right: 4px;
  329. }
  330. .hot {
  331. background: #fff3f3;
  332. border-radius: 3px;
  333. border: 1px solid rgba(254, 67, 67, 0.5);
  334. font-size: max(12px, 11px);
  335. color: #fe4343;
  336. padding: 0 5px;
  337. &::before {
  338. content: '';
  339. display: inline-block;
  340. width: 10px;
  341. height: 12px;
  342. background: url('./images/icon-fire.png') no-repeat center;
  343. background-size: contain;
  344. margin-right: 3px;
  345. vertical-align: middle;
  346. }
  347. span {
  348. line-height: 1;
  349. vertical-align: text-bottom;
  350. }
  351. }
  352. .sing,
  353. .song {
  354. background: #ffffff;
  355. font-size: max(12px, 11px);
  356. border-radius: 3px;
  357. padding: 0 4px;
  358. line-height: 1;
  359. display: flex;
  360. align-items: center;
  361. }
  362. .sing {
  363. border: 1px solid rgba(243, 130, 26, 0.5);
  364. color: #f3821a;
  365. }
  366. .song {
  367. border: 1px solid rgba(21, 178, 253, 0.5);
  368. color: #00adff;
  369. }
  370. .author {
  371. color: #777777;
  372. font-size: max(14px, 12px);
  373. }
  374. }
  375. }
  376. }