index.module.less 9.0 KB

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