1 |
- <view class="container"><uni-swipe-action vue-id="1adbcc70-1" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index"><uni-swipe-action-item vue-id="{{('1adbcc70-2-'+index)+','+('1adbcc70-1')}}" right-options="{{options}}" data-event-opts="{{[['^click',[['bindClick']]],['^change',[['swipeChange',['$event','$0'],[[['list','',index,'id']]]]]]]}}" bind:click="__e" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="list" style="{{(item.txtStyle)}}"><view class="box"><view class="box-1"><view class="box-2"><view class="box-top">{{'求救者姓名:'+item.name+''}}</view><view class="box-time">{{'求救时间:'+item.add_time+''}}</view></view><view data-event-opts="{{[['tap',[['toNav',['$0',index],[[['list','',index]]]]]]]}}" class="navImg" bindtap="__e"><image src="../../static/img/img10.png" mode></image><view class="tip">导航</view></view></view><block wx:if="{{item.status==0}}"><view class="box-sub-box"><view data-event-opts="{{[['tap',[['agree',['$0',index],[[['list','',index]]]]]]]}}" class="sub-box1" bindtap="__e">接受</view><view data-event-opts="{{[['tap',[['refuse',['$0',index],[[['list','',index]]]]]]]}}" class="sub-box2" bindtap="__e">拒绝</view></view></block><block wx:if="{{item.status!==0}}"><view class="box-sub-box"><block wx:if="{{item.status==1}}"><view class="red-font">已接受</view></block><block wx:if="{{item.status==2}}"><view class="red-font">已拒绝</view></block><view data-event-opts="{{[['tap',[['tocall',['$0'],[[['list','',index,'phone']]]]]]]}}" class="sub-box3" bindtap="__e"><image class="call" src="../../static/icon/call.png" mode></image>拨打电话</view></view></block></view></view></uni-swipe-action-item></block></uni-swipe-action><block wx:if="{{list.length===0}}"><empty vue-id="1adbcc70-3" bind:__l="__l"></empty></block><uni-load-more vue-id="1adbcc70-4" status="{{loadingType}}" bind:__l="__l"></uni-load-more><uni-popup class="vue-ref" vue-id="1adbcc70-5" type="bottom" data-ref="popup" data-event-opts="{{[['^click',[['close']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup_row"><view class="rows"><view data-event-opts="{{[['tap',[['toGaodeMap',['$event']]]]]}}" class="rows-item" bindtap="__e">高德地图</view><view data-event-opts="{{[['tap',[['tobaiDuMap',['$event']]]]]}}" class="rows-item" bindtap="__e">百度地图</view><view data-event-opts="{{[['tap',[['totengxunMap',['$event']]]]]}}" class="rows-item" bindtap="__e">腾讯地图</view></view></view></uni-popup><uni-popup class="vue-ref" vue-id="1adbcc70-6" type="center" data-ref="popup1" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-box"><view class="img"><image src="../../static/img/map.jpg" mode></image></view><view class="mian"><view class="delivery">救援记录</view><view class="nocancel">确认删除该记录吗?</view><view class="comfirm-box"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="cancel" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['comfirm',['$0'],['tmp']]]]]}}" class="comfirm" bindtap="__e">确认</view></view></view></view></uni-popup></view>
|