From a9196bbdf71d37ff69533e1993507f4bb46dd349 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 31 Aug 2023 10:02:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8F=9C=E5=8D=95=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TopNav/index.vue | 15 ++++++++++++++- src/layout/components/TagsView/index.vue | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index 58b2000..b93f585 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -7,7 +7,10 @@ > @@ -189,4 +192,14 @@ onMounted(() => { padding: 0 5px !important; margin: 0 10px !important; } + +/* 背景色隐藏 */ +.topmenu-container.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus, .topmenu-container.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover, .topmenu-container.el-menu--horizontal>.el-submenu .el-submenu__title:hover { + background-color: #ffffff !important; +} + +/* 图标右间距 */ +.topmenu-container .svg-icon { + margin-right: 4px; +} diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index c6ebdba..2a7a7b0 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -280,7 +280,7 @@ function handleScroll() { height: 8px; border-radius: 50%; position: relative; - margin-right: 2px; + margin-right: 5px; } } }