From 635754abd999eacb837312e6460b9d1a4f70a7e9 Mon Sep 17 00:00:00 2001 From: yvan.ni <765199919@qq.com> Date: Fri, 25 Sep 2020 16:41:13 +0800 Subject: [PATCH] 导航栏偏高修正 --- custom-tab-bar/index.wxss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss index 934d857..fc2bddc 100644 --- a/custom-tab-bar/index.wxss +++ b/custom-tab-bar/index.wxss @@ -2,11 +2,11 @@ width:100%; border-top: 1rpx solid #ebebeb; position: fixed; bottom: 0; left: 0; z-index: 10000; } .tabbar_item{ - position:relative;height:100%;float:left;text-align:center;padding:5px 0; + position:relative;height:100%;float:left;text-align:center;padding:0px 0; } .tab_img{display: flex; justify-content: center;align-items: center} .nav_imgage{ - height: 56rpx; width: 56rpx;background-position: center;background-repeat: no-repeat;background-size: auto 85%; + height: 54rpx; width: 54rpx;background-position: center;background-repeat: no-repeat;background-size: auto 85%; } .cart_num{ top:0;background-color: red;color: #fff;font-size: 20rpx;border-radius: 50%;width: 40rpx;line-height:40rpx;height: 40rpx;position: absolute;z-index: 100;right:30rpx; -- libgit2 0.21.4