From a6a88e69894a5536df0a269743327aa2d2702a79 Mon Sep 17 00:00:00 2001 From: lyf <2514544224@qq.com> Date: Mon, 29 Jun 2026 21:41:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A5=BC=E5=B1=82=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E6=BB=91=E5=8A=A8=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/navigation/GuideMapShell.vue | 6 +++++- src/pages/index/index.vue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/navigation/GuideMapShell.vue b/src/components/navigation/GuideMapShell.vue index 8d1949d..0f0fe87 100644 --- a/src/components/navigation/GuideMapShell.vue +++ b/src/components/navigation/GuideMapShell.vue @@ -894,6 +894,8 @@ defineExpose({ box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; + -webkit-overflow-scrolling: touch; + touch-action: pan-y; scrollbar-width: none; background: rgba(255, 255, 255, 0.84); border: 1px solid #dde5df; @@ -915,7 +917,9 @@ defineExpose({ } .floor-header { - position: relative; + position: sticky; + top: 0; + z-index: 1; min-height: 50px; padding: 7px 4px 6px; display: flex; diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 4604f53..2e193f1 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -30,7 +30,7 @@ :active-floor="activeGuideFloor" layer-mode-toggle-top="154px" floor-bottom="185px" - floor-max-height="342px" + floor-max-height="206px" floor-side="left" show-floor-header :show-layer-mode-toggle="false"