From 10db09788d74b441a2efd85f5d4614e944b07bb3 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 26 三月 2024 20:07:11 +0800 Subject: [PATCH] 问题修改 --- custom-tab-bar/index.wxss | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss index ffad08d..b6b71b6 100644 --- a/custom-tab-bar/index.wxss +++ b/custom-tab-bar/index.wxss @@ -11,18 +11,18 @@ .tabBarBox { display: flex; - padding-bottom: 50rpx; + padding-bottom: env(safe-area-inset-bottom); background-color: #fff; /* opacity: 1; */ } .tabItem { flex: 1; - height: var(--td-tab-bar-height, 80rpx); + height: var(--td-tab-bar-height, 88rpx); box-sizing: border-box; user-select: none; position: relative; - margin-bottom: 26rpx; + margin-bottom: 24rpx; background-color: var(--td-tab-bar-bg-color, var(--td-bg-color-container, var(--td-font-white-1, #ffffff))); padding: 0 24rpx; padding-top: 20rpx; -- Gitblit v1.9.1