我用的調用函數是這個{eyou:channel type='first' currentstyle='on'},只顯示了欄目的頂級欄目,欄目下的子欄目沒顯示,如果調用,謝謝!
產品調用代碼詳情
<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>