cshenfu
2024-06-27 58aa6e282bb343503be3cb198948328ea3ed7b79
1
<view class="page_bg data-v-111e30f2"><z-paging class="z_pag data-v-111e30f2 vue-ref" vue-id="12a86e54-1" empty-view-fixed="{{true}}" hide-loading-more-when-no-more-by-limit="{{5}}" data-ref="paging" value="{{addressList}}" data-event-opts="{{[['^query',[['getList']]],['^input',[['__set_model',['','addressList','$event',[]]]]]]}}" bind:query="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{addressList}}" wx:for-item="item" wx:for-index="__i0__"><view data-event-opts="{{[['tap',[['backBuy',['$event']]]]]}}" class="address_item data-v-111e30f2" bindtap="__e"><view class="top data-v-111e30f2"><view class="title data-v-111e30f2"><text class="data-v-111e30f2">{{item.name}}</text><text class="text_2 data-v-111e30f2">{{item.phone_number}}</text><block wx:if="{{item.is_default==1}}"><text class="default_adress data-v-111e30f2">默认</text></block></view><view class="desc data-v-111e30f2">{{item.province+item.city+item.area+item.detail}}</view></view><view class="end data-v-111e30f2"><u-icon vue-id="{{('12a86e54-2-'+__i0__)+','+('12a86e54-1')}}" name="trash" color="#263147" size="28" label="删除" label-size="24" data-event-opts="{{[['^tap',[['openPop',['$0'],[[['addressList','',__i0__,'_id']]]]]]]}}" bind:tap="__e" class="data-v-111e30f2" bind:__l="__l"></u-icon><u-icon vue-id="{{('12a86e54-3-'+__i0__)+','+('12a86e54-1')}}" name="zhuanfa" color="#263147" size="28" label="编辑" label-size="24" data-event-opts="{{[['^tap',[['changeAddress',['edit','$0'],[[['addressList','',__i0__,'_id']]]]]]]}}" bind:tap="__e" class="data-v-111e30f2" bind:__l="__l"></u-icon></view></view></block></z-paging><u-modal vue-id="12a86e54-4" content="确认删除地址?" show-cancel-button="{{true}}" value="{{show}}" data-event-opts="{{[['^confirm',[['remove']]],['^cancel',[['e0']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:confirm="__e" bind:cancel="__e" bind:input="__e" class="data-v-111e30f2" bind:__l="__l"></u-modal><view class="save_bg data-v-111e30f2"><u-button class="save_btn data-v-111e30f2" vue-id="12a86e54-5" shape="circle" ripple="{{true}}" ripple-bg-color="#444" data-event-opts="{{[['^tap',[['changeAddress',['add']]]]]}}" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}">+添加地址</u-button></view></view>