联系官方销售客服
1835022288
028-61286886
{list action=category pid=5 return=c1}
<div class="col-md">
<li class="columnlist-2"> <a href="#collapse1" class="{if $c1.id==$catid} active{/if} collapsed" data-toggle="collapse" data-parent="#accordion" aria-expanded="false">{$c1.name}<i class="fa fa-angle-right"></i> </a> </li>
<div class="columnlist-3 collapse" id="collapse1" aria-expanded="false" style="height: 0px;">
{list action=category pid=$c1.id return=c2}
<li><a href="{$c2.url}" {if $c2.id==$catid}class="active"{/if} >{$c2.name}</a></li>
{/list}
</div>
</div>
{/list}
#collapse1这个数字会在循环的时候递增#collapse1 #collapse2 #collapse3 这样 哪位大神 解答一下 感激不尽
这样吗 不生效呢