From c34fe6f588045e527bccfd4c67b9764b2a141ea2 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期三, 26 二月 2025 15:24:41 +0800 Subject: [PATCH] 设施和环境条件代码迁移 --- 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