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 */}