|
@@ -7,13 +7,19 @@
|
|
|
<scroll-view class="customer-list" scroll-y="true" scroll-with-animation="true" lower-threshold="1"
|
|
|
bindscrolltolower="scrollBottom">
|
|
|
<view class="item {{item.isDefault ? 'default' : ''}}" wx:for="{{pagesList}}" wx:key="id" data-id="{{item.id}}">
|
|
|
- <text>户名:{{item.username || '--'}}</text>
|
|
|
- <text>户号:{{item.userNumber || '--'}}</text>
|
|
|
- <text>地址:{{item.address || '--'}}</text>
|
|
|
- <text bindtap="call" data-index="{{item.mobilePhone}}">手机:{{item.mobilePhone || '--'}}</text>
|
|
|
- <text>紧急联系人:{{item.emergencyContact || '--'}}</text>
|
|
|
- <text bindtap="call" data-index="{{item.emergencyContactPhoneNumber}}">紧急联系人手机号:{{item.emergencyContactPhoneNumber || '--'}}</text>
|
|
|
- <text>标签:{{item.label || '--'}}</text>
|
|
|
+ <text>户名:{{item.username || '-'}}</text>
|
|
|
+ <text>户号:{{item.userNumber || '-'}}</text>
|
|
|
+ <text>地址:{{item.address || '-'}}</text>
|
|
|
+ <view bindtap="call" data-index="{{item.mobilePhone}}" style="display:inline-flex">
|
|
|
+ <text>手机:</text>
|
|
|
+ <text class="{{item.mobilePhone?'underline':'nounderline'}}">{{item.mobilePhone || '-'}}</text>
|
|
|
+ </view>
|
|
|
+ <text>紧急联系人:{{item.emergencyContact || '-'}}</text>
|
|
|
+ <view bindtap="call" data-index="{{item.emergencyContactPhoneNumber}}" style="display:inline-flex">
|
|
|
+ <text>紧急联系人手机号:</text>
|
|
|
+ <text class="{{item.emergencyContactPhoneNumber?'underline':'nounderline'}}">{{item.emergencyContactPhoneNumber || '-'}}</text>
|
|
|
+ </view>
|
|
|
+ <text>标签:{{item.label || '-'}}</text>
|
|
|
<view class="check clearfix" data-item="{{item}}" bindtap="setDefault">
|
|
|
<image class="fl-left" src="/static/img/{{item.isDefault ? 'icon_selected' : 'icon_unSelect'}}.png"></image>
|
|
|
<text class="fl-left">设为默认</text>
|