联系官方销售客服
1835022288
028-61286886
怎么在首个文章信息添加active
<div class="tab-btn"> {category module=share pid=$c.id return=t2} <a class="active" href="javascript:;">{$t2.name}</a> {/category} </div> <div class="tabs"> {category module=share pid=$c.id return=t2} <div class="tabpage active"> <ul class="product-list clear margin-t50"> {module module=news catid=$c.id num=6} <li> <a href="{$t.url}"> <div class="img100"><img src="{dr_get_file($thumb)}" alt="{$t.title}" /></div> <div class="pro-list-bot"> <b>{$t.title}</b> <h5>[list:description lencn=50]</h5> <div class="pro-i"></div> </div> </a> </li> {/module} </ul> </div> {/category} </div>