From 4b2f74aa11e76ae96623bbe041e8776f93b517fa Mon Sep 17 00:00:00 2001 From: hxr <1490493387@qq.com> Date: Wed, 21 Feb 2024 00:14:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20:sparkles:=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=B0=B4=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 20 +++++++-- src/layout/components/AppMain/index.vue | 8 +++- src/layout/components/Settings/index.vue | 2 +- src/layout/index.vue | 9 ++-- src/settings.ts | 3 +- src/store/modules/settings.ts | 53 ++++++++++++++---------- src/typings/global.d.ts | 11 ++--- 7 files changed, 66 insertions(+), 40 deletions(-) diff --git a/src/App.vue b/src/App.vue index d866a185..3d61f642 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,13 +1,27 @@ diff --git a/src/layout/components/AppMain/index.vue b/src/layout/components/AppMain/index.vue index ca1ef366..16280f70 100644 --- a/src/layout/components/AppMain/index.vue +++ b/src/layout/components/AppMain/index.vue @@ -73,7 +73,13 @@ const cachedViews = computed(() => tagsViewStore.cachedViews); // 缓存页面 .layout-top { .fixed-header + .app-main { - padding-top: $tags-view-height; + padding-top: 0; + } + + .hasTagsView { + .fixed-header + .app-main { + padding-top: $tags-view-height; + } } } diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue index efe3f278..c59dd24c 100644 --- a/src/layout/components/Settings/index.vue +++ b/src/layout/components/Settings/index.vue @@ -30,7 +30,7 @@
开启水印 - +
主题颜色 diff --git a/src/layout/index.vue b/src/layout/index.vue index 97958bf5..7c695161 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -25,7 +25,7 @@ - + @@ -38,7 +38,7 @@ - + @@ -47,6 +47,7 @@