From d278a3e53dfc104feda785b29a4bfb799f534934 Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Sun, 2 Mar 2025 22:47:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=90=9C=E7=B4=A2=E7=BB=84=E4=BB=B6=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E9=A1=B9=E6=A0=B7=E5=BC=8F=E6=9C=AA=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MenuSearch/index.vue | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/MenuSearch/index.vue b/src/components/MenuSearch/index.vue index eeac84fe..8905f110 100644 --- a/src/components/MenuSearch/index.vue +++ b/src/components/MenuSearch/index.vue @@ -32,7 +32,12 @@
  • @@ -40,7 +45,7 @@
    - {{ item.title }} + {{ item.title }}
  • @@ -192,14 +197,15 @@ onMounted(() => { } &__item { + display: flex; + align-items: center; padding: 10px; - line-height: 40px; text-align: left; cursor: pointer; &--active { - color: $menu-active-text; - background-color: $menu-hover; + color: var(--el-color-primary); + background-color: var(--el-menu-hover-bg-color); } } }