From 95faeea7f46a9d8f4817c8950c697835a463ec1b Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 31 十二月 2022 14:52:44 +0800
Subject: [PATCH] 1.项目页签图标替换
---
src/layout/components/Settings/index.vue | 37 ++++++++++++++++++++++++++++++++++++-
1 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index 3930c88..38d6331 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -8,6 +8,41 @@
<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" style="display: flex;justify-content: space-between">
+ <span>鑿滃崟妯″紡</span>
+ <el-switch
+ v-model="$store.state.settings.menuIsHorizontal"
+ style="display: block"
+ :active-color="$store.state.settings.theme"
+ inactive-color="#ccc"
+ active-text="妯悜"
+ inactive-text="绔栧悜"
+ />
+ </div>
+ <div class="drawer-item" style="display: flex;justify-content: space-between">
+ <span>宸︿晶棰滆壊</span>
+ <el-switch
+ v-model="$store.state.settings.leftBackgroundColorValue"
+ style="display: block"
+ active-color="#304156"
+ :disabled="$store.state.settings.menuIsHorizontal"
+ inactive-color="#ccc"
+ active-text="娣辫壊"
+ inactive-text="娴呰壊"
+ />
+ </div>
+
<!-- 姝や笁涓姛鑳芥殏鏃朵笉鐢�-->
<!-- <div class="drawer-item">-->
<!-- <span>Open Tags-View</span>-->
@@ -92,7 +127,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