二级菜单导航
2022-11-24 加入收藏
{eyou:channel type="first" id="field" currentstyle="hover"} <ul class="一级"> <li class="{$field.currentstyle}"><a href="{$field.typeurl}">{$field.typename}</a> <!--一级名称 --> {eyou:notempty name="$field.children"} <ul class="二级"> {eyou:channel name="$field.children" row="100" id="field2"} <li><a href="{$field2.typeurl}">{$field2.typename}</a><li> {/eyou:channel} </ul> {/eyou:notempty} </li> </ul> {/eyou:channel}