From 302858f921bed077ab54dd31102f086bfe1add3c Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 07 二月 2024 11:59:47 +0800 Subject: [PATCH] srm项目 系统参数设置的前端页面开发+增加相关路由+公共列表组件增加是否可以配置表头的逻辑 --- src/components/layout/components/appsidebar/index.scss | 38 ++++++++++++++++++++++++++++++++------ 1 files changed, 32 insertions(+), 6 deletions(-) diff --git a/src/components/layout/components/appsidebar/index.scss b/src/components/layout/components/appsidebar/index.scss index 339111c..efc7c8c 100644 --- a/src/components/layout/components/appsidebar/index.scss +++ b/src/components/layout/components/appsidebar/index.scss @@ -3,23 +3,49 @@ // height: 100%; background-color: #314255; .box { - width: 200px; + width: 187px; .logo-view { margin: 40px 20px 10px; } .el-menu { - border-right: solid 0px #e6e6e6; - } - .el-submenu .el-menu-item { - min-width: none; + 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