From 1ea1ad2c56e95e71e1756cfca73e7183f9795ac9 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 16 四月 2025 15:23:39 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev_test --- src/layout/components/Sidebar/index.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index e16fdcc..39636dd 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -8,7 +8,7 @@ :background-color="settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground" :text-color="settings.sideTheme === 'theme-dark' ? variables.menuColor : variables.menuLightColor" :unique-opened="true" - :active-text-color="settings.theme" + :active-text-color="variables.menuLightColor" :collapse-transition="false" mode="vertical" > @@ -55,3 +55,12 @@ } }; </script> + +<style style lang="scss" scoped> +::v-deep .is-active { + background-color: rgba(0, 0, 0, 0.1) !important; +} +::v-deep .el-submenu__title i { + color: #ffffff !important; +} +</style> -- Gitblit v1.9.3