<view class="DrawerPage {{modalName=='viewModal'?'show':''}}">
    <van-search use-action-slot placeholder='请输入搜索关键词' shape='round' bind:search="onSearch" bind:clear="onSearch">
        <view slot="action" class="cuIcon-filter search-right" bindtap="showModal" data-target="viewModal">
            筛选
        </view>
    </van-search>
    <van-tabs color='var(--assist)' title-active-color='var(--assist)' bind:change="tabsChange">
        <van-tab title="全部" />
        <van-tab title="新建" />
        <van-tab title="预提交" />
        <van-tab title="提交" />
        <van-tab title="确认" />
        <van-tab title="审核" />
        <van-tab title="手工关闭" />
        <van-tab title="关闭" />
    </van-tabs>
    <view class="tips">
        共计{{total}}单，合计{{handleHide.query(amount,hidePrice)}}元
    </view>
    <Yl_ListBox id='ListBox' bind:getlist='getList'>
        <List list="{{list}}" hidePrice='{{hidePrice}}' />
        <view style="height:150rpx;" />
    </Yl_ListBox>
    <Float />
</view>

<view class="DrawerClose {{modalName=='viewModal'?'show':''}}" bindtap="hideModal">
    <text class="cuIcon-pullright"></text>
</view>
<scroll-view scroll-y class="DrawerWindow  {{modalName=='viewModal'?'show':''}}">
    <view class="cu-list menu card-menu margin-top-xl margin-bottom-xl shadow-lg bg-white">
        <Filtrate list='{{filtratelist}}' bindhandle='handleFiltrate' />
    </view>
    <view style="height: 200rpx;" />
</scroll-view>

<wxs src="/utils/hidePrice.wxs" module="handleHide" />