Browse Source

更新样式

lex 2 years ago
parent
commit
d34d737dcd
3 changed files with 10 additions and 7 deletions
  1. 7 4
      src/views/music/list/index.module.less
  2. 1 1
      src/views/music/list/index.tsx
  3. 2 2
      vite.config.ts

+ 7 - 4
src/views/music/list/index.module.less

@@ -118,16 +118,19 @@
   }
   :global {
     .van-switch {
-      margin-left: 9px;
-
-      background: rgba(255, 255, 255, 0.2);
+      margin-right: 5px;
+      border-color: rgba(255, 255, 255, 0.3);
+      // background: rgba(255, 255, 255, 0.2);
+      background: rgba(158, 198, 250, 1);
     }
     .van-switch__node {
       background: rgba(255, 255, 255, 0.51);
+      // background: rgba(158, 198, 250, 1);
     }
 
     .van-switch--on {
-      background: rgba(255, 255, 255, 0.8);
+      // background: rgba(255, 255, 255, 0.8);
+      background: rgba(98, 196, 171, 1);
       .van-switch__node {
         background: rgba(255, 255, 255, 1);
       }

+ 1 - 1
src/views/music/list/index.tsx

@@ -284,8 +284,8 @@ export default defineComponent({
                           FetchList()
                         }}
                       >
-                        <span>免费</span>
                         <Switch v-model={exquisiteFlag.value} size="20px" />
+                        <span>免费</span>
                       </span>
                     )
                   }}

+ 2 - 2
vite.config.ts

@@ -11,8 +11,8 @@ function resolve(dir: string) {
 }
 // https://vitejs.dev/config/
 // https://github.com/vitejs/vite/issues/1930 .env
-const proxyUrl = 'https://online.colexiu.com/';
-// const proxyUrl = 'https://dev.colexiu.com/'
+// const proxyUrl = 'https://online.colexiu.com/';
+const proxyUrl = 'https://dev.colexiu.com/'
 // const proxyUrl = 'http://192.168.3.143:8000/'
 export default defineConfig({
   base: './',