From 03e89ae339ff9da3c620fae212b89c302fea5997 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 30 十二月 2022 16:52:59 +0800
Subject: [PATCH] 1.新增头部深色浅色颜色切换功能
---
src/layout/components/Settings/index.vue | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index 3930c88..404c2b4 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -8,6 +8,18 @@
<theme-picker style="float: right;height: 26px;margin: -3px 8px 0 0;" @change="themeChange" />
</div>
+ <div class="drawer-item" style="display: flex;justify-content: space-between">
+ <span>澶撮儴棰滆壊</span>
+ <el-switch
+ v-model="$store.state.settings.headBackgroundColorValue"
+ style="display: block"
+ active-color="#304156"
+ inactive-color="#ccc"
+ active-text="娣辫壊"
+ inactive-text="娴呰壊"
+ />
+ </div>
+
<!-- 姝や笁涓姛鑳芥殏鏃朵笉鐢�-->
<!-- <div class="drawer-item">-->
<!-- <span>Open Tags-View</span>-->
@@ -92,7 +104,7 @@
.drawer-title {
margin-bottom: 12px;
color: rgba(0, 0, 0, .85);
- font-size: 14px;
+ font-size: 18px;
line-height: 22px;
}
--
Gitblit v1.9.3