From 9d3f1aa7571cd532c0c27bf8376ebf4b2178a252 Mon Sep 17 00:00:00 2001 From: charles <981744753@qq.com> Date: 星期三, 24 七月 2024 17:45:45 +0800 Subject: [PATCH] fix:解决srm之前改了域名,处理各种异常状态,跳转也会出现异常等问题。 --- src/components/layout/components/appsidebar/index.scss | 41 +++++++++++++++++++++++++++++++++++------ 1 files changed, 35 insertions(+), 6 deletions(-) diff --git a/src/components/layout/components/appsidebar/index.scss b/src/components/layout/components/appsidebar/index.scss index a5d60a4..efc7c8c 100644 --- a/src/components/layout/components/appsidebar/index.scss +++ b/src/components/layout/components/appsidebar/index.scss @@ -3,20 +3,49 @@ // height: 100%; background-color: #314255; .box { - width: 200px; - .el-menu { - border-right: solid 0px #e6e6e6; + width: 187px; + .logo-view { + margin: 40px 20px 10px; } - .el-submenu .el-menu-item { - min-width: none; + .el-menu { + border-right: solid 0 #e6e6e6; } .icon { color: #bfcbd9; } + .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