From b921e2a7e50e10a98c4b87734c025e7388f290ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=B2=E4=B9=88=E4=BA=86?= Date: Tue, 30 Jan 2024 13:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A2=98=E9=A2=9C=E8=89=B2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 15 +-- src/layouts/admin/components/config.vue | 163 ++++++++---------------- src/stores/config.ts | 5 +- src/stores/interface/index.ts | 3 + src/styles/app.scss | 20 +-- src/styles/var.scss | 8 +- src/styles/vxeTable.scss | 36 +++++- src/utils/setTheme.ts | 42 ++++++ 8 files changed, 156 insertions(+), 136 deletions(-) create mode 100644 src/utils/setTheme.ts diff --git a/src/App.vue b/src/App.vue index 701d362..238a4a2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,19 +1,16 @@ - - diff --git a/src/layouts/admin/components/config.vue b/src/layouts/admin/components/config.vue index 963e936..8bad9ac 100644 --- a/src/layouts/admin/components/config.vue +++ b/src/layouts/admin/components/config.vue @@ -4,76 +4,6 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 全局
@@ -97,8 +27,25 @@ :model-value="configStore.getColorVal('elementUiPrimary')" /> + + + + + + + + +
- 侧边栏
@@ -147,24 +94,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
顶栏 @@ -181,24 +128,24 @@ :model-value="configStore.getColorVal('headerBarTabColor')" /> - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +