mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-10 07:48:07 +08:00
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
<view class="page">
|
|
<view tt:if="{{data_list.length > 0}}">
|
|
<view class="item bg-white spacing-mb" tt:for="{{data_list}}" tt:key="key">
|
|
<view bindtap="address_conent_event" data-index="{{index}}">
|
|
<view class="base oh">
|
|
<text tt:if="{{(item.alias || null) != null}}" class="address-alias">{{item.alias}}</text>
|
|
<text>{{item.name}}</text>
|
|
<text class="fr">{{item.tel}}</text>
|
|
</view>
|
|
<view class="address oh">
|
|
<image class="item-icon fl" src="/images/user-address.png" mode="widthFix" />
|
|
<view class="text fr">{{item.province_name || ''}}{{item.city_name || ''}}{{item.county_name || ''}}{{item.address || ''}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="operation br-t oh">
|
|
<button tt:if="{{(item.lng || null) != null && (item.lat || null) != null}}" class="fr cr-666 map-submit br" type="default" size="mini" bindtap="address_map_event" data-index="{{index}}" hover-class="none">查看地图</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view tt:if="{{data_list.length == 0}}">
|
|
<import src="/pages/common/nodata.ttml" />
|
|
<template is="nodata" data="{{status: data_list_loding_status}}"></template>
|
|
</view>
|
|
|
|
<import src="/pages/common/bottom_line.ttml" />
|
|
<template is="bottom_line" data="{{status: data_bottom_line_status}}"></template>
|
|
</view> |