<blockquote class="info"><p>自定义栏目标签</p></blockquote>
~~~
{nav_custom id=’”1,2,3”’ value=’’} 循环的栏目 {/nav_custom}
/*2个参数
*
* id='"需要调用的栏目id"'
* value = '自定义变量'
*/
~~~
<blockquote class="info"><p>案例</p></blockquote>
~~~
{nav_custom id='"21,24"' value=''} //自定义调用id=21,24,2个栏目导航
<li>
<a href="{if condition='$nav_custom["jumpurl"]'}{$nav_custom["jumpurl"]}{else/}{:url('index/index/'.$nav_custom['model'],['id'=>$nav_custom['id']])}{/if}">
{$nav_custom.name}
</a>
</li>
{/nav_custom}
~~~