From e5454b769d44a34af423bf87ac8a740bf8c20341 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期二, 29 四月 2025 13:25:29 +0800 Subject: [PATCH] Merge branch 'dev' into dev_tides --- 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