fenggu/custom-tab-bar/index.wxss

38 lines
561 B
Plaintext
Raw Normal View History

.tab-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 89rpx;
background: white;
display: flex;
box-shadow: 0 -10rpx 10rpx rgba(0,0,0,.1);
}
.tab-bar-item {
flex: 1;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.tab-bar-item cover-image {
width: 100%;
height: 91rpx;
}
.tab-bar-item cover-view {
position: relative;
top: 0;
width: 100%;
left: 0;
height: 90rpx;
line-height: 90rpx;
font-size: 30rpx;
z-index: 99;
margin-top: -90rpx;
}