<inputtype="checkbox"lay-filter="*"data-type="status"value="{{$k}}"title="{{$v or '未知'}}">
<inputtype="checkbox"lay-filter="*"@if(in_array($k,explode(',',@$_GET['status']))){{"checked"}}@endifdata-type="status"value="{{$k}}"title="{{$v or '未知'}}">
@endforeach
@endif
</div>
...
...
@@ -55,7 +54,7 @@
<inputtype="hidden"name="order_type"value="">
@if(!empty($order_type) && is_array($order_type))
@foreach($order_type as $k=>$v)
<inputtype="checkbox"lay-filter="*"data-type="status"value="{{$k}}"title="{{$v or '未知'}}">
<inputtype="checkbox"lay-filter="*"data-type="status"@if(in_array($k,explode(',',@$_GET['order_type']))){{"checked"}}@endifvalue="{{$k}}"title="{{$v or '未知'}}">
<inputtype="checkbox"lay-filter="*"@if(in_array($k,explode(',',@$_GET['status']))){{"checked"}}@endifdata-type="status"value="{{$k}}"title="{{$v or '未知'}}">
@endforeach
@endif
</div>
</div>
</div>
</div>
<divclass="layui-form-item">
<divclass="layui-inline">
...
...
@@ -55,42 +48,96 @@
<inputtype="hidden"name="order_type"value="">
@if(!empty($order_type) && is_array($order_type))
@foreach($order_type as $k=>$v)
<inputtype="checkbox"lay-filter="*"data-type="status"value="{{$k}}"title="{{$v or '未知'}}">
<inputtype="checkbox"lay-filter="*"data-type="status"@if(in_array($k,explode(',',@$_GET['order_type']))){{"checked"}}@endifvalue="{{$k}}"title="{{$v or '未知'}}">