index.module.less 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  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: 1px;
  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. margin-right: 0;
  22. }
  23. // .title {
  24. // position: relative;
  25. // z-index: 1;
  26. // i {
  27. // width: 78px;
  28. // height: 20px;
  29. // display: inline-block;
  30. // background: url('./images/woring-title.png') no-repeat center;
  31. // background-size: contain;
  32. // }
  33. // &::after {
  34. // content: ' ';
  35. // display: inline-block;
  36. // position: absolute;
  37. // left: 0;
  38. // bottom: -2px;
  39. // width: 48px;
  40. // height: 6px;
  41. // background: linear-gradient(270deg, rgba(119, 255, 239, 0.59) 0%, #42CDFF 100%);
  42. // opacity: 0.5;
  43. // z-index: -1;
  44. // }
  45. // }
  46. .tabSection {
  47. // padding: 0 32px;
  48. flex: 1;
  49. display: flex;
  50. align-items: center;
  51. justify-content: space-between;
  52. --van-tab-font-size: 16px;
  53. --van-tabs-line-height: 28px;
  54. --van-tab-text-color: rgba(51, 51, 51, .5);
  55. --van-tab-active-text-color: #333333;
  56. --van-tabs-nav-background: transparent;
  57. --van-padding-xs: 0;
  58. .moreIcon {
  59. display: flex;
  60. align-items: center;
  61. position: relative;
  62. span {
  63. // padding-right: 4px;
  64. }
  65. }
  66. .iconArrow {
  67. width: 9px;
  68. height: 5px;
  69. position: absolute;
  70. right: -13px;
  71. margin-left: 4px;
  72. }
  73. .iconArrowActive {
  74. transform: rotate(180deg);
  75. }
  76. :global {
  77. .van-tabs__line {
  78. display: inline-block;
  79. width: 24px;
  80. height: 11px;
  81. background: url('./images/tag-tip.png') no-repeat center;
  82. background-size: contain;
  83. bottom: 16px;
  84. }
  85. .van-tab__text {
  86. line-height: normal;
  87. font-weight: 600;
  88. }
  89. .van-tab--shrink {
  90. padding: 0 21px;
  91. z-index: 9;
  92. &:first-child {
  93. padding-right: 30px;
  94. }
  95. }
  96. }
  97. }
  98. }
  99. .searchContent {
  100. font-size: 14px;
  101. color: rgba(0, 0, 0, 0.8);
  102. line-height: 20px;
  103. margin-right: 12px;
  104. display: flex;
  105. align-items: center;
  106. span {
  107. padding-right: 4px;
  108. }
  109. i {
  110. display: inline-block;
  111. background: url('./images/icon-arrow.png') no-repeat center;
  112. background-size: contain;
  113. width: 9px;
  114. height: 5px;
  115. transition: transform 0.2s ease;
  116. }
  117. &.active {
  118. i {
  119. transform: rotate(180deg);
  120. transition: transform 0.2s ease;
  121. }
  122. }
  123. }
  124. // .hotMusicMoreTablet {
  125. // background: url('./images/woring-bg-tablet.png') no-repeat top center;
  126. // background-size: contain;
  127. // }
  128. .emptyGroup {
  129. height: calc(100vh - var(--header-height));
  130. }
  131. .musicListSection {
  132. overflow: hidden;
  133. }
  134. .musicList {
  135. margin: 8px 13px 13px;
  136. background: rgba(255,255,255,0.28);
  137. border-radius: 16px;
  138. border: 2px solid #FFFFFF;
  139. // backdrop-filter: blur(5px);
  140. overflow: hidden;
  141. // min-height: 50vh;
  142. :global {
  143. .van-cell {
  144. background: transparent;
  145. }
  146. }
  147. .musicItem {
  148. padding: 15px 12px;
  149. }
  150. .musicImg {
  151. width: 51px;
  152. height: 51px;
  153. margin-right: 10px;
  154. border-radius: 8px;
  155. overflow: hidden;
  156. position: relative;
  157. }
  158. .iconType {
  159. position: absolute;
  160. width: 28px;
  161. height: 14px;
  162. right: 0;
  163. top: 0;
  164. z-index: 9;
  165. // &.FREE {
  166. // background: url('../co-ai/image/icon-music-default.png') no-repeat center;
  167. // background-size: contain;
  168. // }
  169. &.VIP {
  170. background: url('../co-ai/image/icon-music-vip.png') no-repeat center;
  171. background-size: contain;
  172. }
  173. }
  174. .musicPlayIcon {
  175. width: 24px;
  176. height: 24px;
  177. }
  178. .musicContnet {
  179. h2 {
  180. font-size: 16px;
  181. font-weight: 600;
  182. color: #333333;
  183. line-height: 22px;
  184. max-width: 210px;
  185. white-space: nowrap;
  186. overflow: hidden;
  187. text-overflow: ellipsis;
  188. }
  189. .allStatus {
  190. display: flex;
  191. align-items: center;
  192. padding-top: 8px;
  193. }
  194. .hotNum {
  195. color: #FF6A6A;
  196. font-size: 12px;
  197. padding: 2px 3px 1px;
  198. background: #FFF8F7;
  199. border-radius: 3px;
  200. border: 0.6px solid #FFC5C5;
  201. line-height: 1;
  202. margin-right: 1px;
  203. transform: scale(0.85);
  204. .iconFire {
  205. display: inline-block;
  206. width: 8px;
  207. height: 10px;
  208. margin-right: 1px;
  209. }
  210. }
  211. .iconPlayType {
  212. font-size: 12px;
  213. padding: 2px 3px 1px;
  214. background: #FFFFFF;
  215. border-radius: 3px;
  216. line-height: 1;
  217. margin-right: 1px;
  218. transform: scale(0.85);
  219. }
  220. .iconPlay {
  221. border: 0.6px solid #15B2FD;
  222. color: #15B2FD;
  223. }
  224. .iconSing {
  225. border: 0.6px solid #CD8613;
  226. color: #CD8613;
  227. }
  228. p {
  229. font-size: 13px;
  230. color: #777777;
  231. line-height: 1;
  232. padding-top: 1px;
  233. }
  234. }
  235. }
  236. .changeSubjectContainer {
  237. min-height: 217px;
  238. max-height: 367px;
  239. overflow-x: hidden;
  240. overflow-y: auto;
  241. padding: 0 15px 30px;
  242. &::-webkit-scrollbar {
  243. display: none;
  244. }
  245. .title {
  246. padding-top: 18px;
  247. display: flex;
  248. align-items: center;
  249. position: relative;
  250. font-size: 16px;
  251. font-weight: 500;
  252. color: #333333;
  253. line-height: 22px;
  254. &::before {
  255. content: '';
  256. display: inline-block;
  257. width: 4px;
  258. height: 11px;
  259. background: #1CACF1;
  260. border-radius: 3px;
  261. margin-right: 6px;
  262. }
  263. span {
  264. position: absolute;
  265. right: 0;
  266. font-size: 12px;
  267. color: #333333;
  268. font-weight: 400;
  269. :global {
  270. .van-icon {
  271. margin-left: 4px;
  272. }
  273. }
  274. }
  275. }
  276. }
  277. .searchHead {
  278. display: flex;
  279. align-items: center;
  280. justify-content: space-between;
  281. font-size: 16px;
  282. font-weight: 500;
  283. color: #333333;
  284. height: 55px;
  285. line-height: 55px;
  286. border-bottom: 1px solid #F2F2F2;
  287. margin: 0 15px;
  288. .cancel,
  289. .confirm {
  290. font-size: 14px;
  291. font-weight: 400;
  292. line-height: 20px;
  293. color: #777777;
  294. padding: 0 7px;
  295. }
  296. .confirm {
  297. color: #1CACF1;
  298. }
  299. }
  300. .subjectContainer {
  301. display: flex;
  302. align-items: center;
  303. flex-wrap: wrap;
  304. padding-top: 9px;
  305. &.subjectContainerTwo {
  306. .subjectItem {
  307. width: 48%;
  308. &:nth-child(3n + 2) {
  309. margin-left: 0;
  310. margin-right: 0;
  311. }
  312. &:nth-child(2n + 2) {
  313. margin-left: 2.333%;
  314. margin-right: 0;
  315. }
  316. }
  317. .subjectItem4 {
  318. width: 18%;
  319. }
  320. }
  321. .subjectItem {
  322. width: 31%;
  323. height: 34px;
  324. padding: 0 8px;
  325. line-height: 34px;
  326. text-align: center;
  327. background: #F6F6F6;
  328. border-radius: 6px;
  329. font-size: 13px;
  330. color: #333333;
  331. border: 1px solid #F6F6F6;
  332. margin-bottom: 12px;
  333. white-space: nowrap;
  334. overflow: hidden;
  335. text-overflow: ellipsis;
  336. &:nth-child(3n + 2) {
  337. margin-left: 2.333%;
  338. margin-right: 2.333%;
  339. }
  340. &.arrow::after {
  341. content: '';
  342. display: inline-block;
  343. margin-left: 3px;
  344. width: 0;
  345. height: 0;
  346. border-left: 4px solid transparent;
  347. border-right: 4px solid transparent;
  348. border-top: 4px solid transparent;
  349. border-bottom: 4px solid #777777;
  350. transform: translateY(3px) rotate(180deg);
  351. }
  352. &.active {
  353. border: 1px solid #1CACF1;
  354. background: #EBF8FF;
  355. color: #1CACF1;
  356. &::after {
  357. border-bottom: 4px solid #1CACF1;
  358. transform: translateY(-2px) rotate(0deg);
  359. }
  360. }
  361. }
  362. .subjectItem4 {
  363. width: 23%;
  364. margin-left: 0 !important;
  365. margin-right: 2.333% !important;
  366. &:nth-child(4n) {
  367. margin-right: 0 !important;
  368. }
  369. }
  370. .subjectItemHide {
  371. display: none;
  372. }
  373. }
  374. .popupMusicDetail {
  375. :global {
  376. .van-popup__close-icon {
  377. font-size: 16px;
  378. color: #aaa;
  379. top: 29px;
  380. right: 20px;
  381. }
  382. }
  383. }
  384. .searchBodySection {
  385. position: fixed;
  386. right: 0;
  387. left: 0;
  388. bottom: 0;
  389. z-index: 999;
  390. overflow: hidden;
  391. top: var(--header-height);
  392. :global {
  393. .van-overlay, .van-popup {
  394. position: absolute
  395. }
  396. }
  397. }