有关当前焦点的标签,只有我能理解

{eyou:channel type="first" currentstyle="active"} 
{eyou:eq name='$eyou.field.grade' value='2'} 
{eyou:type typeid='$eyou.field.typeid' id='field1'} 
{eyou:eq name='$field1.parent_id' value='$field.id'} 
{eyou:assign name='$field.currentstyle' value='active' /}
{/eyou:eq} 
{/eyou:type} 
{/eyou:eq}
<li>
<a href="{$field.typeurl}" class="{$field.currentstyle}">{$field.typename}</a>
</li>
{/eyou:channel}
----------------------------------------------------------
{eyou:channel type='sonself' currentstyle="active"}
<li>
<a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}">{$field.typename}</a>
</li>
{/eyou:channel}

 

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