2021-11-10 11:57:11 +08:00

1 line
1.7 KiB
Plaintext

<view style="{{(colorStyle)}}" class="data-v-294c81ec"><block wx:if="{{isShow&&tabbar.length&&!isIframe}}"><view class="uni-tabbar acea-row row-around row-middle data-v-294c81ec"><block wx:for="{{tabbar}}" 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-294c81ec" bindtap="__e"><view class="uni-tabbar_icon data-v-294c81ec"><block wx:if="{{item.link==pagePath}}"><image mode="aspectFit" src="{{item.imgList[0]}}" class="data-v-294c81ec"></image></block><block wx:else><image mode="aspectFit" src="{{item.imgList[1]}}" class="data-v-294c81ec"></image></block></view><view class="{{['uni-tabbar_label','data-v-294c81ec',(item.link==pagePath)?'active':'']}}">{{''+item.name+''}}</view></view></block></view></block><block wx:if="{{isIframe&&tabbar.length}}"><view class="uni-tabbar acea-row row-around row-middle data-v-294c81ec"><block wx:for="{{tabbar}}" 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-294c81ec" bindtap="__e"><view class="uni-tabbar_icon data-v-294c81ec"><block wx:if="{{item.link==pagePath}}"><image mode="aspectFit" src="{{item.imgList[0]}}" class="data-v-294c81ec"></image></block><block wx:else><image mode="aspectFit" src="{{item.imgList[1]}}" class="data-v-294c81ec"></image></block></view><view class="{{['uni-tabbar_label','data-v-294c81ec',(item.link==pagePath)?'active':'']}}">{{''+item.name+''}}</view></view></block></view></block><block wx:if="{{isIframe&&!tabbar.length}}"><view class="empty-img uni-tabbar acea-row row-around row-middle data-v-294c81ec">暂无数据,请设置</view></block></view>