index.module.less 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. .popup{
  2. background:initial;
  3. }
  4. .tabs {
  5. height: 100vh;
  6. width: 380px;
  7. padding: 10px 0;
  8. :global {
  9. .van-tabs{
  10. height: 100%;
  11. .van-tabs__wrap{
  12. display: flex;
  13. justify-content: flex-end;
  14. height: 30px;
  15. .van-tabs__nav--line{
  16. padding-bottom: 0;
  17. background-color: initial;
  18. .van-tab{
  19. flex: initial;
  20. .van-tab__text{
  21. display: none;
  22. }
  23. &:nth-child(1){
  24. width: 100px;
  25. height: 30px;
  26. background: url("./imgs/qtqm.png") no-repeat;
  27. background-size: 100% 100%;
  28. background-position-y: 2px;
  29. &.van-tab--active{
  30. background: url("./imgs/qtqmAct.png") no-repeat;
  31. background-size: 100% 100%;
  32. background-position-y: 2px;
  33. }
  34. }
  35. &:nth-child(2){
  36. margin-left: 30px;
  37. margin-right: 60px;
  38. width: 100px;
  39. height: 30px;
  40. background: url("./imgs/zjlx.png") no-repeat;
  41. background-size: 100% 100%;
  42. background-position-y: 2px;
  43. &.van-tab--active{
  44. background: url("./imgs/zjlxAct.png") no-repeat;
  45. background-size: 100% 100%;
  46. background-position-y: 2px;
  47. }
  48. }
  49. }
  50. }
  51. .van-tabs__line{
  52. display: none;
  53. }
  54. }
  55. .van-tabs__content{
  56. height: calc(100% - 30px);
  57. background: url("./imgs/bg.png") no-repeat;
  58. background-size: 100% 100%;
  59. .van-tab__panel{
  60. height: 100%;
  61. }
  62. }
  63. }
  64. }
  65. &.follow{
  66. :global{
  67. .van-tabs .van-tabs__content{
  68. background: url("./imgs/bg1.png") no-repeat;
  69. background-size: 100% 100%;
  70. }
  71. }
  72. }
  73. &.evaluating{
  74. :global{
  75. .van-tabs .van-tabs__content{
  76. background: url("./imgs/bg2.png") no-repeat;
  77. background-size: 100% 100%;
  78. }
  79. }
  80. }
  81. }
  82. .wrap {
  83. height: 100%;
  84. padding: 18px 16px 12px 46px;
  85. .searchBox{
  86. display: flex;
  87. align-items: center;
  88. height: 34px;
  89. background: #F8F9FC;
  90. border-radius: 18px;
  91. padding: 0 4px 0 10px;
  92. border: 1px solid transparent;
  93. &.isFocus{
  94. border-color: #1CACF1;
  95. }
  96. >img{
  97. flex-shrink: 0;
  98. width: 16px;
  99. height: 16px;
  100. }
  101. :global{
  102. .van-field{
  103. margin: 0 6px;
  104. flex-grow: 1;
  105. padding: 0;
  106. line-height: initial;
  107. background: initial;
  108. &::after{
  109. display: none;
  110. }
  111. .van-field__control{
  112. font-weight: 400;
  113. font-size: 13px;
  114. color: #131415;
  115. caret-color: #1cacf1;
  116. &::placeholder{
  117. color: #AAAAAA;
  118. }
  119. }
  120. }
  121. }
  122. .searchBtn{
  123. flex-shrink: 0;
  124. width: 54px;
  125. height: 26px;
  126. line-height: 26px;
  127. text-align: center;
  128. background: linear-gradient(to right,#5BECFF,#259CFE);
  129. border-radius: 18px;
  130. font-weight: 500;
  131. font-size: 13px;
  132. color: #FFFFFF;
  133. cursor: pointer;
  134. &:active{
  135. opacity: 0.8;
  136. }
  137. }
  138. .dropdownMenu{
  139. border-right: 1px solid #DADCE5;
  140. margin-right: 8px;
  141. :global{
  142. .van-dropdown-menu__bar{
  143. height: 20px;
  144. background: transparent;
  145. box-shadow: initial;
  146. .van-dropdown-menu__item{
  147. padding: 0 8px 0 0;
  148. }
  149. .van-dropdown-menu__title{
  150. --van-gray-4: #0CA2EA;
  151. font-weight: 400;
  152. font-size: 14px;
  153. color: #0CA2EA;
  154. padding: 0 12px 0 0;
  155. &::after{
  156. right: 0;
  157. opacity: initial;
  158. }
  159. }
  160. }
  161. .van-dropdown-item.van-dropdown-item--down{
  162. left: 36px;
  163. width: 148px;
  164. margin-top: 7px;
  165. .van-dropdown-item__content{
  166. margin-left: 10px;
  167. padding: 0 10px;
  168. width: 128px;
  169. box-shadow: 0px 2px 14px 0px rgba(0,0,0,0.12);
  170. border-radius: 8px;
  171. .van-cell{
  172. margin-top: 6px;
  173. padding: 0;
  174. font-weight: 400;
  175. font-size: 14px;
  176. color: #323233;
  177. line-height: 32px;
  178. text-align: center;
  179. &::after{
  180. border: none;
  181. }
  182. &:last-child{
  183. margin-bottom: 6px;
  184. }
  185. &.van-dropdown-item__option--active{
  186. background: #EEF8FF;
  187. border-radius: 4px;
  188. color: #1CACF1;
  189. font-weight: 500;
  190. }
  191. .van-cell__value{
  192. display: none;
  193. }
  194. }
  195. }
  196. }
  197. }
  198. &.currItem{
  199. :global{
  200. .van-dropdown-menu__bar .van-dropdown-menu__title{
  201. color: #1CACF1;
  202. --van-gray-4:#1CACF1;
  203. }
  204. }
  205. }
  206. }
  207. }
  208. :global{
  209. .van-list{
  210. margin-top: 10px;
  211. height: calc(100% - 44px);
  212. overflow-y: auto;
  213. .van-loading__circular{
  214. color: rgba(0,0,0,0.3);
  215. }
  216. .van-loading__text{
  217. color: rgba(0,0,0,0.3);
  218. }
  219. }
  220. }
  221. }
  222. .item {
  223. display: flex;
  224. align-items: center;
  225. background: #FFFFFF;
  226. border-radius: 16px;
  227. padding: 6px;
  228. margin-bottom: 8px;
  229. &.itemActive {
  230. background: linear-gradient( 180deg, #FFFFFF 0%, #BFE1FF 100%);
  231. box-shadow: 0px 2px 4px 0px #499FE4;
  232. border: 3px solid #FFFFFF;
  233. .content .name{
  234. color: #2EAAFE;
  235. }
  236. }
  237. .titleImg {
  238. width: 51px;
  239. height: 51px;
  240. margin-right: 10px;
  241. border-radius: 9px !important;
  242. overflow: hidden;
  243. position: relative;
  244. flex-shrink: 0;
  245. .iconType {
  246. position: absolute;
  247. width: 28px;
  248. height: 14px;
  249. right: 0;
  250. top: 0;
  251. z-index: 9;
  252. border-top-right-radius: 8px !important;
  253. &.VIP {
  254. background: url('./imgs/icon-music-vip.png') no-repeat center;
  255. background-size: contain;
  256. }
  257. }
  258. }
  259. .content{
  260. .name{
  261. font-weight: 600;
  262. font-size: 16px;
  263. color: #333333;
  264. }
  265. .detail{
  266. display: flex;
  267. align-items: center;
  268. margin-top: 8px;
  269. .usedNum{
  270. display: flex;
  271. align-items: center;
  272. padding: 0 5px;
  273. height: 14px;
  274. background: #FFF8F7;
  275. border-radius: 4px;
  276. border: 0.6px solid #FFC5C5;
  277. font-size: 10px;
  278. >img{
  279. width: 8px;
  280. height: 11px;
  281. }
  282. >div{
  283. margin-left: 3px;
  284. font-weight: 400;
  285. color: #FF6A6A
  286. }
  287. }
  288. .author {
  289. margin-left: 6px;
  290. font-weight: 400;
  291. font-size: 13px;
  292. color: rgba(0,0,0,0.5);
  293. }
  294. .playType,.singType{
  295. margin-left: 5px;
  296. width: 26px;
  297. height: 14px;
  298. background: #FFFFFF;
  299. border-radius: 3px;
  300. text-align: center;
  301. line-height: 14px;
  302. border: 0.6px solid #15B2FD;
  303. font-weight: 400;
  304. font-size: 10px;
  305. color: #15B2FD;
  306. &.singType{
  307. color: #CD8613;
  308. border-color: #CD8613;
  309. }
  310. }
  311. }
  312. }
  313. }
  314. .empty{
  315. margin-top: 10px;
  316. display: flex;
  317. flex-direction: column;
  318. align-items: center;
  319. >img{
  320. width: 182px;
  321. }
  322. >span{
  323. font-size: 14px;
  324. color: rgba(0,0,0,0.46);
  325. margin-top: 10px;
  326. }
  327. }