From f6f4d264eeac1c02f550810922fbbffdcdb3ee9b Mon Sep 17 00:00:00 2001 From: Zhou Weidong <502333560@qq.com> Date: Mon, 19 Oct 2026 13:27:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E8=B0=83=E6=95=B4=E4=BA=8C?= =?UTF-8?q?=E7=BA=A7=E8=8F=9C=E5=8D=95=E8=83=8C=E6=99=AF=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/business/menu.css | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/styles/business/menu.css b/src/styles/business/menu.css index b037da7..bf3c3de 100644 --- a/src/styles/business/menu.css +++ b/src/styles/business/menu.css @@ -53,6 +53,12 @@ background-color: var(--el-color-primary-light-9) !important; } +#v-menu .el-menu--inline .el-menu-item:hover, +#v-menu .el-menu--inline .el-menu-item.is-active { + color: var(--el-color-primary) !important; + background-color: transparent !important; +} + #v-menu .el-menu .el-menu { background: transparent; } @@ -81,6 +87,12 @@ html.dark #v-menu .el-menu-item.is-active { background-color: var(--app-primary-strong) !important; } +html.dark #v-menu .el-menu--inline .el-menu-item:hover, +html.dark #v-menu .el-menu--inline .el-menu-item.is-active { + color: #fff !important; + background-color: transparent !important; +} + .v-menu-popper--vertical, .v-menu-popper--horizontal { padding: 4px; @@ -110,12 +122,12 @@ html.dark #v-menu .el-menu-item.is-active { margin-right: 8px; } -.v-menu-popper--vertical .el-menu-item:hover, -.v-menu-popper--horizontal .el-menu-item:hover, -.v-menu-popper--vertical .el-menu-item.is-active, -.v-menu-popper--horizontal .el-menu-item.is-active { +html .v-menu-popper--vertical .el-menu-item:hover, +html .v-menu-popper--horizontal .el-menu-item:hover, +html .v-menu-popper--vertical .el-menu-item.is-active, +html .v-menu-popper--horizontal .el-menu-item.is-active { color: var(--el-color-primary) !important; - background-color: var(--el-color-primary-light-9) !important; + background-color: transparent !important; } html.dark .v-menu-popper--vertical, @@ -128,5 +140,5 @@ html.dark .v-menu-popper--horizontal .el-menu-item:hover, html.dark .v-menu-popper--vertical .el-menu-item.is-active, html.dark .v-menu-popper--horizontal .el-menu-item.is-active { color: #fff !important; - background-color: var(--app-primary-strong) !important; + background-color: transparent !important; }