index.module.less 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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: 2px;
  143. transform: scale(0.85);
  144. .iconFire {
  145. display: inline-block;
  146. width: 8px;
  147. height: 10px;
  148. margin-right: 3px;
  149. transform: scale(0.9);
  150. }
  151. }
  152. .iconPlayType {
  153. font-size: 12px;
  154. padding: 2px 3px 1px;
  155. background: #FFFFFF;
  156. border-radius: 3px;
  157. line-height: 1;
  158. margin-right: 3px;
  159. transform: scale(0.85);
  160. }
  161. .iconPlay {
  162. border: 0.6px solid #15B2FD;
  163. color: #15B2FD;
  164. }
  165. .iconSing {
  166. border: 0.6px solid #CD8613;
  167. color: #CD8613;
  168. }
  169. p {
  170. font-size: 13px;
  171. color: #777777;
  172. line-height: 1;
  173. padding-top: 1px;
  174. }
  175. }
  176. }
  177. .changeSubjectContainer {
  178. min-height: 217px;
  179. max-height: 367px;
  180. overflow-x: hidden;
  181. overflow-y: auto;
  182. padding: 0 15px 30px;
  183. &::-webkit-scrollbar {
  184. display: none;
  185. }
  186. .title {
  187. padding-top: 18px;
  188. display: flex;
  189. align-items: center;
  190. font-size: 16px;
  191. font-weight: 500;
  192. color: #333333;
  193. line-height: 22px;
  194. &::before {
  195. content: '';
  196. display: inline-block;
  197. width: 4px;
  198. height: 11px;
  199. background: #1CACF1;
  200. border-radius: 3px;
  201. margin-right: 6px;
  202. }
  203. }
  204. }
  205. .searchHead {
  206. display: flex;
  207. align-items: center;
  208. justify-content: space-between;
  209. font-size: 16px;
  210. font-weight: 500;
  211. color: #333333;
  212. height: 55px;
  213. line-height: 55px;
  214. border-bottom: 1px solid #F2F2F2;
  215. margin: 0 15px;
  216. .cancel,
  217. .confirm {
  218. font-size: 14px;
  219. font-weight: 400;
  220. line-height: 20px;
  221. color: #777777;
  222. padding: 0 7px;
  223. }
  224. .confirm {
  225. color: #1CACF1;
  226. }
  227. }
  228. .subjectContainer {
  229. display: flex;
  230. align-items: center;
  231. flex-wrap: wrap;
  232. padding-top: 18px;
  233. &.subjectContainerTwo {
  234. .subjectItem {
  235. width: 48%;
  236. &:nth-child(3n + 2) {
  237. margin-left: 0;
  238. margin-right: 0;
  239. }
  240. &:nth-child(2n + 2) {
  241. margin-left: 2.333%;
  242. margin-right: 0;
  243. }
  244. }
  245. }
  246. .subjectItem {
  247. width: 31%;
  248. height: 34px;
  249. padding: 0 8px;
  250. line-height: 34px;
  251. text-align: center;
  252. background: #F6F6F6;
  253. border-radius: 50px;
  254. font-size: 13px;
  255. color: #333333;
  256. border: 1px solid #F6F6F6;
  257. margin-bottom: 12px;
  258. white-space: nowrap;
  259. overflow: hidden;
  260. text-overflow: ellipsis;
  261. &:nth-child(3n + 2) {
  262. margin-left: 2.333%;
  263. margin-right: 2.333%;
  264. }
  265. &.arrow::after {
  266. content: '';
  267. display: inline-block;
  268. margin-left: 3px;
  269. width: 0;
  270. height: 0;
  271. border-left: 4px solid transparent;
  272. border-right: 4px solid transparent;
  273. border-top: 4px solid transparent;
  274. border-bottom: 4px solid #777777;
  275. transform: translateY(3px) rotate(180deg);
  276. }
  277. &.active {
  278. border: 1px solid #1CACF1;
  279. background: #EBF8FF;
  280. color: #1CACF1;
  281. &::after {
  282. border-bottom: 4px solid #1CACF1;
  283. transform: translateY(-2px) rotate(0deg);
  284. }
  285. }
  286. }
  287. }