20 lines
916 B
Plaintext
20 lines
916 B
Plaintext
<!-- <address-editor saveText="保存并使用" communityId="{{communityId}}"/> -->
|
|
|
|
<view class="page-container address-list">
|
|
<view class="head">常用地址</view>
|
|
<block wx:if="{{addressList.length>0}}">
|
|
<view class="item" wx:for="{{addressList}}" data-item="{{item}}" wx:key="index" bind:tap="setCurrentAddress">
|
|
<view class="text">
|
|
<view class="title">{{item.address_detail}}</view>
|
|
<view class="sub-title">{{item.name}} {{item.phone}}</view>
|
|
</view>
|
|
<image class="icon" src="/assets/icon/help/edit@2x.png"
|
|
capture-catch:tap="goToAddressEditor" data-item="{{item}}"/>
|
|
</view>
|
|
</block>
|
|
<view class="list-empty" wx:else>
|
|
<view class="title">该小区暂无常用地址</view>
|
|
<view class="sub-title">使用过的地址会在这里显示</view>
|
|
</view>
|
|
</view>
|
|
<button type="primary" class="add-button" bind:tap="goToAddAddress">添加</button> |