dengrui/unpackage/dist/dev/mp-weixin/pagesB/adManagement/adManagement.wxml

1 line
1.7 KiB
Plaintext

<view><status-nav vue-id="7339bc5a-1" statusBackw="{{true}}" statusTitle="{{true}}" whereCome="{{wherenum*1}}" title-val="地址管理" tabcolor="#ffffff" bind:__l="__l"></status-nav><view class="bacb padding-zy30 posir" style="{{'padding-top:'+(statusHNH+'px')+';'}}"><block wx:for="{{dataArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{dataArr.length!=0}}"><view class="disba borbot"><view data-event-opts="{{[['tap',[['chooseAddress',[index]]]]]}}" class="margin-sx40" style="margin-top:20px;" bindtap="__e"><view class="fon28 color33 disac"><block wx:if="{{item.is_default==1}}"><view class="fon24 colorb margin-y20 btnaddress" style="background-color:#e91111;">默认</view></block><view class="fon28 color33">{{item.name+" "+item.phone}}</view></view><view class="fon30 bold margin-sx10">{{item.address}}</view><view class="fon28 color33">{{item.province_str+" "+item.city_str+" "+item.county_str}}</view></view><view><image style="width:27rpx;height:26rpx;margin-right:20rpx;" src="/static/img/order/addEdit.png" mode data-event-opts="{{[['tap',[['updateAddress',[index,'$0'],[[['dataArr','',index,'id']]]]]]]}}" bindtap="__e"></image><image style="width:33rpx;height:33rpx;" src="/static/img/gouwc/del.png" mode data-event-opts="{{[['tap',[['delAddress',[index,'$0'],[[['dataArr','',index,'id']]]]]]]}}" bindtap="__e"></image></view></view></block></block><block wx:if="{{dataArr.length==0}}"><view class="zanwu">暂无收货地址</view></block></view><view class="disbc" style="position:fixed;bottom:40px;left:60px;right:60px;"><view data-event-opts="{{[['tap',[['updateAddress',['-1',0]]]]]}}" class="colorb fon30 addbtn" bindtap="__e">+新建收货地址</view></view></view>