yurong/unpackage/dist/dev/mp-weixin/custom-tab-bar/index.wxss

48 lines
734 B
Plaintext

.tabbar {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 999;
background: #ffffff;
box-shadow: 0 -8rpx 24rpx rgba(0, 0, 0, 0.04);
}
.tabbar-safe {
padding-bottom: env(safe-area-inset-bottom);
}
.tabbar__inner {
display: flex;
align-items: center;
justify-content: space-around;
min-height: 100rpx;
border-top: 1rpx solid #f2f2f2;
}
.tabbar__item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10rpx 0 8rpx;
}
.tabbar__icon {
width: 46rpx;
height: 46rpx;
margin-bottom: 6rpx;
}
.tabbar__text {
font-size: 22rpx;
line-height: 1.2;
color: #666666;
}
.tabbar__text--active {
color: #ee4237;
font-weight: 600;
}