🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
##### 初始化 ~~~ $sbh_search = []; ~~~ ##### 基本搜索选项 ~~~ $sbh_search[] = ['宽度数值(1-12)','search_max']; ~~~ ##### 文本精确查询 ~~~ $sbh_search[] = ['宽度数值(1-12)','text','field'=>'字段名','name'=>'提示信息']; ~~~ ##### 文本模糊查询 ~~~ $sbh_search[] = ['宽度数值(1-12)','text_like','field'=>'字段名','name'=>'提示信息']; ~~~ ##### 时间区间查询 ~~~ $sbh_search[] = ['宽度数值(1-12)','time','field'=>'字段名','name'=>'提示信息']; ~~~ ##### 数值区间查询 ~~~ $sbh_search[] = ['宽度数值(1-12)','num','field'=>'字段名','name'=>'提示信息']; ~~~ ##### 下拉框查询 ~~~ $option = []; $option[] = [显示值,字段值]; $option[] = [显示值,字段值]; $sbh_search[] = ['宽度数值(1-12)','select','field'=>'字段名','name'=>'提示信息','option'=>$option]; ~~~