/* custom-tab-bar/index.wxss */ .tab-item { .icon { width: 48rpx; height: 48rpx; } .name { font-size: 26rpx; color: rgba(105, 104, 110, 1); &.active { color: rgba(33, 29, 46, 1); } } }