<van-popup show="{{ show }}" position="right" custom-style="width: 660rpx; height:100vh;" z-index="{{zIndex}}" bind:close="onClose">
    <view class="head" />
    <Yl_ListBox height="{{listHeight}}" pullDown='{{false}}'>
        <block wx:for="{{list}}" wx:key="label">
            <view class="groud" wx:if="{{item.list.length}}">
                <view class="label">
                    {{item.label}}
                </view>
                <view class="content">
                    <van-button custom-class='but {{item.index==i?"active":""}}' wx:for="{{item.list}}" wx:for-item="data" wx:for-index="i" wx:key="i" data-item="{{data}}" data-index="{{index}}" data-i="{{i}}" bindtap="onSelect">{{data[item.showName]}}</van-button>
                </view>
            </view>
        </block>
        <view wx:if="{{dateRange}}" class="groud">
            <view class="label">
                日期范围
            </view>
            <view class="content time">
                <picker mode="date" bindchange='changeDate' data-name="startdate">
                    <view class="tbox">{{startdate||'开始日期'}}</view>
                </picker>
                <view class="partition">-</view>
                <picker mode="date" bindchange='changeDate' data-name="enddate">
                    <view class="tbox">{{enddate||"结束日期"}}</view>
                </picker>
            </view>
        </view>
        <slot />
    </Yl_ListBox>
    <view class="footer" bindtap="onClick">
        <van-button data-name="close" custom-class='v-but'>关闭</van-button>
        <van-button data-name="reset" custom-class='v-but'>重置</van-button>
        <van-button data-name="confirm" custom-class='v-but confirm'>确定</van-button>
    </view>
</van-popup>