dede顶级栏目问题

<style type="text/css">
.current,.current a{
color:red;
}
</style>
{dede:channel type='self' row='10' currentstyle="<a class=current href=~typelink~>~typename~</a>" }
<a href='[field:typelink/]'>[field:typename/]</a>
{/dede:channel}
原文地址:https://www.cnblogs.com/wmz/p/1268857.html