<view style="width: {{width*len}}rpx; background: {{bgColor}}; height: {{height}}rpx; border-radius: {{height/2}}rpx;margin:auto;">
    <view style="width: {{width}}rpx; background: {{activeBgColor}}; height: {{height}}rpx; border-radius: {{height/2}}rpx; margin-left: {{width*current}}rpx; transition: all 0.3s ease 0s;"></view>
</view>