From 688e1b7e5e7a095eeeb37d5a48b16e40f48bea55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Sun, 23 Nov 2025 19:36:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=20div=20=E6=92=91=E8=B5=B7=20=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DistanceQuickFilterV2/index.scss | 9 +++++++-- src/game_pages/detail/index.tsx | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/DistanceQuickFilterV2/index.scss b/src/components/DistanceQuickFilterV2/index.scss index 3dfcea5..eb926ee 100644 --- a/src/components/DistanceQuickFilterV2/index.scss +++ b/src/components/DistanceQuickFilterV2/index.scss @@ -29,7 +29,7 @@ padding-bottom: 0px !important; background-color: transparent !important; max-height: 100vh !important; - + } .nut-menu-bar { @@ -120,6 +120,7 @@ display: flex; flex-direction: column; height: 280px; + .districtContent { display: flex; @@ -130,6 +131,7 @@ padding: 0; gap: 0; flex: 1; // 占满父容器剩余空间 + overflow: hidden; // 确保子元素不会超出圆角 .districtTitleBox { @@ -172,6 +174,7 @@ overflow-x: hidden; overflow-y: auto; height: 290px; + -webkit-overflow-scrolling: touch; @@ -180,7 +183,8 @@ flex-direction: column; align-items: flex-start; gap: 0; - padding: 0; + padding: 0px; + padding-bottom: 12px; .districtItem { display: flex; @@ -227,6 +231,7 @@ flex-direction: column; padding-left: 20px; padding-right: 20px; + padding-bottom: 12px; .quickItem { display: flex; diff --git a/src/game_pages/detail/index.tsx b/src/game_pages/detail/index.tsx index ad5391c..456e5da 100644 --- a/src/game_pages/detail/index.tsx +++ b/src/game_pages/detail/index.tsx @@ -213,6 +213,8 @@ function Index() { + + {/* swiper */} {/* content */}