三级菜单导航

{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}

 

posted @ 2021-01-23 12:19  浅岛连云  阅读(110)  评论(0编辑  收藏  举报