warningStoreList.wxml 2.17 KB
<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>