我用的調(diào)用函數(shù)是這個(gè){eyou:channel type='first' currentstyle='on'},只顯示了欄目的頂級(jí)欄目,欄目下的子欄目沒(méi)顯示,如果調(diào)用,謝謝!
產(chǎn)品調(diào)用代碼詳情
<div class="nydh">
<div class="title">
<p>— {$eyou.field.typeid|gettoptype=###,'typename'} —</p>
<span>{$eyou.field.typeid|gettoptype=###,'englist_name'}</span> </div>
<ul class="ul">
{eyou:channel type='first' currentstyle='on'}
<li class="{$field.currentstyle}"><a href="{$field.typeurl}">{$field.typename}</a></li>
{/eyou:channel}
</ul>
</div>