<van-search value="{{ content.where.condition }}" shape="round" background="#fff" placeholder="{{language['请输入关键字']||'请输入关键字'}}" bind:search='startSearch' bind:clear='onClear' />
<view class="total" style="height: 20rpx;" />
<Yl_ListBox id='ListBox' bind:getlist='getList'>
    <navigator class="item" url="#" wx:for="{{list}}" wx:key="sa_orderitemsid" data-item="{{item}}" bindtap="onChange">
        <van-checkbox value="{{ handle.isCheck(item.sa_orderitemsid,result) }}" shape="square" icon-size='28rpx' />
        <view style="flex: 1;margin-left: -30rpx;">
            <item item='{{item}}' />
        </view>
    </navigator>
    <My_empty wx:if="{{list.length==0}}" />
</Yl_ListBox>

<view class="footer">
    <view class="count">
        {{language['已选']||'已选'}}：{{result.length}}
    </view>
    <van-button custom-class='but' disabled='{{result.length==0}}' bind:click="submit">{{language['确定']||'确定'}}</van-button>
</view>
<wxs module="handle">
    module.exports = {
        isCheck: function (id, list) {
            return list.some(function (v) {
                return v == id
            });
        },
    }
</wxs>