index.wxss
578 Bytes
.main_bar{
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;
}
.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%;
}
.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;
}