.cat-tabbar { height: 100rpx; background-color: #fff; &__wrapper { bottom: 0; display: flex; width: 100%; height: ~"calc(100rpx - 1rpx)"; border-top: 1rpx solid #eee; box-sizing: content-box; } &__item { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; height: inherit; cursor: pointer; .cat-icon { display: flex; flex-direction: column; justify-content: center; align-items: center; .image { width: 56rpx; height: 56rpx; object-fit: contain; } .text { font-size: 20rpx; margin-top: 5rpx; } &:before { width: 56rpx; height: 56rpx; font-size: 56rpx; } } } }