From 7d7fbe920279c9d7a42268a284427d2c42d8f0f2 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期二, 10 十月 2023 14:45:01 +0800
Subject: [PATCH] 弹出搜索框 公共组件修改

---
 src/components/layout/components/appsidebar/index.scss |   31 +++++++++++++++++++++++++++++--
 1 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/src/components/layout/components/appsidebar/index.scss b/src/components/layout/components/appsidebar/index.scss
index a5d60a4..b316532 100644
--- a/src/components/layout/components/appsidebar/index.scss
+++ b/src/components/layout/components/appsidebar/index.scss
@@ -3,7 +3,7 @@
   // height: 100%;
   background-color: #314255;
   .box {
-    width: 200px;
+    width: 187px;
     .el-menu {
       border-right: solid 0px #e6e6e6;
     }
@@ -16,7 +16,34 @@
     .el-submenu__title:hover,
     .el-menu-item:focus,
     .el-menu-item:hover {
-      background-color: cornflowerblue;
+      background-color: #011527 !important;
+    }
+
+    ::v-deep{
+      .el-menu .el-submenu .el-submenu__title:hover{
+        background-color: #011527 !important;
+      }
+    }
+
+    .el-submenu .el-menu-item {
+      width: 166px;
+      min-width: 166px;
+      height: 38px;
+      display: flex;
+      align-items: center;
+      margin-left: 11px;
+      border-radius: 6px;
+
+      &.is-active {
+        color: #fff !important;
+        flex-grow: 0;
+        fill: #fff !important;
+        background: #2a78fb !important;
+        i {
+          color: #fff;
+        }
+
+      }
     }
   }
 }

--
Gitblit v1.8.0