From 74139f2bc6bdc8147dd570ac1d774245f67e4f9f Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 01 四月 2024 14:05:45 +0800 Subject: [PATCH] 样式修改 --- custom-tab-bar/index.wxss | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss index a15f4a0..b700af1 100644 --- a/custom-tab-bar/index.wxss +++ b/custom-tab-bar/index.wxss @@ -4,6 +4,8 @@ align-items: center; } + + .custom-tab-bar-wrapper .text { font-size: 20rpx; margin-top: 10rpx; @@ -29,6 +31,37 @@ 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; -- Gitblit v1.9.1