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/Navbar.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index f5db9f5..687336b 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -1,5 +1,6 @@
 <template>
-  <div class="navbar">
+  <!--  <div class="navbar">-->
+  <div class="navbar" :style="{background: $store.state.settings.headBackgroundColorValue? '#304156':'#fff'}">
     <hamburger :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
 
     <breadcrumb class="breadcrumb-container" />
@@ -199,7 +200,7 @@
   height: 50px;
   overflow: hidden;
   position: relative;
-  background: #fff;
+  //background: #fff;
   box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
 
   //background-color: #f8f8fa;

--
Gitblit v1.9.3