联系官方销售客服
1835022288
028-61286886
列表页二级分类如何写:
<div class="item"> <span class="tit">一级分类:</span> <div class="mb-sx">{category module=share pid=$parent.id} <a href="{$t.url}" class="btn {if $t.id==$cat.id}on{/if}">{$t.name}</a>{/category} </div> </div> <div class="item"> <span class="tit">二级分类:</span> <div class="mb-sx">{category module=share pid=$parent.id} <a href="{$t.url}" class="btn {if $t.id==$cat.id}on{/if}">{$t.name}</a>{/category} </div> </div>