- 全局標簽
- artlist 文章列表
- models 欄目列表
- modelsartlist 頻道循環(huán)
- type 指定欄目
- include 引用模板
- arcview 單條文檔
- position 面包屑
- assign 定義變量
- empty 為空判斷
- notempty 不為空判斷
- foreach 循環(huán)輸出
- volist 數(shù)據(jù)循環(huán)
- if 條件判斷
- switch 條件判斷
- compare 變量比較
- adv 廣告列表
- load 文件加載
- global 全局變量
- field 字段值
- tags 標簽調(diào)用
- searchform 搜索標簽
- 常用函數(shù)
- links 友情鏈接
- SQL 數(shù)據(jù)查詢
- weapp 應用插件
- range 范圍判斷
- for 數(shù)據(jù)循環(huán)
- ad 單條廣告
- attribute 欄目屬性
- user 會員信息
- diyurl 內(nèi)鏈調(diào)用
- php標簽
- hotkeywords 熱門搜索
- notice 站內(nèi)信
- asklist 問答列表
- citysite 城市站點
- navigation 導航菜單
- static 文件引入
- 會員信息(memberlist)
- 會員注銷標簽使用方法
- 列表標簽
- 內(nèi)容標簽
- 可視化標簽
- 多語言標簽
screening 文檔篩選
typeid='' 專用于首頁篩選,首頁調(diào)用標簽一定要指定欄目ID
請查閱易優(yōu)數(shù)據(jù)字典,找到表名 ey_channelfield 、ey_article_content
-------------------------------效果預覽--------------------------------
官方的源碼頻道也用到,如圖所示
【更多示例】
{/eyou:screening}
{eyou:screening id='field' currentstyle='active' }
{eyou:volist name='$field.list' id='vo'}
<dl class="clearfix">
<dt class="text-main">{$vo.title}:</dt>
<dd>
<div class="filter-nav">
<ul>
{eyou:volist name='$vo.dfvalue' id='val'}
<li><a {$val.onClick} class="radius-rounded {$val.currentstyle}">{$val.name}</a></li>
{/eyou:volist}
</ul>
</div>
</dd>
</dl>
<!-- 二級輸出標簽,未選擇一級時隱藏 -->
{eyou:volist name='$vo.dfvalue' id='val'}
{notempty name="$val.twoLevelArr"}
<dl class="clearfix">
<dt class="text-main">城市:</dt>
<dd>
<div class="filter-nav">
<ul>
{eyou:volist name='$val.twoLevelArr' id='two'}
<li><a {$two.onClick} class="radius-rounded {$two.currentstyle}">{$two.name}</a></li>
{/eyou:volist}
</ul>
</div>
</dd>
</dl>
<!-- 三級輸出標簽,未選擇一級時隱藏 -->
{eyou:volist name='$val.twoLevelArr' id='two'}
{notempty name="$two.threeLevelArr"}
<dl class="clearfix">
<dt class="text-main">區(qū)縣:</dt>
<dd>
<div class="filter-nav">
<ul>
{eyou:volist name='$two.threeLevelArr' id='three'}
<li><a {$three.onClick} class="radius-rounded {$three.currentstyle}">{$three.name}</a></li>
{/eyou:volist}
</ul>
</div>
</dd>
</dl>
{/notempty}
{/eyou:volist}
{/notempty}
{/eyou:volist}
{/eyou:volist}
{$field.hidden}
{/eyou:screening}