From 1888b426ff2b6a529f5fdef0f0453dadef71824b Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 17 四月 2024 10:17:38 +0800 Subject: [PATCH] 隐藏多单位的问题 --- src/components/layout/components/appsidebar/index.scss | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/components/layout/components/appsidebar/index.scss b/src/components/layout/components/appsidebar/index.scss index 339111c..6a93335 100644 --- a/src/components/layout/components/appsidebar/index.scss +++ b/src/components/layout/components/appsidebar/index.scss @@ -3,10 +3,11 @@ // height: 100%; background-color: #314255; .box { - width: 200px; + width: 187px; .logo-view { margin: 40px 20px 10px; } + .el-menu { border-right: solid 0px #e6e6e6; } @@ -19,7 +20,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