.pages{ box-sizing: border-box; padding: 80rpx 10rpx 0 10rpx; } .head{ top: 0; left: 0; z-index: 10; width: 100%; position: fixed; height: 80rpx; line-height: 50rpx; padding: 20rpx 20rpx 0 20rpx; box-sizing: border-box; /* letter-spacing: 0.1em; */ display: flex; justify-content: space-between; } .typeBtn{ min-width: 100rpx; font-size: 34rpx; text-align: center; margin-right: 20rpx; } .activeBtn{ color: #7bbd52; border-bottom: 4rpx solid #7bbd52; }