在当前栏目下如何调用同级兼下级栏目呢?下面代码即可实现。
{eyou:channel type="sonself" currentstyle="active"}
<li> <a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}">{$field.typename}</a> </li>
{/eyou:channel}
type='sonself' 表示当前下级栏目以及同级栏目
2024年01月21日
在当前栏目下如何调用同级兼下级栏目呢?下面代码即可实现。
type='sonself' 表示当前下级栏目以及同级栏目
Powered By Z-BlogPHP 1.7.3
Copyright Phpcto.com Rights Reserved. ICP备案:豫ICP备2024044071号-1