From 3effacb396e11c2b33b51aca8266234c432e8753 Mon Sep 17 00:00:00 2001 From: cshaptx4869 <994774638@qq.com> Date: Tue, 28 May 2024 15:25:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E5=B7=A6?= =?UTF-8?q?=E4=BE=A7=E5=B8=83=E5=B1=80=E7=A7=BB=E5=8A=A8=E7=AB=AF=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=BC=B9=E5=87=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/index.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/layout/index.vue b/src/layout/index.vue index ac5a3a4f..2f79ca54 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -285,4 +285,15 @@ watch(route, () => { } } } + +.mobile { + .main-container { + margin-left: 0; + } + + &.layout-top { + // 顶部模式全局变量修改 + --el-menu-item-height: $navbar-height; + } +}