concat.wxml
1.33 KB
<nav hasHome>{{action ? '选择联系人' : '常用联系人'}}</nav>
<page loading="{{loading}}">
<view class="concat-list" wx:if="{{concatlist.length}}">
<block wx:for="{{concatlist}}" wx:key="{{index}}">
<view class="flex item font30r black-font margin-bottom-sm justify-between align-center padding-left padding-right-lg" data-index="{{index}}" catchtap="edit">
<view>
<view class="flex align-center">
<viwe class="txt-38-h text-bold">{{item.name}}</viwe>
<viwe wx:if="{{item.is_default==1}}" class="default margin-left-sm">默认</viwe>
</view>
<view class="txt-38-h" style="margin-top: 16rpx;">{{item.phone}}</view>
</view>
<image src="http://nosqn.colorcun.com/detail/x%20%2815%29.png"
wx:if="{{!action}}"
style="width: 28rpx;height: 30rpx;"></image>
</view>
</block>
</view>
<view class="view flex flex-direction justify-start align-center" wx:else="{{concatlist.length}}">
<image src="http://nosqn.colorcun.com/%E7%BC%96%E7%BB%84%203%403x%20%281%29.png"
style="width: 520rpx;height: 384rpx; margin-top: 132rpx;"></image>
<view class="txt-28-h margin-top-lg">暂无常用预订人哦</view>
</view>
<view class="add-cover flex-cc">
<view class="white-font font36r text-bold add-button flex-cc bg-blue-blue round" catchtap="add">新建联系人</view>
</view>
</page>