导航如果栏目为显示其它的显示如果栏目是显示否则显示 迅睿框架 更新 2021-03-06 22:41:03 小昕 导航:如果栏目ID为3显示“3333”,其它的显示“1111”{category module=share pid=0}{if $t.child}如果栏目是3显示3333否则显示“1111”{/if} {/category}
{category module=share pid=0} {if $t.child} {if $t.id == 3}如果栏目是3 显示3333 {else}否则 显示“1111” {/if} {/if} {/category}