<viewDate title='分析日期' bind:onChange='changeDate' />
<Yl_ListBox id='ListBox' bind:getlist='getList'>
	<view class="global-card">
		<view class="chart"></view>
	</view>
	<view class="chart2">
		<ec-canvas id="mychart" canvas-id="chart" ec="{{ ec }}"></ec-canvas>
	</view>
	<block wx:if="{{!list[0].isEmpty}}">
		<navigator url="/packageA/saleClue/detail?sat_orderclueid={{item.sat_orderclueid}}" class="global-card item" wx:for="{{list}}" wx:key="sat_orderclueid">
			<view class="title">
				<text class="line-1">{{item.projectname || item.enterprisename_customer || " --"}}</text>
				<view class="status" style="background-color: {{sColors[item.status]}};">
					{{language[item.status]||item.status}}
				</view>
			</view>
			<view class="tag-box">
				<van-tag custom-class='tag' wx:for="{{item.tags}}" wx:key="index" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
			</view>
			<view class="row">
				<view class="col">{{language['负责人']||'负责人'}}：{{item.leader.length?item.leader[0].name :' --'}}</view>
				<view class="col">{{language['部门']||'部门'}}：{{item.leader.length?item.leader[0].depname :' --'}}</view>
			</view>
			<view class="row">{{language['客户名称']||'客户名称'}}：{{item.enterprisename ||' --'}}</view>
			<view class="row">{{language['项目名称']||'项目名称'}}：{{item.projectname ||' --'}}</view>
			<view class="row">{{language['联系人']||'联系人'}}：{{item.name ||' --'}}</view>
			<view class="row">{{language['联系方式']||'联系方式'}}：{{item.phonenumber ||' --'}}</view>
			<view class="row">{{language['详细地址']||'详细地址'}}：{{item.address ||' --'}}</view>
			<view class="row"> {{language['未跟进天数']||'未跟进天数'}}：
				<view style="color:#3874F6">
					{{item.unqty||'0'}}{{language['天']||'天'}}
				</view>
			</view>
			<view class="row">{{language['创建时间']||'创建时间'}}：{{item.createdate ||' --'}}</view>
		</navigator>
	</block>

	<My_empty wx:if="{{list.length==0}}" />
	<view style="height: 100rpx;">

	</view>
</Yl_ListBox>