dede:channe这种导航栏高亮如何改成迅睿的呢? 迅睿框架 更新 2021-12-07 18:38:07 lianhao 各位老师这种导航栏高亮如何改成迅睿的呢??{dede:channel type='son' currentstyle="<a href='~typelink~' class='thisclass'>~typename~</a>"} <a href="[field:typeurl/]">[field:typename/]</a>{/dede:channel}
{category ********} 在循环体中判断当前栏目高亮显示 {if IS_SHARE && $catid && in_array($catid, $t.catids)} active{/if} {/category}参考这里哈https://www.xunruicms.com/doc/910.html{category module=share pid=0 return=t} <a href="{$t.url}" {if in_array($catid, $t.catids)} class='thisclass' {/if} >{$t.name}</a> {/category} {if in_array($catid, $t.catids)} class='thisclass' {/if} //这个就是判断当前栏目高亮的