pitchList.wxml
1.3 KB
<view class="pitch_list data-v-f2792cca"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="groundId"><view data-event-opts="{{[['tap',[['goRouter',['/pages_arenaControl/addArena/addArena?groundId='+item.$orig.groundId]]]]]}}" class="pitch_item data-v-f2792cca" bindtap="__e"><image class="cover_img data-v-f2792cca" src="{{pro_http+item.m0}}" mode="widthFix"></image><view class="right data-v-f2792cca"><text class="title_common mb-10 data-v-f2792cca">{{item.$orig.sportsRange+" "+item.$orig.groundNum+"号场"}}</text><text class="data-v-f2792cca">{{isOutdoor===0?'室内':'室外'}}<text class="m-l-20 data-v-f2792cca">{{item.$orig.price+"¥/小时"}}</text></text></view><view data-event-opts="{{[['tap',[['showQRcode',['$0'],[[['pitchList','groundId',item.$orig.groundId]]]]]]]}}" class="QRCode data-v-f2792cca" catchtap="__e"><image style="width:100%;" src="/static/homeImg/QRCode.png" mode="widthFix" class="data-v-f2792cca"></image></view></view></block><block wx:if="{{$root.g0===0}}"><view data-event-opts="{{[['tap',[['goRouter',['/pages_arenaControl/addArena/addArena?groundId=add']]]]]}}" class="add_mode data-v-f2792cca" bindtap="__e"><u-icon vue-id="645aac5d-1" name="plus-circle" class="data-v-f2792cca" bind:__l="__l"></u-icon><text class="m-l-20 data-v-f2792cca">新建场地</text></view></block></view>