<van-search id='Search' value="{{ condition }}" shape="round" background="var(--primary)" bind:search='startSearch' bind:clear='cancelSearch' placeholder="{{language['关键字']||'搜索'}}" />/>
<Yl_ListBox id='ListBox' bind:getlist='getList'>
    <view class="total">
        <text wx:if="{{language['总共']}}">{{language['总共']}}：{{total}}</text>
        <text wx:else>总共{{total}}个</text>
    </view>
    <block wx:if="{{myProject}}">
        <van-swipe-cell wx:for="{{list}}" wx:key="billnum" right-width="{{ 60 }}" id="swipe-cell" async-close bind:close="onClose">
            <van-cell-group>
                <project item="{{item}}" data-item="{{item}}" catchtap="toReportForms" />
            </van-cell-group>
            <view slot="right" class="slide">
                <van-button custom-class='but' color="#FF3B30" bindtap="deleteProject" data-item="{{item}}">{{language['删除']||'删除'}}</van-button>
            </view>
        </van-swipe-cell>
    </block>
    <block wx:else>
        <project wx:for="{{list}}" item="{{item}}" data-item="{{item}}" wx:key="billnum" bindtap="toReportForms" />
    </block>
    <My_empty wx:if="{{list.length==0}}" />
</Yl_ListBox>
<view class="footer" wx:if="{{myProject}}">
    <van-button custom-class='but' bindtap="addProjece">{{language['添加项目']||'添加项目'}}</van-button>
</view>
<projectList id='Plist' list='{{projectList}}' showList='{{projectList}}' bindgetResult="getResult" />