addLocation.wxml 1.7 KB

1
  1. <view class="container data-v-4b369518"><view class="map data-v-4b369518"><map style="width:100%;height:100%;" latitude="{{latitude}}" longitude="{{longitude}}" scale="{{16}}" markers="{{covers}}" data-event-opts="{{[['tap',[['handleClick',['$event']]]]]}}" bindtap="__e" class="data-v-4b369518"></map></view><view class="search data-v-4b369518"><uni-search-bar vue-id="72327a12-1" bgColor="#fff" placeholder="请输入搜索地点" cancelButton="none" value="{{searchValue}}" data-event-opts="{{[['^clear',[['clear']]],['^input',[['__set_model',['','searchValue','$event',[]]],['handleSearch']]]]}}" bind:clear="__e" bind:input="__e" class="data-v-4b369518" bind:__l="__l"></uni-search-bar></view><block wx:if="{{placeList.length}}"><view class="list data-v-4b369518"><block wx:for="{{placeList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['handleChoose',['$0'],[[['placeList','id',item.id]]]]]]]}}" class="box data-v-4b369518" bindtap="__e"><view class="icon data-v-4b369518"><image src="{{$root.m0}}" class="_img data-v-4b369518"></image></view><view class="place data-v-4b369518"><view class="top data-v-4b369518">{{''+item.title+''}}</view><view class="bottom data-v-4b369518">{{'地点:'+item.address+''}}</view></view></view></block></view></block><block wx:if="{{placeList.length}}"><view class="range data-v-4b369518"><view class="key data-v-4b369518">打卡范围:</view><view data-event-opts="{{[['tap',[['changeRange',['$event']]]]]}}" class="value data-v-4b369518" bindtap="__e"><text class="data-v-4b369518">{{rangeValue+"米"}}</text><image src="{{$root.m1}}" class="_img data-v-4b369518"></image></view></view></block></view>