<Yl_nav search list='{{navList}}' bind:onClick='navClick' bind:onSearch='navSearch' />
<!-- 显示类型 -->
<van-action-sheet show="{{ classShow }}" actions="{{ classActions }}" cancel-text="取消" bind:cancel="classClose" bind:select="classSelect" />
<view class="total">共{{content.total}}个</view>
<My_listBox id='ListBox' height="{{listHeight}}" bind:getlist='getList'>
    <List list='{{list}}' />
</My_listBox>
<!-- 筛选条件 -->
<Yl_filtrate show="{{filter.show}}" bind:handle="handleFilter">
    <view class="groud" wx:if="{{filter.projectTypeList.length!=0}}">
        <view class="label">
            项目类型
        </view>
        <view class="content">
            <van-button custom-class='but {{filter.typeActive==item.value?"active":""}}' wx:for="{{filter.projectTypeList}}" wx:key="item.rowindex" bindtap="selectTypeName" data-item="{{item}}">{{item.value}}</van-button>
        </view>
    </view>
    <view class="groud" wx:if="{{filter.stageList.length!=0}}">
        <view class="label">
            项目阶段
        </view>
        <view class="content">
            <van-button custom-class='but {{filter.stageActive==item.stagename?"active":""}}' wx:for="{{filter.stageList}}" wx:key="item.stagename" bindtap="stageStatus" data-item="{{item}}">{{item.stagename}}</van-button>
        </view>
    </view>
    <view class="groud">
        <view class="label">
            项目状态
        </view>
        <view class="content">
            <van-button custom-class='but {{filter.statusActive==item?"active":""}}' wx:for="{{filter.status}}" wx:key="item" bindtap="selectStatus" data-item="{{item}}">{{item}}</van-button>
        </view>
    </view>
    <view class="groud">
        <view class="label">
            时间范围
        </view>
        <view class="content time">
            <picker mode="date" bindchange='changeDate' data-name="startdate">
                <view class="tbox">{{filter.startdate||'开始时间'}}</view>
            </picker>
            <view class="partition">-</view>
            <picker mode="date" bindchange='changeDate' data-name="enddate">
                <view class="tbox">{{filter.enddate||"结束时间"}}</view>
            </picker>
        </view>
    </view>
</Yl_filtrate>

<!-- 浮动按钮 -->
<Yl_FloatingButton bindtap="toAdd" />