<!--pages/luckDraw/components/tabbar.wxml-->
<view class="tab-bar-body">
    <view wx:for="{{list}}" wx:key="index" data-index="{{index}}" catchtap="toPage" class="{{item.active?'_active':''}}">
       <view class="_ico">
          <image class="_image" src="{{item.active ? item.selectedIconPath : item.iconPath}}" />
       </view>
       <view class="_text">
          <text>{{item.text}}</text>
       </view>
    </view>
</view>
