0000
This commit is contained in:
27
pages/myAddress/myAddress.wxml
Normal file
27
pages/myAddress/myAddress.wxml
Normal file
@@ -0,0 +1,27 @@
|
||||
<page-loding wx:if="{{showLoding}}"></page-loding>
|
||||
<view class="{{types=='voucher'?'container voucher-container':'container'}}">
|
||||
<view class="list-box">
|
||||
<view catchtap="select" class="item" data-id="{{item.id}}" data-index="{{index}}" wx:for="{{data}}" wx:key="index">
|
||||
<view class="text">
|
||||
<view class="name">{{item.username}},{{item.telnumber}}</view>
|
||||
<view class="address"> {{item.provincename+item.cityname+item.countryname+' '+item.detailinfo}} </view>
|
||||
</view>
|
||||
<view class="footer">
|
||||
<view catchtap="setDefault" class="btn" data-id="{{item.id}}" data-index="{{index}}" data-isdefault="{{item.isdefault}}">
|
||||
<icon color="#ff6600" size="18" type="success" wx:if="{{item.isdefault}}"></icon>
|
||||
<view class="icon" wx:if="{{!item.isdefault}}"></view> 设为默认 </view>
|
||||
<view class="r">
|
||||
<view catchtap="openEdit" class="btn" data-uniqid="{{item.id}}">
|
||||
<image src="/img/edit.png"></image> 编辑 </view>
|
||||
<view catchtap="delAddress" class="btn" data-id="{{item.id}}" data-index="{{index}}">
|
||||
<image src="/img/delete.png"></image> 删除 </view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="no-content" wx:if="{{data.length==0&&!loading}}">
|
||||
<image src="/img/nocontent.png"></image>
|
||||
<view>赶紧新增地址吧</view>
|
||||
</view>
|
||||
<view bindtap="openEdit" class="scan-btn"> 新增地址 </view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user