diff --git a/src/components/menu/index.less b/src/components/menu/index.less index 856b376..7674fcf 100644 --- a/src/components/menu/index.less +++ b/src/components/menu/index.less @@ -4,7 +4,7 @@ .side-menu{ min-height: 100vh; overflow-y: auto; - z-index: 10; + z-index: 1100; .logo{ height: 64px; position: relative; diff --git a/src/components/tool/Drawer.vue b/src/components/tool/Drawer.vue index f3810e9..9805de4 100644 --- a/src/components/tool/Drawer.vue +++ b/src/components/tool/Drawer.vue @@ -66,7 +66,7 @@ export default { top: 0; background-color: @shadow-color; transition: all 0.5s; - z-index: 100; + z-index: 2000; &.open{ display: inline-block; } @@ -78,7 +78,7 @@ export default { position: fixed; transition: all 0.5s; height: 100vh; - z-index: 100; + z-index: 2000; &.left{ left: 0px; &.open{ diff --git a/src/layouts/AdminLayout.vue b/src/layouts/AdminLayout.vue index 71ae0ed..18894c2 100644 --- a/src/layouts/AdminLayout.vue +++ b/src/layouts/AdminLayout.vue @@ -4,7 +4,7 @@ -
+
@@ -87,8 +87,7 @@ export default { } } .virtual-side{ - display: inline-block; - transition: width 0.2s; + transition: all 0.2s; } .admin-layout-main{ .admin-header{ diff --git a/src/layouts/header/index.less b/src/layouts/header/index.less index ad60faf..443f030 100644 --- a/src/layouts/header/index.less +++ b/src/layouts/header/index.less @@ -1,6 +1,6 @@ .admin-header{ padding: 0; - z-index: 2; + z-index: 1099; box-shadow: @shadow-down; position: relative; background: @base-bg-color;