From a31b5cf6c3fa4aac5be004784469afabd6959134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E7=A0=81=E7=94=9F=E8=8A=B1?= <18523774412@qq.com> Date: Sun, 31 Mar 2024 19:43:36 +0800 Subject: [PATCH] =?UTF-8?q?style:=E9=9A=90=E8=97=8F=E9=A1=B6=E6=A0=8F?= =?UTF-8?q?=E7=9A=84=E7=BA=B5=E5=90=91=E6=BB=9A=E5=8A=A8=E6=9D=A1=EF=BC=88?= =?UTF-8?q?=E5=8D=95=E5=8F=8C=E6=A0=8F=E5=B8=83=E5=B1=80=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/layouts/backend/components/menus/menuHorizontal.vue | 5 +++-- web/src/layouts/backend/components/navBar/double.vue | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/src/layouts/backend/components/menus/menuHorizontal.vue b/web/src/layouts/backend/components/menus/menuHorizontal.vue index ee74a4a9..68ca3fea 100644 --- a/web/src/layouts/backend/components/menus/menuHorizontal.vue +++ b/web/src/layouts/backend/components/menus/menuHorizontal.vue @@ -59,9 +59,9 @@ onBeforeRouteUpdate((to) => { display: flex; align-items: center; width: 100vw; - height: 60px; + height: var(--el-header-height); background-color: var(--ba-bg-color-overlay); - border-bottom: solid 1px var(--el-color-info-light-8); + border-bottom: 1px solid var(--el-color-info-light-8); } .menu-horizontal-logo { width: 180px; @@ -71,6 +71,7 @@ onBeforeRouteUpdate((to) => { } .horizontal-menus-scrollbar { flex: 1; + height: var(--el-header-height); } .menu-horizontal { border: none; diff --git a/web/src/layouts/backend/components/navBar/double.vue b/web/src/layouts/backend/components/navBar/double.vue index c10f2908..a28944c1 100644 --- a/web/src/layouts/backend/components/navBar/double.vue +++ b/web/src/layouts/backend/components/navBar/double.vue @@ -56,12 +56,13 @@ onBeforeRouteUpdate((to) => { .layouts-menu-horizontal-double { display: flex; align-items: center; - height: 60px; + height: var(--el-header-height); background-color: var(--ba-bg-color-overlay); - border-bottom: solid 1px var(--el-color-info-light-8); + border-bottom: 1px solid var(--el-color-info-light-8); } .double-menus-scrollbar { width: 70vw; + height: var(--el-header-height); } .menu-horizontal { border: none;