<timeRange id='TimeRange' dateTypes='{{dateTypes}}' 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].allprojectSize || 0}}</view>
            </view>
            <view class="col" style='background-color: #68C23A'>
                <view class="label">{{language['项目成交率']||'项目成交率'}}</view>
                <view class="value">{{list[0].cjl}}</view>
            </view>
        </view>
        <view class="row">
            <view class="col" style='background-color: #E6A33B;'>
                <view class="label">{{language['预计总签约金额']||'预计总签约金额'}}</view>
                <view class="value">{{list[0].allSignamount_due}}{{language['万']||'万'}}</view>
            </view>
        </view>
    </view>
    <shrink title="项目明细" wx:if="{{list[0].status}}" open='{{showList}}' bind:onChange='shrinkChange'>
        <view style='padding-top: 20rpx;'>
            <navigator url="/packageA/project/detail?id={{item.sa_projectid}}" class="global-card serve-item" wx:for='{{list}}' wx:key='sa_projectid'>
                <view class="title">{{item.projectname}}</view>
                <view class="status" style="background-color: {{item.status == '跟进中'? '#3874f6' :sColors[item.status]}};">
                    {{language[item.status]||item.status}}
                </view>
                <view class="line">{{language['项目地址']||'项目地址'}}：{{item.address || ' --'}}</view>
                <view class="line">{{language['负责人']||'负责人'}}：{{item.name || ' --'}}</view>
                <view class="line">
                    {{language['预计签约金额']||'预计签约金额'}}：{{item.signamount_due || ' --'}}{{language['元']||'元'}}
                </view>
                <view class="line">
                    {{language['预计签约时间']||'预计签约时间'}}：{{item.signdate_due || ' --'}}
                </view>
                <view class="line">{{language['项目阶段']||'项目阶段'}}：{{item.stagecounts || ' --'}}</view>
                <view class="line">{{language['项目编号']||'项目编号'}}：{{item.projectnum || ' --'}}</view>
                <view class="line">
                    {{language['项目类型']||'项目类型'}}：{{language[item.projecttype]||item.projecttype || ' --'}}
                </view>
                <view class="line">
                    {{language['项目规模']||'项目规模'}}：{{item.scale+(language[item.unitname]||item.unitname) || ' --'}}
                </view>
                <view class="line">
                    {{language['领域']||'领域'}}：{{language[item.tradefield]||item.tradefield||'--'}}
                </view>
                <view class="line">
                    {{language['品牌']||'品牌'}}：{{language[item.brandname]||item.brandname||'--'}}
                </view>
                <view class="line">
                    {{language['预计开工时间']||'预计开工时间'}}：{{item.begdate_due||'--'}}
                </view>
            </navigator>
        </view>
    </shrink>
    <My_empty wx:else />
</block>