myaddress.wxml
1.1 KB
<view class="itemAddress displayB" wx:for="{{list}}" data-item="{{list}}">
<view class="add_left" bindtap="getchoose" data-index='{{index}}'>
<view class="add_user display">
<!-- <view class="user_name">{{item.name}}</view>
<view class="user_phone">{{item.phone}}</view>
<view class="is_default" wx:if="{{item.delFlag==1}}">默认</view> -->
<view class="user_name">{{item.name}}</view>
<view class="user_phone">{{item.tel}}</view>
<view class="is_default" wx:if="{{item.is_default==1}}">默认</view>
</view>
<view class="add_msg">{{item.province}}{{item.city}}{{item.district}}{{item.address}}</view>
</view>
<view class="add_right">
<view class="item_choose display2" bindtap="bindCompile" data-id="{{item.id}}">
<image src="/imgs/compile.png"></image>
<view>编辑</view>
</view>
<view class="item_choose display2" style="margin-top:48rpx" bindtap="bindDelete" data-id="{{item.id}}">
<image src="/imgs/delete.png"></image>
<view>删除</view>
</view>
</view>
</view>
<view class="addAddress" bindtap="getAddress">
新增收货地址
</view>