From 5f8d9fbaaa0e0b71c3a3f504e2132aee37bd7771 Mon Sep 17 00:00:00 2001 From: felix9ia Date: Fri, 20 Jun 2025 10:44:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(tabbar):=E8=87=AA=E5=AE=9A=E4=B9=89tabbar?= =?UTF-8?q?=E5=90=8E=EF=BC=8Ch5=20=E9=A1=B5=E9=9D=A2=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E6=A0=B7=E5=BC=8F=E5=AF=BC=E8=87=B4=E7=A9=BA?= =?UTF-8?q?=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-router/src/style.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/taro-router/src/style.ts b/packages/taro-router/src/style.ts index 1ae94a1a8d06..e80a63865dad 100644 --- a/packages/taro-router/src/style.ts +++ b/packages/taro-router/src/style.ts @@ -55,6 +55,12 @@ ${ } ${ enableTabBar ? ` + .taro-tabbar__container { + height:100%; + } + .taro-tabbar__panel { + height: 100%; + } .taro-tabbar__container > .taro-tabbar__panel { overflow: hidden; } @@ -75,7 +81,7 @@ ${ .taro_router > .taro_page.taro_page_show.taro_page_stationed:not(.taro_page_shade):not(.taro_tabbar_page):not(:last-child) { display: none; }` -} +} ` addStyle(css) }