You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
2.3 KiB

<view><view class="edgeInsetTop"></view><block wx:if="{{$root.g0}}"><wanl-empty vue-id="15303eb8-1" text="还没添加任何地址" bind:__l="__l"></wanl-empty></block><view class="margin-top-bj"><view class="cu-list menu-avatar"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="id"><block wx:if="{{addressList}}"><view class="{{['cu-item',modalName=='move-box-'+index?'move-cur':'']}}" data-target="{{'move-box-'+index}}" data-event-opts="{{[['tap',[['checkAddress',['$0'],[[['addressList','id',item.$orig.id]]]]]],['touchstart',[['ListTouchStart',['$event']]]],['touchmove',[['ListTouchMove',['$event']]]],['touchend',[['ListTouchEnd',['$event']]]]]}}" bindtap="__e" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="cu-avatar round lg" style="background-color:#fe6600;">{{item.g1}}</view><view class="content"><view><text class="wanl-pip margin-right-sm text-lg">{{item.$orig.name}}</text><text class="wanl-gray-light text-sm">{{item.$orig.mobile}}</text></view><view class="text-sm wanl-pip text-cut-2" style="line-height:1.3;"><block wx:if="{{item.$orig.default==1}}"><text class="wlIcon-dizhi text-red margin-right-xs"></text></block>{{''+item.$orig.province+" "+item.$orig.city+" "+item.$orig.district+" "+item.$orig.address+''}}</view></view><view data-event-opts="{{[['tap',[['addAddress',['edit','$0'],[[['addressList','id',item.$orig.id]]]]]]]}}" class="action" catchtap="__e"><text class="wlIcon-xiugaioryijian text-xl"></text></view><view class="move"><view data-event-opts="{{[['tap',[['addAddress',['edit','$0'],[[['addressList','id',item.$orig.id]]]]]]]}}" class="bg-grey" catchtap="__e">编辑</view><view data-event-opts="{{[['tap',[['delAddress',['$0',index],[[['addressList','id',item.$orig.id,'id']]]]]]]}}" class="bg-red" catchtap="__e">删除</view></view></view></block><block wx:else><wanl-empty vue-id="{{'15303eb8-2-'+index}}" text="没有找到任何地址" src="address_default3x" bind:__l="__l"></wanl-empty></block></block></view></view><uni-load-more vue-id="15303eb8-3" status="{{status}}" content-text="{{contentText}}" bind:__l="__l"></uni-load-more><view class="edgeInsetBottom"></view><view class="wanlian cu-bar tabbar foot flex flex-direction"><button data-event-opts="{{[['tap',[['addAddress',['add']]]]]}}" class="cu-btn wanl-bg-orange lg" bindtap="__e">+ 增加收货地址</button></view></view>