联系官方销售客服
QQ1835022299
028-61286886
{list action=category module=share num=6 pid=0}
{list action=category module=share pid=$t.id return=t2}
{if $t2.child}
{else}
{list action=category module=share pid=$t.id return=t2}
{/list}
{/if}
{/list}
{/if}
{/list}
这个 判断 没生效呢 :目的是判断 有无三级栏目 有三级 输出上面的 样式 没有 三级 输出下面的 样式:
目前是
反复循环了 谢谢
{list action=category module=share pid=$t.id return=t2}
{/list}改成- {$t2.name}
官方默认模板有现成的写法,可以借鉴