| 1 |
- <view class="content"><view class="map" id="map"><map class="vue-ref" style="width:750rpx;height:600rpx;" id="map_1" latitude="{{latitude}}" longitude="{{longitude}}" markers="{{marker}}" data-ref="map_1" data-event-opts="{{[['updated',[['mapChange',['$event']]]]]}}" bindupdated="__e"></map></view>i<view class="location"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view><view class="location-item"><view class="box-left"><view class="img01"><image src="../../static/img/line01.png" mode></image></view><view class="img02"><image src="{{item.info.avatar}}" mode></image></view><view class="info"><view class="info-header"><view class="name">{{'救护员'+(index+1)+''}}</view><view class="distance">{{''+item.num+'km'}}</view><view class="location-icon"><image src="../../static/img/location-icon.png" mode></image></view></view><view class="address">{{''+item.detailed_address+''}}</view></view></view><view data-event-opts="{{[['tap',[['rescue',['$0',index],[[['list','id',item.id]]]]]]]}}" class="box-right" bindtap="__e"><block wx:if="{{!item.is}}"><view class="img"><image src="../../static/img/rescue.png" mode></image></view></block><block wx:if="{{item.is}}"><view class="called">已呼叫</view></block></view></view></view></block><block wx:if="{{list.length===0}}"><espempty vue-id="52d904f0-1" bind:__l="__l"></espempty></block></view><uni-popup class="vue-ref" vue-id="52d904f0-2" type="center" data-ref="popup" data-event-opts="{{[['^click',[['close']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup_row"><view class="title"><view class="title-left">请输入您的手机号,等待救援!</view><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="cancel" bindtap="__e"><image src="../../static/img/cancel1.png" mode></image></view></view><view class="inpBox"><input type="text" value="{{to_phone}}" placeholder="请输入您的手机号" data-event-opts="{{[['input',[['__set_model',['','to_phone','$event',[]]]]]]}}" bindinput="__e"/></view><view class="inpedit">可在方框中修改您的手机号</view><view class="comfirm"><view data-event-opts="{{[['tap',[['comfirm1']]]]}}" class="comfirm1" bindtap="__e">确认</view></view></view></uni-popup></view>
|