From 2ee8ddb1ecac7df4198e54e08ec7f22daf4b07c0 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期五, 03 一月 2025 16:57:38 +0800 Subject: [PATCH] 111 --- custom-tab-bar/index.wxss | 73 ++++++++++++++++++++++++++++++++++++ 1 files changed, 73 insertions(+), 0 deletions(-) diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss index ebc4be3..b700af1 100644 --- a/custom-tab-bar/index.wxss +++ b/custom-tab-bar/index.wxss @@ -4,7 +4,80 @@ align-items: center; } + + .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; */ + z-index: 1100; +} + +.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; +} + +.tabItem:nth-child(1) .tab-images { + width: 52rpx; + height: 44rpx; +} + +.tabItem:nth-child(2) .tab-images { + width: 38rpx; + height: 44rpx; +} + +.tabItem:nth-child(3) .tab-images { + width: 57rpx; + height: 44rpx; +} + +.tabItem:nth-child(4) .tab-images { + width: 45rpx; + height: 44rpx; +} + +.tabItem:nth-child(5) .tab-images { + width: 43rpx; + height: 44rpx; +} + +.tab-images .tabImg { + width: 100%; + height: 100%; + margin: 0 auto; +} + +.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