From 40c0b0dbe7054d3025fe01cd99efd45e18b4367d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=AF=9A?= Date: Mon, 29 Dec 2025 11:23:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20TabBar=20=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E4=BF=AE=E5=A4=8D=E9=AB=98=E5=BA=A6=E5=92=8C?= =?UTF-8?q?=E5=86=85=E8=BE=B9=E8=B7=9D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/App.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Web/src/App.vue b/Web/src/App.vue index c28633d..db9c522 100644 --- a/Web/src/App.vue +++ b/Web/src/App.vue @@ -142,12 +142,14 @@ const handleTabClick = (path) => { /* 重置所有 padding,然后只添加安全区域 */ padding: 0 !important; padding-bottom: env(safe-area-inset-bottom, 0px) !important; - height: 50px !important; + height: auto !important; min-height: 50px !important; + box-sizing: content-box !important; } /* 确保 TabBar 项目居中 */ :deep(.van-tabbar-item) { padding: 0 !important; + height: 50px !important; }