.tabs { position: relative; padding-right: 10rpx; } .tabs__nav { position: relative; padding-bottom: 16rpx; margin-right: 50rpx; font-size: 28rpx; font-weight: bold; line-height: 60rpx; flex-shrink: 0; transition: all 0.6s ease; color: #666; padding-top:10rpx; } .tabs__nav.active { font-weight: bold; font-size: 30rpx; } .tabs__nav:first-child { margin-left: 30rpx; } .tabs__navs__wrap { position: relative; display: flex; flex-direction: row; flex-wrap: nowrap; } .tabs__navs__wrap .activeIndicator { width: 56rpx; height: 6rpx; position: absolute; bottom: 0; left: 28rpx; border-radius: 24rpx; background: linear-gradient(to right, #fe655c, #fa875b); box-shadow: 0rpx 4rpx 4rpx 0rpx rgba(255, 89, 0, 0.25); transition: all 1s ease-in-out; }