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;