addr_1.wxml
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<view class='container'>
<view class='top'>
<view class='top_item' wx:for="{{orderlist}}" wx:key="">
<!-- 头部 -->
<view class='top_item_t'>
<view class='top_item_t_left'>
{{item.name}}
<view class='top_default' wx:if="{{item.status==1}}">
默认
</view>
</view>
<view class='top_item_t_right'>
<!-- 手机号 -->
<view class='top_phone'>{{item.mobile}}</view>
<!-- 修改按钮 -->
<view class='top_modify' bindtap='toModify' data-id="{{item.address_id}}">
<image src='../../../img/edit@2x.png'></image>
</view>
<!-- 删除按钮 -->
<view class='top_delete' bindtap='toDelete' data-id="{{item.address_id}}">
<image src='../../../img/shanchu_fill@2x.png'></image>
</view>
</view>
</view>
<!-- 底部 -->
<view class='top_item_b'>
{{item.address}}
</view>
</view>
</view>
<!-- 弹层 -->
<!-- <view class='mask'>
<view class='mask_mid'>
</view>
</view> -->
<!-- 按钮 -->
<view class='bottom'>
<view class='bottom_btn' bindtap='btn_newAddr'>
新增收货地址
</view>
</view>
</view>