<!-- tabs组件 -->
<van-tabs active="{{ active }}" bind:change="onChange">
  <van-tab wx:for="{{list}}" wx:key="index" title="{{item.title}}" code="{{item.code}}" name="{{index}}">
  </van-tab>
</van-tabs>