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; + } +}