diff --git a/fuintAdmin/src/assets/styles/sidebar.scss b/fuintAdmin/src/assets/styles/sidebar.scss
index 7ca637696..0ea129937 100644
--- a/fuintAdmin/src/assets/styles/sidebar.scss
+++ b/fuintAdmin/src/assets/styles/sidebar.scss
@@ -87,7 +87,13 @@
}
& .theme-dark .is-active > .el-submenu__title {
- color: $base-menu-color-active !important;
+ color: white !important;
+ background: linear-gradient( 229deg, #FF8646 0%, #FFA360 100%) !important;
+ border-top-left-radius: 8px !important; /* 左上圆角 */
+ border-top-right-radius: 8px !important; /* 右上圆角 */
+ i {
+ color: #fff !important;
+ }
}
& .nest-menu .el-submenu>.el-submenu__title,
@@ -107,7 +113,13 @@
background-color: $base-sub-menu-hover !important;
}
}
- }
+
+ .el-menu-item.is-active {
+ color: #FF9655 !important;
+ //菜单点击上的背景颜色
+ background: linear-gradient( 229deg, #FFEFE5 0%, #FFEFE5 100%) !important;
+ }
+ }
.hideSidebar {
//.sidebar-container {
diff --git a/fuintAdmin/src/assets/styles/variables.scss b/fuintAdmin/src/assets/styles/variables.scss
index 188eb618f..47eabb896 100644
--- a/fuintAdmin/src/assets/styles/variables.scss
+++ b/fuintAdmin/src/assets/styles/variables.scss
@@ -9,8 +9,8 @@ $yellow:#FEC171;
$panGreen: #30B08F;
// 默认菜单主题风格
-$base-menu-color:#CCC;// 菜单全部字体颜色
-$base-menu-color-active:#FF9655;// 父级菜单激活的字体颜色
+$base-menu-color:#727171;// 菜单全部字体颜色
+$base-menu-color-active:#FF9655;// 父级菜单激活的背景颜色
$base-menu-background:#fff;
$base-logo-title-color: #FF9655;
@@ -18,8 +18,8 @@ $base-menu-light-color:#ffffff;
$base-menu-light-background:#ffffff;
$base-logo-light-title-color: #FF9655;
-$base-sub-menu-background: #f8f8f8;//展开的背景色
-$base-sub-menu-hover: #adadad;
+$base-sub-menu-background: #FFFAF6;//展开的背景色
+$base-sub-menu-hover: #FFEFE5;
$base-sidebar-width: 200px;
diff --git a/fuintAdmin/src/layout/components/Sidebar/SidebarItem.vue b/fuintAdmin/src/layout/components/Sidebar/SidebarItem.vue
index b03d1a487..bbca18edb 100644
--- a/fuintAdmin/src/layout/components/Sidebar/SidebarItem.vue
+++ b/fuintAdmin/src/layout/components/Sidebar/SidebarItem.vue
@@ -3,14 +3,58 @@
-
+
+ {{onlyOneChild.meta.title}}
+
+
+
+
{{onlyOneChild.meta.title}}
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.meta.title}}