联系官方销售客服
1835022288
028-61286886
{list action=category module=share pid=0} <li><a href="{$t.url}">{$t.name} <span class="caret"></span></a> {if $t.child} <ul class="dropdown-menu"> {list action=category module=share pid=$t.id return=t2} <li><a href="{$t2.url}">{$t2.name} <span class="caret"></span></a> {if $t2.child} <ul class="dropdown-menu"> {list action=category module=share pid=$t2.id return=t3} <li><a href="{$t3.url}">{$t3.name}</a></li> {/list} </ul> {/if} </li> {/list} </ul> {/if} </li> {/list}如代码所示想给有二级栏目的一级栏目添加个caret 属性 不知道怎么写了