diff --git a/src/components/GlobalHeader/GlobalHeader.vue b/src/components/GlobalHeader/GlobalHeader.vue index 01d50f83..f0c00bb7 100644 --- a/src/components/GlobalHeader/GlobalHeader.vue +++ b/src/components/GlobalHeader/GlobalHeader.vue @@ -105,7 +105,7 @@ export default { } }, mounted() { - document.body.addEventListener('scroll', this.handleScroll, { passive: true }) + document.addEventListener('scroll', this.handleScroll, { passive: true }) }, methods: { handleScroll() { diff --git a/src/components/SettingDrawer/SettingDrawer.vue b/src/components/SettingDrawer/SettingDrawer.vue index e943bbc0..cf277b77 100644 --- a/src/components/SettingDrawer/SettingDrawer.vue +++ b/src/components/SettingDrawer/SettingDrawer.vue @@ -8,7 +8,6 @@ closable @close="onClose" :visible="visible" - :zIndex="9999" >
@@ -114,6 +113,77 @@
+
+ + + + + + 固定 + 流式 + + + +
内容区域宽度
+
+
+ + + +
固定 Header
+
+
+ + + + + +
下滑时隐藏 Header
+
+
+
+ + + +
固定侧边菜单
+
+
+
+
+ @@ -122,7 +192,7 @@