<view class="tabs data-v-785eb6cc"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['setTabs',['$0',index],[[['tabList','',index]]]]]]]}}" class="tabs_list data-v-785eb6cc" style="{{('color:'+(active==index?colors:'')+';font-weight:'+(active==index?'bold':'500'))}}" bindtap="__e">{{''+item.name+''}}<block wx:if="{{active==index}}"><view class="active data-v-785eb6cc" style="{{('background:'+colors)}}"></view></block></view></block></view>