
<view>
  <view class="scroll-view_auto">
    <view wx:for="{{tabs}}" wx:key="tabsIndex" wx:for-index="tabsIndex" class="scroll-view-item_auto {{tabsIndex==secIndex ? 'active':''}}"
      bindtap="secTabs" data-id="{{tabsIndex}}" data-item="{{item}}">
      <text class="scroll-view_name">{{item.name}}</text>
    </view>
  </view>
</view>