<timeRange id='TimeRange' dateType='{{dateType}}' bind:onChange='changeDate' />
<block>
    <view class="global-card" style='margin-top:0;'>
        <view class="row">
            <view class="col" style='background-color: #3874F6;'>
                <view class="label">{{language['线索数']||'线索数'}}</view>
                <view class="value">{{list[0].orderclueSize || 0}}</view>
            </view>
            <view class="col" style='background-color: #68C23A'>
                <view class="label">{{language['新增线索数']||'新增线索数'}}</view>
                <view class="value">{{list[0].insertOrderclue|| 0}}</view>
            </view>
        </view>
        <view class="row">
            <view class="col" style='background-color:  #E6A33B'>
                <view class="label">{{language['线索转化率']||'线索转化率'}}</view>
                <view class="value">{{list[0].ordercluezhl|| 0}}</view>
            </view>
            <view class="col" style='background-color:  #F56C6D'>
                <view class="label">{{language['跟进次数']||'跟进次数'}}</view>
                <view class="value">{{followSize|| 0}}</view>
            </view>
        </view>
    </view>
    <shrink title="销售线索明细" wx:if="{{list[0].status}}" open='{{showList}}' bind:onChange='shrinkChange'>
        <view style='padding-top: 20rpx;'>
            <navigator  url="/packageA/saleClue/detail?sat_orderclueid={{item.sat_orderclueid}}" class="global-card serve-item" wx:for='{{list}}' wx:key='sat_orderclueid'>
                <view class="title">{{item.projectname || item.enterprisename || '--'}}</view>
                <view class="status" style="background-color:{{sColors[item.status]||'#3874F6'}}">
                    {{language[item.status]||item.status}}
                </view>
                <view class="line">
                    {{language['客户名称']||'客户名称'}}：{{item.enterprisename || ' --'}}
                </view>
                <view class="line">{{language['项目名称']||'项目名称'}}：{{item.projectname || ' --'}}</view>
                <view class="line">{{language['联系方式']||'联系方式'}}：{{item.phonenumber || ' --'}}</view>
                <view class="line">
                    {{language['省市县']||'省市县'}}：{{item.province +  item.city +  item.county || ' --'}}
                </view>
                <view class="line">{{language['地址']||'地址'}}：{{item.address || ' --'}}</view>
                <view class="line">{{language['领域']||'领域'}}：{{item.tradefield || ' --'}}</view>
                <view class="line">{{language['项目规模']||'项目规模'}}：{{item.scale || ' --'}}</view>
            </navigator>
        </view>
    </shrink>
    <My_empty wx:else />
</block>