.box { display: flex; align-items: center; width: 100vw; height: 90rpx; padding: 0 30rpx; box-sizing: border-box; } .box .title { font-size: 30rpx; font-family: PingFang SC-Bold, PingFang SC; font-weight: bold; color: #333333; flex-shrink: 0; } .box .rep { flex: 1; height: 100%; margin-left: 20rpx; } .box .rep .switch { height: 100%; display: flex; justify-content: flex-end; align-items: center; } .box .rep .switch text { font-size: 28rpx; font-family: PingFang SC-Regular, PingFang SC; color: #999999; margin-right: 10rpx; height: 100%; line-height: 84rpx; }