tabBar.wxml 1.7 KB

1
  1. <view style="{{(colorStyle)}}" class="data-v-0f58c7b6"><block wx:if="{{$root.g0}}"><view class="uni-tabbar acea-row row-around row-middle data-v-0f58c7b6"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeTab',['$0'],[[['tabbar','',index]]]]]]]}}" class="uni-tabbar_item data-v-0f58c7b6" bindtap="__e"><view class="uni-tabbar_icon data-v-0f58c7b6"><block wx:if="{{item.$orig.link==pagePath}}"><image mode="aspectFit" src="{{item.$orig.imgList[0]}}" class="data-v-0f58c7b6"></image></block><block wx:else><image mode="aspectFit" src="{{item.$orig.imgList[1]}}" class="data-v-0f58c7b6"></image></block></view><view class="{{['uni-tabbar_label','data-v-0f58c7b6',(item.$orig.link==pagePath)?'active':'']}}">{{''+item.m0+''}}</view></view></block></view></block><block wx:if="{{$root.g1}}"><view class="uni-tabbar acea-row row-around row-middle data-v-0f58c7b6"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeTab',['$0'],[[['tabbar','',index]]]]]]]}}" class="uni-tabbar_item data-v-0f58c7b6" bindtap="__e"><view class="uni-tabbar_icon data-v-0f58c7b6"><block wx:if="{{item.$orig.link==pagePath}}"><image mode="aspectFit" src="{{item.$orig.imgList[0]}}" class="data-v-0f58c7b6"></image></block><block wx:else><image mode="aspectFit" src="{{item.$orig.imgList[1]}}" class="data-v-0f58c7b6"></image></block></view><view class="{{['uni-tabbar_label','data-v-0f58c7b6',(item.$orig.link==pagePath)?'active':'']}}">{{''+item.m1+''}}</view></view></block></view></block><block wx:if="{{$root.g2}}"><view class="empty-img uni-tabbar acea-row row-around row-middle data-v-0f58c7b6">{{''+$root.m2+''}}</view></block></view>