<view class="tab">
<van-tabs active="{{ tabActive }}" bind:click="onChange" title-active-color="#508BFFFF"
ellipsis="{{false}}" id="tabs">
<van-tab title="热门"> </van-tab>
<van-tab title="{{item.tagName}}" wx:for="{{userTagArr}}" wx:key="tagId" data-tagId="{{item.tagId}}" name="{{item.tagId}}" dot="{{item.tagRedDot}}"></van-tab>
</van-tabs>
</view>
// 用户已订阅的标签列表,从新渲染van-tabs
getUserTag() {
this.selectComponent('#tabs').resize();//#tabs是名字
},