building-sign/unpackage/dist/dev/mp-weixin/components/tabbar/tabbar.wxml

1 line
1.2 KiB
Plaintext

<view class="tabbar-list data-v-8ad7aaf8"><block wx:for="{{workerBarList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{userType=='worker'}}"><view data-event-opts="{{[['tap',[['chooseFootTab',[index]]]]]}}" class="{{['tabbar-item','data-v-8ad7aaf8',current==index?'active':'']}}" bindtap="__e"><view class="icon data-v-8ad7aaf8"><image class="img data-v-8ad7aaf8" style="{{'width:'+([31,39,36][index]+'rpx')+';'+('height:'+([32,35,36][index]+'rpx')+';')}}" src="{{item.iconPath}}" mode="widthFix"></image></view><view class="title font26 data-v-8ad7aaf8">{{item.title}}</view></view></block></block><block wx:for="{{directorBarList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{userType=='director'}}"><view data-event-opts="{{[['tap',[['chooseFootTab',[index]]]]]}}" class="{{['tabbar-item','data-v-8ad7aaf8',current==index?'active':'']}}" bindtap="__e"><view class="icon data-v-8ad7aaf8"><image class="img data-v-8ad7aaf8" style="{{'width:'+([31,30,31,39][index]+'rpx')+';'+('height:'+([32,30,31,35][index]+'rpx')+';')}}" src="{{item.iconPath}}" mode="widthFix"></image></view><view class="title font26 data-v-8ad7aaf8">{{item.title}}</view></view></block></block></view>