<van-search value="{{ content.where.condition }}" shape="round" background="var(--primary)" bindchange='startSearch' bind:clear='closeSearch' placeholder="请输入搜索关键词" />
<!-- 下拉菜单 -->
<van-dropdown-menu class="menu" activeColor='var(--assist)'>
    <van-dropdown-item id="item" title="{{showText||'默认'}}">
        <van-tree-select items="{{ items }}" main-active-class='main-active' content-active-class='content-active' main-active-index="{{ mainActiveIndex }}" active-id="{{activeId}}" bind:click-nav="onClickNav" bind:click-item="onClickItem" />
    </van-dropdown-item>
    <view class="switch">
        <My_switch sort='{{sort}}' bind:change="switchChange" />
    </view>
</van-dropdown-menu>
<!-- 列表 -->
<Yl_ListBox id='ListBox' bind:getlist='selectList'>
    <view class="unread">总共{{total}}个</view>
    <navigator url="#" class="course my-card" wx:for="{{list}}" data-item="{{item}}" bindtap="toDetail">
        <van-image width="160rpx" height="120rpx" custom-class='cover-img' lazy-load fit='cover' src="{{item.cover||'https://img.yzcdn.cn/vant/cat.jpeg'}}" />
        <view class="explian">
            <view class="title line-1">{{item.title}}</view>
            <view class="details line-1">{{item.notes}}</view>
            <view class="read line-1">{{item.readcount}}</view>
        </view>
    </navigator>
    <Yl_Empty wx:if="{{!list.length}}" />
    <view style="height: 40px;" />
</Yl_ListBox>