MapSelect.wxml 1.8 KB

1
  1. <view class="div common-map-select data-v-7956592f"><view class="div search-wrap data-v-7956592f"><text data-event-opts="{{[['tap',[['searchAddress',['$event']]]]]}}" class="i iconfont data-v-7956592f" bindtap="__e"></text><input type="text" data-event-opts="{{[['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindinput="__e" class="data-v-7956592f"/><view data-event-opts="{{[['tap',[['searchAddress',['$event']]]]]}}" class="div btn data-v-7956592f" bindtap="__e">搜索</view></view><view class="div result-list data-v-7956592f"><block wx:if="{{member_point&&style&&ifShowCurrent}}"><view class="{{['div','data-v-7956592f',(style)?'current':'']}}"><text class="span notice data-v-7956592f">当前地址<text data-event-opts="{{[['tap',[['getPosition',['$event']]]]]}}" class="span reset data-v-7956592f" bindtap="__e"><text class="i iconfont data-v-7956592f"></text>重新定位</text></text><view class="div data-v-7956592f"><view data-event-opts="{{[['tap',[['setPosition',['$0','$1','$2'],['member_point.lat','member_point.lng','member_point.address']]]]]}}" class="div result-item data-v-7956592f" style="border-bottom:0;" bindtap="__e">{{member_point.address}}</view></view></view></block><view class="{{['div','data-v-7956592f',(style)?'nearby':'']}}"><text class="span notice data-v-7956592f">附近地址</text><block wx:for="{{address_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="div data-v-7956592f"><block wx:if="{{item.location}}"><view data-event-opts="{{[['tap',[['setPosition',['$0','$1','$2'],[[['address_list','',index,'location.lat']],[['address_list','',index,'location.lng']],[['address_list','',index,'name']]]]]]]}}" class="div result-item data-v-7956592f" bindtap="__e">{{item.name}}</view></block></view></block></view></view></view>