1 |
- <app-layout vue-id="de3c1946-1" class="data-v-fee9326e" bind:__l="__l" vue-slots="{{['default']}}"><view class="page data-v-fee9326e"><view class="search data-v-fee9326e"><block wx:if="{{search}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="prompt dir-left-nowrap main-center cross-center data-v-fee9326e" bindtap="__e"><image src="../../static/image/icon/icon-search.png" class="data-v-fee9326e"></image><text class="data-v-fee9326e">请输入收货人或联系电话搜索</text></view></block><block wx:else><view style="position:relative;" class="data-v-fee9326e"><input placeholder="请输入收货人或联系电话搜索" type="text" focus="{{true}}" data-event-opts="{{[['focus',[['e1',['$event']]]],['blur',[['inputBlur',['$event']]]],['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindfocus="__e" bindblur="__e" bindinput="__e" class="data-v-fee9326e"/><block wx:if="{{getFocus&&keyword.length}}"><image class="search-clear data-v-fee9326e" src="../../static/image/icon/delete-yuan.png" data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" catchtap="__e"></image></block></view></block></view><block wx:if="{{list!==null}}"><block wx:if="{{!list.length}}"><view class="no-data mb-24 data-v-fee9326e">暂无有效地址信息</view></block><block wx:else><view class="main-center dir-top-nowrap list data-v-fee9326e"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['setData',['$0'],[[['list','',index,'id']]]]]]]}}" bindtap="__e" class="data-v-fee9326e"><app-shipping-address vue-id="{{('de3c1946-2-'+index)+','+('de3c1946-1')}}" item="{{item}}" theme="{{getTheme}}" is_hide_default_btn="{{true}}" destroy_url="{{destroy_url}}" type="{{type}}" data-event-opts="{{[['^handleAddress',[['address']]]]}}" bind:handleAddress="__e" class="data-v-fee9326e" bind:__l="__l"></app-shipping-address></view></block></view></block></block><view class="safe-area-inset-bottom data-v-fee9326e"><view class="u-bottom-height data-v-fee9326e"></view></view><view class="safe-area-inset-bottom u-bottom-fixed data-v-fee9326e"><block wx:if="{{list!==null}}"><view class="dir-left-nowrap add-address-row data-v-fee9326e"><view class="box-grow-1 data-v-fee9326e"><app-form-id vue-id="{{('de3c1946-3')+','+('de3c1946-1')}}" class="data-v-fee9326e" bind:__l="__l" vue-slots="{{['default']}}"><app-button vue-id="{{('de3c1946-4')+','+('de3c1946-3')}}" theme="{{getTheme}}" type="important" round="{{true}}" data-event-opts="{{[['^click',[['editAddress',[0]]]]]}}" bind:click="__e" class="data-v-fee9326e" bind:__l="__l" vue-slots="{{['default']}}"><view class="cross-center main-center data-v-fee9326e"><image class="icon data-v-fee9326e" src="/static/image/icon/add.png"></image><view class="data-v-fee9326e">手动添加</view></view></app-button></app-form-id></view><block wx:if="{{type===0}}"><view class="box-grow-1 data-v-fee9326e"><app-form-id vue-id="{{('de3c1946-5')+','+('de3c1946-1')}}" class="data-v-fee9326e" bind:__l="__l" vue-slots="{{['default']}}"><app-button vue-id="{{('de3c1946-6')+','+('de3c1946-5')}}" type="important" round="{{true}}" background="#08c303" data-event-opts="{{[['^click',[['wechatAddAddress']]]]}}" bind:click="__e" class="data-v-fee9326e" bind:__l="__l" vue-slots="{{['default']}}"><view class="cross-center main-center data-v-fee9326e"><image class="icon data-v-fee9326e" src="/static/image/icon/wechat-white.png"></image><view class="data-v-fee9326e">自动获取</view></view></app-button></app-form-id></view></block></view></block></view><block wx:if="{{notInPointList!==null&¬InPointList.length}}"><view class="tip data-v-fee9326e">以下地址不在配送范围内,请编辑地址进行定位</view><view class="main-center dir-top-nowrap list not-list data-v-fee9326e"><block wx:for="{{notInPointList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="dir-left-nowrap cross-center item data-v-fee9326e"><view class="box-grow-1 left data-v-fee9326e"><view class="dir-left-nowrap mb-12 data-v-fee9326e"><view class="box-grow-1 data-v-fee9326e">{{"收货人: "+item.name}}</view><view class="box-grow-0 data-v-fee9326e">{{item.mobile}}</view></view><view class="data-v-fee9326e">{{"收货地址: "+item.address}}</view></view><view class="box-grow-0 data-v-fee9326e"><view data-event-opts="{{[['tap',[['editAddress',['$0'],[[['notInPointList','',index,'id']]]]]]]}}" class="edit-btn-out data-v-fee9326e" catchtap="__e"><view class="edit-btn data-v-fee9326e">编辑</view></view></view></view></block></view></block><view style="height:130rpx;" class="data-v-fee9326e"></view></view></app-layout>
|