<scroll-view tt:if="{{ scroll }}" scroll-x="true"
    class="i-class i-tabs i-tabs-scroll {{ fixed ? 'i-tabs-fixed' : '' }}">
    <slot></slot>
</scroll-view>
<view tt:else class="i-class i-tabs {{ fixed ? 'i-tabs-fixed' : '' }}">
    <slot></slot>
</view>