From 1fd211c2528c8ba7fff173c60b31acbc5807c809 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 25 三月 2024 18:17:37 +0800 Subject: [PATCH] 图标,首页 --- custom-tab-bar/index.wxss | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss index ebc4be3..3a47b5a 100644 --- a/custom-tab-bar/index.wxss +++ b/custom-tab-bar/index.wxss @@ -7,4 +7,44 @@ .custom-tab-bar-wrapper .text { font-size: 20rpx; margin-top: 10rpx; +} + +.tabBarBox { + display: flex; + padding-bottom: 50rpx; + background-color: #fff; + /* opacity: 1; */ +} + +.tabItem { + flex: 1; + height: var(--td-tab-bar-height, 80rpx); + box-sizing: border-box; + user-select: none; + position: relative; + margin-bottom: 26rpx; + background-color: var(--td-tab-bar-bg-color, var(--td-bg-color-container, var(--td-font-white-1, #ffffff))); + padding: 0 24rpx; + border-top: 1px solid #d8d8d8; + 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