index.module.less 8.9 KB

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