warningStoreList.wxml
2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<tab-bar tabList="{{ tabList }}" bindclick="tabClick" activeIndex="{{ activeIndex }}" />
<scroll-view class="scrollView" scroll-y style="height: calc(100vh - 80px);">
<view class="list">
<!-- wx:for="{{ list }}" wx:key="index" -->
<view class="box" wx:for="{{ list }}" wx:key="index" data-item="{{ item }}" bindtap="navigateToStoreDetail">
<text class="merchant"><text class="status {{ item.storeType == 1?'newStore':'oldStore' }}">{{item.storeType == 1?'新店':'老店'}}</text><text class="merchantName">{{item.merchantName}}</text></text>
<view class="introduction merchantInfo">
<view class="item">
<!-- <view class="left children"> -->
<view class="label">拜访次数</view>
<view class="content">{{item.visitTimes != null ? item.visitTimes : '-'}}次</view>
<!-- </view> -->
<!-- <view class="right children">
<view class="label">销售人员</view>
<view class="content text-hide">{{item.visitCount?item.visitCount+'次':'-'}}</view>
</view> -->
</view>
<view class="item">
<view class="label person">销售人员</view>
<!-- view. -->
<!-- 改成逗号拼接循环 -->
<view class="content">
<block wx:for="{{ item.salePersonnelInfoDTOList }}" wx:for-item="i" wx:key="ind" wx:for-index="ind">
<text>{{i.personnelName}}</text>
<text wx:if="{{ ind < item.salePersonnelInfoDTOList.length - 1 }}">,</text>
</block>
</view>
</view>
<view class="item">
<view class="label person">签约时间</view>
<view class="content">{{item.signedTimeFormatted||'-'}}</view>
</view>
<view class="item">
<view class="label person">展业时间</view>
<view class="content">{{item.expectedOperationDateFormatted||'-'}}</view>
</view>
<view class="item">
<view class="label person">门店地址</view>
<view class="content">{{item.address||'-'}}</view>
</view>
</view>
</view>
</view>
<block wx:if="{{ list.length <= 0 }}">
<view class="nothing">
<glsx-image class="img" src="{{ '/index/empty.png' }}" webp></glsx-image>
<view class="text">暂无数据</view>
</view>
</block>
</scroll-view>