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