index.less 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. @import url('./iconfont/iconfont.css');
  2. :root {
  3. // Color Palette
  4. // --van-black: #000;
  5. // --van-white: #fff;
  6. // --van-gray-1: #f7f8fa;
  7. // --van-gray-2: #f2f3f5;
  8. // --van-gray-3: #ebedf0;
  9. // --van-gray-4: #dcdee0;
  10. // --van-gray-5: #c8c9cc;
  11. // --van-gray-6: #969799;
  12. // --van-gray-7: #646566;
  13. --van-gray-8: #333;
  14. // --van-red: #ee0a24;
  15. // --van-blue: #1989fa;
  16. --van-primary: #ff8057 !important;
  17. --van-picker-confirm-action-color: #ff8057 !important;
  18. --van-primary-text: #f67146 !important;
  19. // --van-popover-light-text-color: var(--van-primary) !important;
  20. // --van-orange: #ff976a;
  21. // --van-orange-dark: #ed6a0c;
  22. // --van-orange-light: #fffbe8;
  23. // --van-green: #07c160;
  24. // // Gradient Colors
  25. // --van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);
  26. // --van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);
  27. // // Component Colors
  28. --van-primary-color: var(--van-primary) !important;
  29. // --van-success-color: var(--van-green);
  30. // --van-danger-color: var(--van-red);
  31. // --van-warning-color: var(--van-orange);
  32. // --van-text-color: var(--van-gray-8);
  33. // --van-text-color-2: var(--van-gray-6);
  34. // --van-text-color-3: var(--van-gray-5);
  35. // --van-text-link-color: #576b95;
  36. // --van-active-color: var(--van-gray-2);
  37. // --van-active-opacity: 0.6;
  38. // --van-disabled-opacity: 0.5;
  39. // --van-background-color: var(--van-gray-1);
  40. // --van-background-color-light: var(--van-white);
  41. // // Padding
  42. // --van-padding-base: 4px;
  43. // --van-padding-xs: 8px;
  44. // --van-padding-sm: 12px;
  45. // --van-padding-md: 16px;
  46. // --van-padding-lg: 24px;
  47. // --van-padding-xl: 32px;
  48. // // Font
  49. // --van-font-size-xs: 10px;
  50. // --van-font-size-sm: 12px;
  51. // --van-font-size-md: 14px;
  52. // --van-font-size-lg: 16px;
  53. // --van-font-weight-bold: 500;
  54. // --van-line-height-xs: 14px;
  55. // --van-line-height-sm: 18px;
  56. // --van-line-height-md: 20px;
  57. // --van-line-height-lg: 22px;
  58. // --van-base-font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
  59. // Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB',
  60. // 'Microsoft Yahei', sans-serif;
  61. // --van-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue,
  62. // Arial, sans-serif;
  63. // // Animation
  64. // --van-animation-duration-base: 0.3s;
  65. // --van-animation-duration-fast: 0.2s;
  66. // --van-animation-timing-function-enter: ease-out;
  67. // --van-animation-timing-function-leave: ease-in;
  68. // // Border
  69. // --van-border-color: var(--van-gray-3);
  70. // --van-border-width-base: 1px;
  71. // --van-border-radius-sm: 2px;
  72. // --van-border-radius-md: 4px;
  73. // --van-border-radius-lg: 8px;
  74. // --van-border-radius-max: 999px;
  75. --van-cell-group-inset-padding: 0 13px;
  76. --van-tag-default-color: #f8f8f8 !important;
  77. --van-tag-text-default-color: #c0c0c0;
  78. --van-tabs-bottom-bar-width: 20px;
  79. --col-background-color: #f6f8f9;
  80. --white: #fff;
  81. --tips-color: #999;
  82. --strong--color: #ff4e19;
  83. --box-shadow-color: rgba(0, 0, 0, 0.05);
  84. --tag-border-color: #2dc7aa;
  85. --tag-bg-color: #e9fff8;
  86. --tag-color: #2dc7aa;
  87. }
  88. * {
  89. padding: 0;
  90. margin: 0;
  91. border: 0;
  92. }
  93. #app {
  94. font-family: Avenir, Helvetica, Arial, sans-serif;
  95. -webkit-font-smoothing: antialiased;
  96. -moz-osx-font-smoothing: grayscale;
  97. color: #2c3e50;
  98. min-height: 100vh;
  99. font-family: PingFangSC-Medium, PingFang SC;
  100. }
  101. body {
  102. background-color: #f6f8f9;
  103. user-select: none;
  104. margin-top: 0 !important;
  105. }
  106. .mb12 {
  107. margin-bottom: 12px !important;
  108. }
  109. .btnGroup {
  110. padding: 0 25px;
  111. padding-bottom: calc(20px + env(safe-area-inset-bottom));
  112. .van-button {
  113. font-size: 16px !important;
  114. font-weight: 500;
  115. }
  116. }
  117. .btnMore {
  118. padding-left: 13px;
  119. padding-right: 13px;
  120. display: flex !important;
  121. justify-content: center !important;
  122. // :global {
  123. .van-button {
  124. width: 100% !important;
  125. }
  126. .van-button + .van-button {
  127. margin-left: 15px;
  128. }
  129. // }
  130. }
  131. // .van-sticky {
  132. // transform: translateZ(0);
  133. // -webkit-transform: translateZ(0);
  134. // }
  135. // .van-sticky--fixed {
  136. // .btnGroup {
  137. // background-color: #fff;
  138. // padding-top: 15px;
  139. // }
  140. // }
  141. .sticky {
  142. position: relative;
  143. .van-sticky {
  144. height: inherit !important;
  145. top: var(--van-sticky-z-index) !important;
  146. position: fixed;
  147. width: 100%;
  148. }
  149. :global(.van-sticky--fixed) {
  150. box-shadow: 10px 10px 10px var(--box-shadow-color);
  151. }
  152. }
  153. .van-toast {
  154. z-index: 9999 !important;
  155. }
  156. .van-sticky--fixed {
  157. position: fixed;
  158. z-index: 1999;
  159. }
  160. :root {
  161. --music-list-item-background-color: #fff;
  162. --music-list-item-title-color: #333;
  163. --music-list-item-desc-color: #333;
  164. --music-list-item-mate-color: #6a6a6a;
  165. --music-list-item-border-color: #f1f1f1;
  166. --music-list-item-vip-bg: #fff1cd;
  167. --music-list-item-vip-color: #ff6c00;
  168. --music-list-item-free-bg: #fff1e7;
  169. --music-list-item-free-color: #ff4700;
  170. --music-list-item-charge-bg: #e1f0ff;
  171. --music-list-item-charge-color: #0086ff;
  172. --van-overlay-background: rgba(0, 0, 0, 0.4);
  173. }
  174. .appRootToast {
  175. .van-overlay {
  176. // background: rgba(0, 0, 0, 0.4);
  177. background: #fff;
  178. // transition: all 0 ease;
  179. }
  180. .van-fade-enter-from,
  181. .van-fade-enter-active {
  182. animation: none;
  183. }
  184. .van-toast__text {
  185. width: 100px;
  186. height: 100px;
  187. color: #fff;
  188. display: flex;
  189. align-items: center;
  190. flex-direction: column;
  191. justify-content: center;
  192. }
  193. .van-toast--text {
  194. // background-color: rgba(255, 255, 255, 1);
  195. // background-color: rgba(0, 0, 0, 0.9);
  196. background-color: transparent;
  197. // box-shadow: 0px 8px 20px 2px #f0f0f0;
  198. }
  199. .toastAnimate {
  200. width: 70px;
  201. height: 70px;
  202. }
  203. }
  204. .cell-section {
  205. width: auto;
  206. border-radius: 6px;
  207. margin: 0 13px;
  208. padding: 15px 12px;
  209. }
  210. .van-cell__right-icon {
  211. font-size: 13px;
  212. font-weight: bold;
  213. color: #d8d8d8;
  214. }
  215. .van-field__control {
  216. font-size: 16px;
  217. }
  218. @font-face {
  219. font-family: 'DINA';
  220. src: url('./font/DIN_Alternate_Bold.ttf');
  221. }
  222. .emptyRootContainer {
  223. display: flex;
  224. align-items: center;
  225. justify-content: center;
  226. min-height: 100vh;
  227. flex-direction: column;
  228. .o-result-container {
  229. flex: 1 auto;
  230. display: flex;
  231. align-items: center;
  232. }
  233. }