<!--导航开始-->
<div class="global_nav_wrap">
<ul class="nav nav-pills">
<li{dede:field name=typeid runphp="yes"}(@me=="")? @me=" class='nav-current'":@me="";{/dede:field}> <a class="dropdown-toggle" href="http://cn.prep-zone.cn/">首页</a></li>
{dede:channelartlist typeid='top' row='18' currentstyle='nav-current'}
<li class="{dede:field.currentstyle/}"> <a class="dropdown-toggle" href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a>
<ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
{dede:channel type='son'}
<li><a tabindex="-1" href="[field:typelink/]">[field:typename/]</a></li>
{/dede:channel}
</ul>
</li>
{/dede:channelartlist}
</ul>
</div>
<!--导航结束-->
dede让channelartlist标签支持currentstyle属性 完美解决