二級菜單導航
2022-11-30 加入收藏
<li class="{eyou:eq name='$Request.param.m' value='Index'}hover{/eyou:eq}"> <a href="{eyou:global name='web_cmsurl' /}">首頁</a> </li> {eyou:channel type="top" row="60" id="field" currentstyle="hover"} <li class="{$field.currentstyle}"><a href="{$field.typeurl}">{$field.typename}</a> {eyou:notempty name="$field.children"} <ul class="subnav"> eyou:channel name="$field.children" row="100" id="field2"} <li><a href="{$field2.typeurl}">{$field2.typename}</a></li> {/eyou:channel} </ul> {/eyou:notempty} </li> {/eyou:channel}