Browse Source

✨ feat: 更新主题色

Pchen. 4 months ago
parent
commit
48349a81a3

+ 1 - 0
package.json

@@ -10,6 +10,7 @@
   },
   "dependencies": {
     "@amap/amap-jsapi-loader": "^1.0.1",
+    "@arco-themes/vue-mengtu": "^0.1.1",
     "@chenfengyuan/vue-qrcode": "^2.0.0",
     "@vladmandic/face-api": "^1.7.15",
     "@wangeditor/editor": "^5.1.23",

+ 9 - 136
pnpm-lock.yaml

@@ -11,6 +11,9 @@ importers:
       '@amap/amap-jsapi-loader':
         specifier: ^1.0.1
         version: 1.0.1
+      '@arco-themes/vue-mengtu':
+        specifier: ^0.1.1
+        version: 0.1.1(@arco-design/web-vue@2.57.0(vue@3.5.18))
       '@chenfengyuan/vue-qrcode':
         specifier: ^2.0.0
         version: 2.0.0(qrcode@1.5.4)(vue@3.5.18)
@@ -72,9 +75,6 @@ importers:
       '@arco-design/web-vue':
         specifier: ^2.57.0
         version: 2.57.0(vue@3.5.18)
-      '@arco-plugins/vite-vue':
-        specifier: ^1.4.5
-        version: 1.4.5
       '@vitejs/plugin-vue':
         specifier: ^5.2.1
         version: 5.2.4(vite@6.3.5(less@4.4.1))(vue@3.5.18)
@@ -98,24 +98,10 @@ packages:
     peerDependencies:
       vue: ^3.1.0
 
-  '@arco-plugins/vite-vue@1.4.5':
-    resolution: {integrity: sha512-2pJ9mpZP9mRD7NGZwRsZTS9C/US5ilEBBUqxN5Qgnd3Td50u9apJVKAABCZjG2K2eHiyZg7Fd9XhgHJXVJJmsw==}
-
-  '@babel/code-frame@7.27.1':
-    resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
-    engines: {node: '>=6.9.0'}
-
-  '@babel/generator@7.28.3':
-    resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==}
-    engines: {node: '>=6.9.0'}
-
-  '@babel/helper-globals@7.28.0':
-    resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==}
-    engines: {node: '>=6.9.0'}
-
-  '@babel/helper-module-imports@7.27.1':
-    resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==}
-    engines: {node: '>=6.9.0'}
+  '@arco-themes/vue-mengtu@0.1.1':
+    resolution: {integrity: sha512-7WqM8Vvzb3HszdRU6pdhSjwP6OxT2EchRHohAZD1W7uKdlbML5Y3PdEdpZojfCYKXjPf7zXiFNpgD6NjWg0WfQ==}
+    peerDependencies:
+      '@arco-design/web-vue': ^2.54.3
 
   '@babel/helper-string-parser@7.27.1':
     resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}
@@ -134,14 +120,6 @@ packages:
     resolution: {integrity: sha512-9uIQ10o0WGdpP6GDhXcdOJPJuDgFtIDtN/9+ArJQ2NAfAmiuhTQdzkaTGR33v43GYS2UrSA0eX2pPPHoFVvpxA==}
     engines: {node: '>=6.9.0'}
 
-  '@babel/template@7.27.2':
-    resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}
-    engines: {node: '>=6.9.0'}
-
-  '@babel/traverse@7.28.3':
-    resolution: {integrity: sha512-7w4kZYHneL3A6NP2nxzHvT3HCZ7puDZZjFMqDpBPECub79sTtSO5CGXDkKrTQq8ksAwfD/XI2MRFX23njdDaIQ==}
-    engines: {node: '>=6.9.0'}
-
   '@babel/types@7.28.2':
     resolution: {integrity: sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==}
     engines: {node: '>=6.9.0'}
@@ -308,19 +286,9 @@ packages:
     cpu: [x64]
     os: [win32]
 
-  '@jridgewell/gen-mapping@0.3.13':
-    resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
-
-  '@jridgewell/resolve-uri@3.1.2':
-    resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
-    engines: {node: '>=6.0.0'}
-
   '@jridgewell/sourcemap-codec@1.5.5':
     resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
 
-  '@jridgewell/trace-mapping@0.3.30':
-    resolution: {integrity: sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q==}
-
   '@rollup/rollup-android-arm-eabi@4.46.3':
     resolution: {integrity: sha512-UmTdvXnLlqQNOCJnyksjPs1G4GqXNGW1LrzCe8+8QoaLhhDeTXYBgJ3k6x61WIhlHX2U+VzEJ55TtIjR/HTySA==}
     cpu: [arm]
