<view class="tabs"><view class="one" style="{{'background:'+(tabs.bgColor||'#f9f9f9')+';'}}"><scroll-view class="scrollView" scroll-x="true"><block wx:for="{{tabs.menu}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tabsChange',[index,'$0'],[[['tabs.menu','',index]]]]]]]}}" class="list" style="{{'background:'+(tabs.active==item.active?tabs.acbgColor||'#ffffff':'')+';'}}" bindtap="__e"><text class="{{[tabs.active==item.active?'active_1':'active_2']}}">{{item.title}}</text></view></block></scroll-view></view><slot></slot></view>