From d699206cd99c0d37be6edfa083b7f463c6c6e0b1 Mon Sep 17 00:00:00 2001 From: MTrun <1262327911@qq.com> Date: Tue, 14 Dec 2021 20:00:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/constant.ts | 5 - build/vite/plugin/compress.ts | 35 --- index.html | 4 +- public/favicon.ico | Bin 4286 -> 4286 bytes src/App.vue | 20 +- src/assets/images/login.svg | 127 ---------- src/assets/images/login/one.png | Bin 0 -> 34727 bytes src/assets/images/login/three.png | Bin 0 -> 36155 bytes src/assets/images/login/two.png | Bin 0 -> 28290 bytes src/plugins/naive.ts | 2 + src/router/router-guards.ts | 3 +- src/settings/designSetting.ts | 9 +- src/store/modules/designStore/designStore.ts | 4 +- src/styles/common/theme.scss | 9 + src/styles/common/var.scss | 15 +- src/views/login/index.vue | 233 +++++++++++-------- 16 files changed, 176 insertions(+), 290 deletions(-) delete mode 100644 build/vite/plugin/compress.ts delete mode 100644 src/assets/images/login.svg create mode 100644 src/assets/images/login/one.png create mode 100644 src/assets/images/login/three.png create mode 100644 src/assets/images/login/two.png create mode 100644 src/styles/common/theme.scss diff --git a/build/constant.ts b/build/constant.ts index cbcc5f39..20445820 100644 --- a/build/constant.ts +++ b/build/constant.ts @@ -1,6 +1 @@ -/** - * The name of the configuration file entered in the production environment - */ -export const GLOB_CONFIG_FILE_NAME = 'app.config.js'; - export const OUTPUT_DIR = 'dist'; diff --git a/build/vite/plugin/compress.ts b/build/vite/plugin/compress.ts deleted file mode 100644 index 9563679c..00000000 --- a/build/vite/plugin/compress.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Used to package and output gzip. Note that this does not work properly in Vite, the specific reason is still being investigated - * https://github.com/anncwb/vite-plugin-compression - */ -import type { Plugin } from 'vite'; - -import compressPlugin from 'vite-plugin-compression'; - -export function configCompressPlugin( - compress: 'gzip' | 'brotli' | 'none', - deleteOriginFile = false -): Plugin | Plugin[] { - const compressList = compress.split(','); - - const plugins: Plugin[] = []; - - if (compressList.includes('gzip')) { - plugins.push( - compressPlugin({ - ext: '.gz', - deleteOriginFile, - }) - ); - } - if (compressList.includes('brotli')) { - plugins.push( - compressPlugin({ - ext: '.br', - algorithm: 'brotliCompress', - deleteOriginFile, - }) - ); - } - return plugins; -} diff --git a/index.html b/index.html index f7b35be2..ee17f2d7 100644 --- a/index.html +++ b/index.html @@ -8,9 +8,9 @@ name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" /> - + GoView - + diff --git a/public/favicon.ico b/public/favicon.ico index df36fcfb72584e00488330b560ebcf34a41c64c2..ba56dad6f1b592a334fc54edab1db9a75378be78 100644 GIT binary patch literal 4286 zcmeHKO=uHA6rPss7Cm{8RzfX7aZ^eWm5K^B)*rN1?FJN)MC#wgi&~^7E&d=LwAN6B z%|#IlMLj8q2!i-`61++g39X(4i{d{TlJWayn{{1hW32HaPI=wgH}8Gln>VvFFGAGd zFBTL0FRsiGqFxBm41r2?K&V#@WB=QqWgy)W5oybarsGBe&n-&aew1T>tEDW%N?Yb& zDsGIS{}lY!zF{7RlkY0-XI7^9Eu;F0R5i!aNX@*uTmF_YK#Mc8EVURqm1> z@-{#$ViKGEu!gm=kSFeQ6aG=G^_zERyX2R1n|@gD*JnCq!LdCZ`>zK&y?1hdg%5o( zhdkbw6O-8F2;)b724UCBarg{<$ZU{%TBpgg>t}n|PY$)q?aijVzN^*Ku}>Yx$W0ks z->7`wXSyVEa9=vzg4pEH@$Z;Zi*X}|_?obHrgQGEPOX#hk%!x7dbkhwFIKwqo9B8u z_G!nl534hY zLOFUkQBD3!T7FIb$sd$Q2bZdSHN4I8#&rAd_{s)l=Y5xx`N#U-1pg}k+}Vfjr~Mb? z=KI%k-SWY{wjaKC9si3HtL5XqWnPTf|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