三级菜单导航
2022-11-24 加入收藏
{eyou:channel type="first" row="60" id="field" currentstyle="hover"} <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> {eyou:notempty name="$field2.children"} <ul class=" 三级"> {eyou:channel name="$field2.children" row="100" id="field3"} <li><a href="{$field2.typeurl}">{$field3.typename}</a> </li> {/eyou:channel} </ul> {/eyou:notempty} </li> {/eyou:channel} </ul> {/eyou:notempty} </li> {/eyou:channel}