<van-sticky offset-top="{{ 0 }}">
    <scroll-view scroll-x enable-flex class="scroll" scroll-left='{{scrollLeft}}' scroll-with-animation enable-passive>
        <view class="item {{active==index?'active':''}}" id="{{active==index?'active'+index:''}}" wx:for="{{list}}" wx:key="index" data-index="{{index}}" bindtap="tabsChenge">
            <view class="icon" wx:if="{{item.icon}}"></view>
            <view wx:else class="num line-1">{{item.num}}</view>
            <view class="label line-1">{{item.label}}</view>
        </view>
    </scroll-view>
</van-sticky>
<view class="slot-box" bindtouchstart="myTouchStart" bindtouchmove="myTouchMove">
    <slot name='{{list[active].label}}' />
    <slot />
</view>