网站一级导航、二级导航、三级导航、登陆注册标签代码

日期:2024-09-27 浏览: 作者:淘金云科技

一级菜单导航


<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" id="field" currentstyle="active"}

<li class="{$field.currentstyle}">

<a href="{$field.typeurl}">{$field.typename}</a></li>

{/eyou:channel}


二级菜单导航


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


三级菜单导航


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

{eyou:notempty name="$field2.children"}

<ul class="subnav2">

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


指 定菜单导航


<li class="{eyou:eq name='$Request.param.m' value='Index'}hover{/eyou:eq}">

<a href="{eyou:global name='web_cmsurl' /}">首页</a>

</li>

{eyou:channelartlist currentstyle="active" typeid='88,159'}

<li class="{$field.currentstyle}"><a href="{eyou:field name='typeurl' /}">

{eyou:field name='typename' /}</a>

{/eyou:channelartlist}


登录/注册链接


{eyou:user type='open'}

{eyou:user type='cart'}

<a href="{$field.url}" id="{$field.id}" >购物车</a>

{$field.hidden}

{/eyou:user}

{eyou:user type='login'}

<a href="{$field.url}" id="{$field.id}">登录</a> 

{$field.hidden}

{/eyou:user}

{eyou:user type='reg'}

<a href="{$field.url}" id="{$field.id}">注册</a> 

{$field.hidden}

{/eyou:user}

{eyou:user type='logout'}

<a href="{$field.url}" id="{$field.id}">退出</a> 

{$field.hidden}

{/eyou:user}

{/eyou:user}





微信咨询 电话咨询

官方客服电话

400-110-1179

扫码加微信客服

扫码加微信客服