联系官方销售客服
QQ1835022299
028-61286886
最近仿一个网站导航有三级的下拉菜单有两种样式(如下图)
{category module=share pid=0 num=10} {if $t.child}{$t.name} {category module=share pid=$t.id return=t2} {if $t2.child}{else} {/if} {/category}{else}{category module=share pid=$t.id return=a2}
- {$a2.name} {category module=share pid=$a2.id return=a3} {$a3.name} {/category}
{/category}{/category} {/if}{category module=share pid=$t.id return=b2}
- {/category}
{$b2.name}