.m-tabs { padding: 10rpx 30rpx; margin-top: 20rpx; background-color: #fff; .tabs { display: flex; justify-content: space-around; .tab { position: relative; font-size: 28rpx; font-family: Source Han Serif SC; font-weight: 400; line-height: 70rpx; color: #666; &.z-on { color: #333333; &::after { position: absolute; content: ""; bottom: 0; left: 0; right: 0; margin: auto; display: block; width: 54rpx; height: 6rpx; background: #e2281b; border-radius: 3rpx; } } } } }