From 318e9516c17d36a3bb5fbaa015c4f25222fee514 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 03 一月 2023 11:31:18 +0800
Subject: [PATCH] 1.项目图标替换

---
 src/layout/components/Sidebar/index.vue |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index 7b27013..48276e9 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -3,7 +3,12 @@
 
     <logo v-if="showLogo" :collapse="isCollapse" />
 
-    <div v-if="$store.state.app.sidebar.opened&&!$store.state.settings.menuIsHorizontal" :class="{'leftBackgroundColorValue':$store.state.settings.leftBackgroundColorValue}" class="layoutLogo" />
+    <div
+      v-if="$store.state.app.sidebar.opened&&!$store.state.settings.menuIsHorizontal"
+      :class="{'leftBackgroundColorValue':$store.state.settings.leftBackgroundColorValue,
+               'leftBackgroundLogo':$store.state.settings.leftBackgroundColorValue}"
+      class="layoutLogo"
+    />
 
     <el-scrollbar wrap-class="scrollbar-wrapper" class="scrollbarWrapperClass">
       <el-menu
@@ -84,7 +89,7 @@
       return this.$store.state.settings.sidebarLogo
     },
     variables() {
-      console.log(variables, 2333)
+      // console.log(variables, 2333)
       // 鍏堣緭鍑鸿繖涓獀ariables鍊�  鐒跺悗淇敼鍏跺睘鎬у��
       variables.menuActiveText = this.$store.state.settings.theme
 
@@ -106,10 +111,15 @@
   left: 5px;
   width: 200px;
   height: 90px;
-  background: url("../../../assets/images/layout_logo.png") no-repeat;
+  background: url("../../../assets/images/layout_3.png") no-repeat;
 }
-.leftBackgroundColorValue{
-  background-color: #e0e0e0;
+
+.leftBackgroundLogo {
+  background: url("../../../assets/images/layout_2.png") no-repeat;
+}
+
+.leftBackgroundColorValue {
+  background-color: #f8f8fa;
 }
 
 .scrollbarWrapperClass {

--
Gitblit v1.9.3