From df5886a62dd00cf32cf8eb9c995809d1c9bd30b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sat, 4 Jul 2026 13:48:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(shop):=20=E4=BF=AE=E6=AD=A3=E5=B7=A6?= =?UTF-8?q?=E5=8F=B3=E5=88=86=E6=A0=8F=E9=AB=98=E5=BA=A6=E9=80=82=E9=85=8D?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 左侧分类栏 ScrollView 高度由 h-screen 修改为 h-full - 右侧排序栏及商品列表容器高度由 h-screen 修改为 h-full - 商品列表 ScrollView 添加 min-h-0 用于改善滚动高度限制 --- src/pages/shop/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/shop/index.tsx b/src/pages/shop/index.tsx index e264c5d..1ea2cab 100644 --- a/src/pages/shop/index.tsx +++ b/src/pages/shop/index.tsx @@ -204,7 +204,7 @@ const ShopPage: React.FC = () => { {/* 左右分栏 */} {/* 左侧分类栏 */} - + {categoryList.map(cat => ( { {/* 右侧:排序栏 + 商品列表 */} - + {/* 排序栏 */} {SORT_TABS.map(tab => ( @@ -252,7 +252,7 @@ const ShopPage: React.FC = () => { {/* 商品列表 */}