<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}
typeid='',你指定的栏目ID,可多写。
{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}
{eyou:user type='info'} <div id="{$field.id}"> <a id="{$field.url}" href=""><img id="{$field.head_pic}" /></a> {$field.hidden} </div> {/eyou:user}
{eyou:language type='default'} <a href="{$field.url}"><img src="{$field.logo}" alt="{$field.title}"> {$field.title}</a> {/eyou:language}
type='default' 不包括当前语言,列出其它的语言
type='list' 包括当前语言全部列出
<img src="{eyou:global name='web_logo' /}">
加技术微信沟通更方便