联系官方销售客服
1835022288
028-61286886
请教我这样写不对嘛,同页面中有一个了这样的代码了,另一个好用,这个不好二级栏目出不来
{category module=shop id=2 } <a href="{$t.url}" class="fl i">{$t.name}</a> {if $t.child} {category module=shop pid=$t.id return=t2 } <a href="{$t2.url}" class="fl i">{$t2.name}</a> {if $t2.child} {category module=shop pid=$t2.id return=t3} <a href="{$t3.url}" class="fl i">{$t3.name}</a> {/category} {/if} {/category} {/if} {/category}
{if $c1.child}
{category module=shop pid=$t.id return=c12 }
<a href="{$c12.url}" class="fl i">{$c12.name}</a>
{/category}
{/if}
{/category}