Commit 635754abd999eacb837312e6460b9d1a4f70a7e9

Authored by yvan.ni
1 parent f8293f18

导航栏偏高修正

Showing 1 changed file with 2 additions and 2 deletions
custom-tab-bar/index.wxss
@@ -2,11 +2,11 @@ @@ -2,11 +2,11 @@
2 width:100%; border-top: 1rpx solid #ebebeb; position: fixed; bottom: 0; left: 0; z-index: 10000; 2 width:100%; border-top: 1rpx solid #ebebeb; position: fixed; bottom: 0; left: 0; z-index: 10000;
3 } 3 }
4 .tabbar_item{ 4 .tabbar_item{
5 - position:relative;height:100%;float:left;text-align:center;padding:5px 0; 5 + position:relative;height:100%;float:left;text-align:center;padding:0px 0;
6 } 6 }
7 .tab_img{display: flex; justify-content: center;align-items: center} 7 .tab_img{display: flex; justify-content: center;align-items: center}
8 .nav_imgage{ 8 .nav_imgage{
9 - height: 56rpx; width: 56rpx;background-position: center;background-repeat: no-repeat;background-size: auto 85%; 9 + height: 54rpx; width: 54rpx;background-position: center;background-repeat: no-repeat;background-size: auto 85%;
10 } 10 }
11 .cart_num{ 11 .cart_num{
12 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; 12 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;