@@ -430,9 +398,6 @@ packages:
   '@types/event-emitter@0.3.5':
     resolution: {integrity: sha512-zx2/Gg0Eg7gwEiOIIh5w9TrhKKTeQh7CPCOPNc0el4pLSwzebA8SmnHwZs2dWlLONvyulykSwGSQxQHLhjGLvQ==}
 
-  '@types/node@16.18.126':
-    resolution: {integrity: sha512-OTcgaiwfGFBKacvfwuHzzn1KLxH/er8mluiy8/uM3sGXHaRe73RrSIj01jow9t4kJEW633Ov+cOexXeiApTyAw==}
-
   '@uppy/companion-client@2.2.2':
     resolution: {integrity: sha512-5mTp2iq97/mYSisMaBtFRry6PTgZA6SIL7LePteOV5x0/DxKfrZW3DEiQERJmYpHzy7k8johpm2gHnEKto56Og==}
 
@@ -672,15 +637,6 @@ packages:
   dayjs@1.11.13:
     resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
 
-  debug@4.4.1:
-    resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==}
-    engines: {node: '>=6.0'}
-    peerDependencies:
-      supports-color: '*'
-    peerDependenciesMeta:
-      supports-color:
-        optional: true
-
   decamelize@1.2.0:
     resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==}
     engines: {node: '>=0.10.0'}
@@ -868,17 +824,9 @@ packages:
     resolution: {integrity: sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==}
     engines: {node: '>=12.13'}
 
-  js-tokens@4.0.0:
-    resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
-
   jsencrypt@3.5.4:
     resolution: {integrity: sha512-kNjfYEMNASxrDGsmcSQh/rUTmcoRfSUkxnAz+MMywM8jtGu+fFEZ3nJjHM58zscVnwR0fYmG9sGkTDjqUdpiwA==}
 
-  jsesc@3.1.0:
-    resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}
-    engines: {node: '>=6'}
-    hasBin: true
-
   less@4.4.1:
     resolution: {integrity: sha512-X9HKyiXPi0f/ed0XhgUlBeFfxrlDP3xR4M7768Zl+WXLUViuL9AOPPJP4nCV0tgRWvTYvpNmN0SFhZOQzy16PA==}
     engines: {node: '>=14'}
@@ -954,9 +902,6 @@ packages:
   mitt@3.0.1:
     resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==}
 
-  ms@2.1.3:
-    resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
-
   namespace-emitter@2.0.1:
     resolution: {integrity: sha512-N/sMKHniSDJBjfrkbS/tpkPj4RAbvW3mr8UAzvlMHyun93XEm83IAvhWtJVHo+RHn/oO8Job5YN4b+wRjSVp5g==}
 
@@ -1272,39 +1217,9 @@ snapshots:
       scroll-into-view-if-needed: 2.2.31
       vue: 3.5.18
 
-  '@arco-plugins/vite-vue@1.4.5':
+  '@arco-themes/vue-mengtu@0.1.1(@arco-design/web-vue@2.57.0(vue@3.5.18))':
     dependencies:
-      '@babel/generator': 7.28.3
-      '@babel/helper-module-imports': 7.27.1
-      '@babel/parser': 7.28.3
-      '@babel/traverse': 7.28.3
-      '@babel/types': 7.28.2
-      '@types/node': 16.18.126
-    transitivePeerDependencies:
-      - supports-color
-
-  '@babel/code-frame@7.27.1':
-    dependencies:
-      '@babel/helper-validator-identifier': 7.27.1
-      js-tokens: 4.0.0
-      picocolors: 1.1.1
-
-  '@babel/generator@7.28.3':
-    dependencies:
-      '@babel/parser': 7.28.3
-      '@babel/types': 7.28.2
-      '@jridgewell/gen-mapping': 0.3.13
-      '@jridgewell/trace-mapping': 0.3.30
-      jsesc: 3.1.0
-
-  '@babel/helper-globals@7.28.0': {}
-
-  '@babel/helper-module-imports@7.27.1':
-    dependencies:
-      '@babel/traverse': 7.28.3
-      '@babel/types': 7.28.2
-    transitivePeerDependencies:
-      - supports-color
+      '@arco-design/web-vue': 2.57.0(vue@3.5.18)
 
   '@babel/helper-string-parser@7.27.1': {}
 
@@ -1316,24 +1231,6 @@ snapshots:
 
   '@babel/runtime@7.28.3': {}
 
-  '@babel/template@7.27.2':
-    dependencies:
-      '@babel/code-frame': 7.27.1
-      '@babel/parser': 7.28.3
-      '@babel/types': 7.28.2
-
-  '@babel/traverse@7.28.3':
-    dependencies:
-      '@babel/code-frame': 7.27.1
-      '@babel/generator': 7.28.3
-      '@babel/helper-globals': 7.28.0
-      '@babel/parser': 7.28.3
-      '@babel/template': 7.27.2
-      '@babel/types': 7.28.2
-      debug: 4.4.1
-    transitivePeerDependencies:
-      - supports-color
-
   '@babel/types@7.28.2':
     dependencies:
       '@babel/helper-string-parser': 7.27.1
