user_address.wxml 2.1 KB

1
  1. <view style="{{(colorStyle)}}"><view class="{{['address-management',$root.g0?'fff':'']}}"><view class="line"><block wx:if="{{$root.g1}}"><image src="/static/images/line.jpg"></image></block></view><block wx:if="{{$root.g2}}"><radio-group data-event-opts="{{[['change',[['radioChange',['$event']]]]]}}" class="radio-group" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view data-event-opts="{{[['tap',[['goOrder',['$0'],[[['addressList','',index,'id']]]]]]]}}" class="address" bindtap="__e"><view class="consignee">{{item.m0+":"+item.$orig.real_name}}<text class="phone">{{item.$orig.phone}}</text></view><view>{{item.m1+":"+item.$orig.province+item.$orig.city+item.$orig.district+item.$orig.detail}}</view></view><view class="operation acea-row row-between-wrapper"><radio class="radio" value="{{index}}" checked="{{item.$orig.is_default?true:false}}"><text>{{item.m2}}</text></radio><view class="acea-row row-middle"><view data-event-opts="{{[['tap',[['editAddress',['$0'],[[['addressList','',index,'id']]]]]]]}}" bindtap="__e"><text class="iconfont icon-bianji"></text>{{item.m3}}</view><view data-event-opts="{{[['tap',[['delAddress',[index]]]]]}}" bindtap="__e"><text class="iconfont icon-shanchu"></text>{{item.m4}}</view></view></view></view></block></radio-group></block><block wx:if="{{$root.g3}}"><view class="loadingicon acea-row row-center-wrapper"><text class="loading iconfont icon-jiazai" hidden="{{loading==false}}"></text>{{loadTitle+''}}</view></block><block wx:if="{{$root.g4}}"><view class="noCommodity"><view class="pictrue"><image src="{{imgHost+'/statics/images/noAddress.png'}}"></image></view></view></block><view style="height:120rpx;"></view><view class="footer acea-row row-between-wrapper"><view data-event-opts="{{[['tap',[['addAddress',['$event']]]]]}}" class="addressBnt bg-color" bindtap="__e"><text class="iconfont icon-tianjiadizhi"></text>{{$root.m5}}</view><view data-event-opts="{{[['tap',[['getWxAddress',['$event']]]]]}}" class="addressBnt wxbnt" bindtap="__e"><text class="iconfont icon-weixin2"></text>{{$root.m6+''}}</view></view></view></view>