联系官方销售客服
1835022288
028-61286886
您好,我想调用制定栏目,然后调用他的全部子栏目,应该怎么写呢?这个子栏目现在有三级,分别是公司产品》流量计》电磁流量计》智能电磁流量计,这个他的代码请问是什么呢?我这么写的代码,现在出现的有问题,能麻烦帮忙看一下吗?或者您能帮忙写一下代码吗?
<li class='dropdown'>
{category module=share id=2}<a href="{$t.url}">{$t.name}</a>
<a href="" id="app_menudown" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="glyphicon glyphicon-menu-down btn-xs"></span> </a>
{if $t.child}<ul class="dropdown-menu nav_small container nav_full">
{category module=share pid=$t.id return=t2}
<li class="col-md-2 son"><a href="{$t2.url}">{$t2.name}</a>
{if $t2.child} <ul class="class2 nav_sun">
{category module=share pid=$t2.id return=t3}
<li class="sun">
<a href="{$t3.url}">{$t3.name}</a><span class="menu_head current">+</span>
<ul class="class3 menu_body" style="display: none;">
<li> <a href="{$t3.url}" title="{$t3.name}">{$t3.name}</a> </li>
</ul>
</li>{/category}
</ul>{/if}
</li>{/category}
</ul>{/if}
{/category}
</li>