From b9912e223e106e7c27fd02c957eac9a930123974 Mon Sep 17 00:00:00 2001 From: anyesu Date: Mon, 20 May 2024 13:55:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(router):=20=E4=BF=AE=E5=A4=8D=20CSS=20?= =?UTF-8?q?=E5=8D=95=E8=A1=8C=E6=B3=A8=E9=87=8A=E8=AF=AD=E6=B3=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#15737)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-router/src/style.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/taro-router/src/style.ts b/packages/taro-router/src/style.ts index d356a8486f4f..4ff19cc424ac 100644 --- a/packages/taro-router/src/style.ts +++ b/packages/taro-router/src/style.ts @@ -4,7 +4,8 @@ export function loadAnimateStyle (ms = 300) { const css = ` body { - overflow: hidden; // 防止 iOS 页面滚动 + /* 防止 iOS 页面滚动 */ + overflow: hidden; } .taro_router > .taro_page { position: absolute; @@ -135,7 +136,7 @@ export function loadNavigationBarStyle () { to { transform: rotate(360deg); } - } + } .taro-navigation-bar-no-icon > .taro-navigation-bar-home { display: none;