@@ -1422,20 +1319,8 @@ snapshots:
   '@esbuild/win32-x64@0.25.9':
     optional: true
 
-  '@jridgewell/gen-mapping@0.3.13':
-    dependencies:
-      '@jridgewell/sourcemap-codec': 1.5.5
-      '@jridgewell/trace-mapping': 0.3.30
-
-  '@jridgewell/resolve-uri@3.1.2': {}
-
   '@jridgewell/sourcemap-codec@1.5.5': {}
 
-  '@jridgewell/trace-mapping@0.3.30':
-    dependencies:
-      '@jridgewell/resolve-uri': 3.1.2
-      '@jridgewell/sourcemap-codec': 1.5.5
-
   '@rollup/rollup-android-arm-eabi@4.46.3':
     optional: true
 
@@ -1502,8 +1387,6 @@ snapshots:
 
   '@types/event-emitter@0.3.5': {}
 
-  '@types/node@16.18.126': {}
-
   '@uppy/companion-client@2.2.2':
     dependencies:
       '@uppy/utils': 4.1.3
@@ -1806,10 +1689,6 @@ snapshots:
 
   dayjs@1.11.13: {}
 
-  debug@4.4.1:
-    dependencies:
-      ms: 2.1.3
-
   decamelize@1.2.0: {}
 
   delayed-stream@1.0.0: {}
@@ -2011,12 +1890,8 @@ snapshots:
 
   is-what@4.1.16: {}
 
-  js-tokens@4.0.0: {}
-
   jsencrypt@3.5.4: {}
 
-  jsesc@3.1.0: {}
-
   less@4.4.1:
     dependencies:
       copy-anything: 2.0.6
@@ -2093,8 +1968,6 @@ snapshots:
 
   mitt@3.0.1: {}
 
-  ms@2.1.3: {}
-
   namespace-emitter@2.0.1: {}
 
   nanoid@3.3.11: {}

+ 1 - 1
public/logo.svg

@@ -1 +1 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1754786218152" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="28063" xmlns:xlink="http://www.w3.org/1999/xlink" width="256" height="256"><path d="M512.558545 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#3370FF" p-id="28064"></path><path d="M194.932364 765.393455l170.356363-98.490182 59.578182-91.973818a60.136727 60.136727 0 0 0 30.161455 33.698909l26.251636 12.846545-59.764364 93.090909A37.236364 37.236364 0 0 1 409.6 726.109091l-177.989818 102.772364a36.305455 36.305455 0 0 1-36.305455-62.743273z m526.522181-389.492364a84.526545 84.526545 0 1 1 84.526546-84.526546 84.526545 84.526545 0 0 1-84.526546 84.526546z m-40.401454 81.733818A60.695273 60.695273 0 0 0 701.160727 409.6l39.098182 26.251636 73.169455-80.058181a36.305455 36.305455 0 0 1 53.434181 48.779636l-94.208 103.144727a36.119273 36.119273 0 0 1-46.917818 5.585455l-61.067636-40.96z m0 0" fill="#ffffff" p-id="28065"></path><path d="M606.021818 655.36L465.454545 587.031273a36.305455 36.305455 0 0 1-8.192-59.578182l124.369455-110.592-74.472727-49.152-108.544 31.092364a36.305455 36.305455 0 0 1-19.921455-69.632l124.555637-35.560728a36.119273 36.119273 0 0 1 29.975272 4.654546l127.348364 84.340363a36.305455 36.305455 0 0 1 4.096 57.157819l-119.156364 105.937454 127.720728 62.184727a36.305455 36.305455 0 0 1 14.894545 51.572364l-96.628364 156.392727a36.119273 36.119273 0 1 1-61.626181-37.236363z m0 0" fill="#ffffff" p-id="28066"></path></svg>
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1771161373415" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11071" xmlns:xlink="http://www.w3.org/1999/xlink" width="256" height="256"><path d="M512.558545 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#FF718F" p-id="11072"></path><path d="M194.932364 765.393455l170.356363-98.490182 59.578182-91.973818a60.136727 60.136727 0 0 0 30.161455 33.698909l26.251636 12.846545-59.764364 93.090909A37.236364 37.236364 0 0 1 409.6 726.109091l-177.989818 102.772364a36.305455 36.305455 0 0 1-36.305455-62.743273z m526.522181-389.492364a84.526545 84.526545 0 1 1 84.526546-84.526546 84.526545 84.526545 0 0 1-84.526546 84.526546z m-40.401454 81.733818A60.695273 60.695273 0 0 0 701.160727 409.6l39.098182 26.251636 73.169455-80.058181a36.305455 36.305455 0 0 1 53.434181 48.779636l-94.208 103.144727a36.119273 36.119273 0 0 1-46.917818 5.585455l-61.067636-40.96z m0 0" fill="#FFFFFF" p-id="11073"></path><path d="M606.021818 655.36L465.454545 587.031273a36.305455 36.305455 0 0 1-8.192-59.578182l124.369455-110.592-74.472727-49.152-108.544 31.092364a36.305455 36.305455 0 0 1-19.921455-69.632l124.555637-35.560728a36.119273 36.119273 0 0 1 29.975272 4.654546l127.348364 84.340363a36.305455 36.305455 0 0 1 4.096 57.157819l-119.156364 105.937454 127.720728 62.184727a36.305455 36.305455 0 0 1 14.894545 51.572364l-96.628364 156.392727a36.119273 36.119273 0 1 1-61.626181-37.236363z m0 0" fill="#FFFFFF" p-id="11074"></path></svg>

