<van-search value="{{ condition }}" shape='round' placeholder="{{language['请输入搜索关键词']||'请输入搜索关键词'}}" use-action-slot bind:change="onChange" bind:clear='onClear' bind:search="onSearch">
    <view class="filtrate-box" slot="action" hover-class="navigator-hover" bindtap="openFiltrate">
        <view class="iconfont  icon-shaixuan" />
        <view>{{language['筛选']||'筛选'}}</view>
    </view>
</van-search>

<view style="height: 20rpx;" />
<Yl_ListBox id='ListBox' bind:getlist='getList'>
    <view class="global-card item" hover-class="navigator-hover" wx:for="{{list}}" wx:key="sa_projectid"
        data-item="{{item}}" bind:tap="selectItem">
        <view class="title">
            <text class="line-1">{{item.projectname || " --"}}</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.sys_tag}}" 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">
            <view class="col">{{language['项目阶段']||'项目阶段'}}：{{language[item.stagename] || item.stagename ||' --'}}</view>
            <view class="col">{{language['报备进度']||'报备进度'}}：<text
                    style="color: {{sColors[item.status]}};">{{language[item.reportstatus] || item.reportstatus ||' --'}}</text></view>
        </view>
        <view class="row">{{language['预计签约金额']||'预计签约金额'}}：{{item.signamount_due ||' --'}}</view>
        <view class="row">{{language['项目成交金额']||'项目成交金额'}}：{{item.dealamount ||' --'}}</view>
        <view class="row">{{language['项目地址']||'项目地址'}}：{{item.province + item.city +item.county +item.address}}</view>
        <view class="row">{{language['项目编号']||'项目编号'}}：{{item.projectnum ||' --' }}</view>
        <view class="row">{{language['项目规模']||'项目规模'}}：{{item.scale + (language[item.unitname] || item.unitname||'')}}
        </view>
        <view class="row">{{language['领域']||'领域'}}：{{language[item.tradefield] || item.tradefield||' --'}}</view>
        <view class="row">{{language['创建时间']||'创建时间'}}：{{item.createdate ||' --'}}</view>
    </view>
    <My_empty wx:if="{{list.length==0}}" />
</Yl_ListBox>

<Yl_Filtrate1 show='{{showFiltrate}}' rule='{{false}}' list='{{filtratelist}}' dateRange="{{false}}"
    bindhandle="handleFilter" />