From f156f980f797e238df44e4bb5fa04fa9748c0f85 Mon Sep 17 00:00:00 2001 From: TongTongStudio Date: Thu, 3 Dec 2026 01:28:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(usage):=20=E8=AE=B0=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=BA=95=E9=83=A8=20Tab=20=E6=A0=8F=E9=A2=84?= =?UTF-8?q?=E7=95=99=EF=BC=8C=E4=BF=AE=E5=A4=8D=E5=BA=95=E9=83=A8=E7=A9=BA?= =?UTF-8?q?=E7=99=BD=E8=BF=87=E5=A4=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 二级页无底部 Tab 栏,padding-bottom 不再加 --tabbar-h(104rpx),只保留安全区。 --- pages/usage-records/index.wxss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/usage-records/index.wxss b/pages/usage-records/index.wxss index 2cf42ac..2ad538e 100644 --- a/pages/usage-records/index.wxss +++ b/pages/usage-records/index.wxss @@ -1,8 +1,9 @@ /* 沿用全局 .page 的左右 --gutter 留白与底部安全区,仅覆盖顶部留白 */ .page { - /* 纵向间距统一为左右留白(--gutter)的一半 */ + /* 纵向间距统一为左右留白(--gutter)的一半; + 二级页无底部 Tab 栏,不预留 --tabbar-h,只补安全区 */ padding-top: calc(var(--gutter) / 2); - padding-bottom: calc(var(--gutter) / 2 + var(--tabbar-h) + env(safe-area-inset-bottom)); + padding-bottom: calc(var(--gutter) / 2 + env(safe-area-inset-bottom)); } .trend-title {