diff --git a/frontend/src/components/layout/Menu.vue b/frontend/src/components/layout/Menu.vue index c0f1c91f..8991599c 100644 --- a/frontend/src/components/layout/Menu.vue +++ b/frontend/src/components/layout/Menu.vue @@ -86,7 +86,7 @@ const routerList = computed(() => { } } - .ed-sub-menu .ed-sub-menu__title:hover { + .ed-sub-menu .ed-sub-menu__title { border-radius: 6px; } @@ -100,4 +100,24 @@ const routerList = computed(() => { margin-right: 8px; } } +.ed-popper.is-light:has(.ed-menu--popup) { + border: 1px solid #dee0e3; + border-radius: 6px; + box-shadow: 0px 4px 8px 0px #1f23291a; + background: #eff1f0; + overflow: hidden; +} +.ed-menu--popup { + padding: 8px; + background: #eff1f0; + + .ed-menu-item { + padding: 9px 16px; + height: 40px !important; + border-radius: 6px; + &.is-active { + background-color: #fff !important; + } + } +} diff --git a/frontend/src/components/layout/Person.vue b/frontend/src/components/layout/Person.vue index 1e67d707..700dec76 100644 --- a/frontend/src/components/layout/Person.vue +++ b/frontend/src/components/layout/Person.vue @@ -47,7 +47,9 @@ const languageList = [ value: 'zh-CN', }, */, ] +const popoverRef = ref() const toSystem = () => { + popoverRef.value.hide() router.push('/system') } @@ -86,7 +88,12 @@ const logout = () => {