## empty
* [ ] 標簽名稱:empty
* [ ] 功能說明:判定表記錄為空
* [ ] 適用范圍:全局使用
* [ ] 基本語法:
```
{SEO:empty table='' where="key=>val" id="vo"}
{/SEO:empty}
```
**參數說明**:
table='表名
where='where條件,以key=>val格式編寫
如PC端無導航圖,顯示默認圖片:
```
{SEO:empty table="user_banner" where="belong_to=>0" id="vo"}
<div class="swiper-slide">
<img src="http://t7.baidu.com/it/&f=jpeg?72742&t=4746" width="1920">
</div>
{/SEO:empty}
```
```
{SEO:noempty table='user_banner' where="belong_to=>0" limit='4' order='order' id="vo"}
<li><a href="#"><img src="{$vo.pic}" alt=""></a></li>
{/SEO:noempty}
{SEO:empty table='user_banner' where="belong_to=>0" limit='4' id="vo"}
<li><a href="#"><img src="/template/company/pc/333/static/{$companyInfo['themes_color']}/images/banner1.jpg" alt=""></a></li>
<li><a href="#"><img src="/template/company/pc/333/static/{$companyInfo['themes_color']}/images/banner2.jpg" alt=""></a></li>
<li><a href="#"><img src="/template/company/pc/333/static/{$companyInfo['themes_color']}/images/banner3.jpg" alt=""></a></li>
{/SEO:empty}
```
```
belong_to: 0:pc;1手機 2全部