tabbar.wxml 233 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 <view class='tabbar {{flex?"flex":""}}'> <block wx:for='{{list}}' wx:key='index'> <view class="tabbar-item {{count == index ? 'active': ''}}" bindtap="click" data-index="{{index}}"> {{item}} </view> </block> </view>