<!--subPackage/component/tabBar/tabBar.wxml-->
<view class='bottom-tab-bar'>
  <view class='tab-bar-item' 
  bindtap='onTapToPage' 
  wx:key="tabkey" 
  wx:for="{{tabBar}}" 
  wx:for-index="idx"
  data-index="{{idx}}"
  data-item="{{item}}"
  wx:for-item="item">
    <image src='{{item.isActive ? item.activeUrl : item.defaultUrl}}' mode='widthFix'></image>
  </view>
</view>
