🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## noempty * [ ] 功能说明:表记录不为空执行操作 * [ ] 适用范围:全局使用 * [ ] 基本语法: ``` {SEO:noempty table="user_banner" filed ="" where="belong_to=>0" order="" limit ="" id="vo"} {/SEO:noempty} ``` **参数说明**: * [ ] table='' 表名 * [ ] where='' where条件,以key=>val格式编写 * [ ] field='' 表字段,留空默认为* * [ ] order='' 排序 * [ ] limit='' 条数 如PC端有导航图,显示查找到的导航图片: ``` {SEO:noempty table='user_banner' where="belong_to=>0" limit='4' id="vo"} <div class="swiper-slide"> <img src="http://t7.baidu.com/it/u=f=jpeg?sec=1591172742&t=470fa0b6" width="1920"></div> {/SEO:noempty} ```