From 7eab4acb4bb2060970f81840e5d2b72f259b07cb Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期四, 28 三月 2024 11:40:19 +0800 Subject: [PATCH] yangshu --- custom-tab-bar/index.wxss | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss index ebc4be3..b6b71b6 100644 --- a/custom-tab-bar/index.wxss +++ b/custom-tab-bar/index.wxss @@ -7,4 +7,43 @@ .custom-tab-bar-wrapper .text { font-size: 20rpx; margin-top: 10rpx; +} + +.tabBarBox { + display: flex; + padding-bottom: env(safe-area-inset-bottom); + background-color: #fff; + /* opacity: 1; */ +} + +.tabItem { + flex: 1; + height: var(--td-tab-bar-height, 88rpx); + box-sizing: border-box; + user-select: none; + position: relative; + 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; +} + +.text { + font-size: 20rpx; + text-align: center; + color: #9D9D9D; +} + +.activeText { + color: #ff6d00; +} + +.tabImg { + text-align: center; +} + +.roleIcon { + position: relative; + bottom: 30px; + z-index: 999; } \ No newline at end of file -- Gitblit v1.9.1