+ 1 - 1
src/components/CanvasBackend/index.vue

@@ -44,7 +44,7 @@ export default {
       const fragShaderSource = `
         void main() {
           if (length(gl_PointCoord - vec2(0.5, 0.5)) > 0.49) discard;  // 如果超出圆形范围,则丢弃
-          gl_FragColor = vec4(0.5, 0.7, 1.0, 1.0);  // 设置点的颜色
+          gl_FragColor = vec4(1.0, 0.51, 0.65, 1.0);  // 设置点的颜色
         }
       `;
 

+ 1 - 1
src/main.js

@@ -8,7 +8,7 @@ if (isElectron()) {
 }
 
 import ArcoVue from '@arco-design/web-vue'
-import '@arco-design/web-vue/dist/arco.css'
+import '@arco-themes/vue-mengtu/index.less'
 
 import ArcoVueIcon from '@arco-design/web-vue/es/icon'
 

+ 1 - 1
src/pages/Login/components/login.vue

@@ -151,7 +151,7 @@ const requestFailed = (msg) => {
 }
 
 .logo .title {
-    color: #3370FF;
+    color: #FE82A5;
     font-size: 1.8em;
     font-weight: bold;
     margin-left: 15px;

+ 1 - 1
src/pages/Login/components/register.vue

@@ -216,7 +216,7 @@ const requestFailed = (msg) => {
 }
 
 .logo .title {
-    color: #3370FF;
+    color: #FE82A5;
     font-size: 1.8em;
     font-weight: bold;
     margin-left: 15px;

+ 4 - 4
src/pages/Login/uniLogin/uniLogin.vue

@@ -9,13 +9,13 @@
             <div class="uniLoginButton">
                 <div class="button">
                     <a-tooltip content="QQ登录" mini>
-                        <a-avatar :size="64" :style="{ backgroundColor: '#3370ff' }"
+                        <a-avatar :size="64" :style="{ backgroundColor: '#FE82A5' }"
                             @click="GetLoginUrl('qq')"><icon-qq /></a-avatar>
                     </a-tooltip>
                 </div>
                 <div class="button">
                     <a-tooltip content="微信登录" mini>
-                        <a-avatar :size="64" :style="{ backgroundColor: '#3370ff' }"
+                        <a-avatar :size="64" :style="{ backgroundColor: '#FE82A5' }"
                             @click="GetLoginUrl('wx')"><icon-wechat /></a-avatar>
                     </a-tooltip>
                 </div>
@@ -132,7 +132,7 @@ onMounted(() => {
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
-        color: #3370FF;
+        color: #FE82A5;
 
         .text {
             font-family: 'Alimama ShuHeiTi';
@@ -157,7 +157,7 @@ onMounted(() => {
     display: flex;
 
     .title {
-        color: #3370FF;
+        color: #FE82A5;
         font-size: 1.8em;
         font-weight: bold;
         margin-left: 15px;

+ 1 - 1
src/pages/face/components/faceReco.vue

@@ -516,7 +516,7 @@ function retry() {
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
-    color: #3370FF;
+    color: #FE82A5;
 
     .text {
       font-family: 'Alimama ShuHeiTi';

+ 1 - 1
src/pages/face/index.vue

@@ -132,7 +132,7 @@ onMounted(() => {
             margin-bottom: 30px;
 
             .title {
-                color: #3370FF;
+                color: #FE82A5;
                 font-size: 1.6em;
                 font-weight: bold;
                 margin-left: 10px;

+ 1 - 1
src/pages/qxs/getBookList.vue

@@ -36,7 +36,7 @@
                 <a-divider direction="vertical" />
 
                 <div class="userInfo">
-                    <a-avatar :style="{ backgroundColor: '#3370ff' }" :size="70">
+                    <a-avatar :style="{ backgroundColor: '#FE82A5' }" :size="70">
                         <IconUser />
                     </a-avatar>