store-pick.wxml 2.5 KB

1
  1. <app-layout vue-id="2ea03a4a-1" class="data-v-f4bbe388" bind:__l="__l" vue-slots="{{['default']}}"><view class="page data-v-f4bbe388"><view class="top data-v-f4bbe388"><view class="dir-left-nowrap box data-v-f4bbe388"><input class="box-grow-1 input data-v-f4bbe388" type="text" confirm-type="搜索" data-event-opts="{{[['confirm',[['search',['$event']]]],['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindconfirm="__e" bindinput="__e"/><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="close-tip data-v-f4bbe388" bindtap="__e"><block wx:if="{{keyword}}"><image class="search-close data-v-f4bbe388" src="/static/image/icon/delete-yuan.png"></image></block></view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="box-grow-0 cross-center data-v-f4bbe388" bindtap="__e">搜索</view></view></view><block wx:if="{{list!==null}}"><block wx:if="{{!list.length}}"><view class="main-center no-result data-v-f4bbe388" style="margin-top:100rpx;"><view class="dir-left-nowrap cross-center data-v-f4bbe388"><image class="box-grow-0 empty data-v-f4bbe388" src="../../static/image/icon/empty.png"></image><view class="box-grow-1 data-v-f4bbe388"><view class="data-v-f4bbe388">抱歉,没有相关门店</view></view></view></view></block><block wx:else><view class="main-center dir-top-nowrap list data-v-f4bbe388" style="margin-top:100rpx;"><block wx:if="{{!keyword}}"><view class="manual-location data-v-f4bbe388"><app-button vue-id="{{('2ea03a4a-2')+','+('2ea03a4a-1')}}" type="general" data-event-opts="{{[['^click',[['selectLocation']]]]}}" bind:click="__e" class="data-v-f4bbe388" bind:__l="__l" vue-slots="{{['default']}}">手动定位</app-button><block wx:if="{{locationAddress}}"><view class="location-address data-v-f4bbe388">{{''+locationAddress+''}}</view></block></view></block><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['setData',['$0',index],[[['list','',index,'id']]]]]]]}}" class="dir-left-nowrap item data-v-f4bbe388" bindtap="__e"><view class="box-grow-0 data-v-f4bbe388"><image class="avatar data-v-f4bbe388" src="{{item.cover_url}}"></image></view><view class="box-grow-1 data-v-f4bbe388"><view class="name mb-8 data-v-f4bbe388">{{item.name}}</view><view class="mobile mb-8 data-v-f4bbe388">{{"电话: "+item.mobile}}</view><view class="distance data-v-f4bbe388">{{"距离: "+item.distance}}</view></view></view></block></view></block></block></view></app-layout>