织梦系统的单个栏目的三级栏目调用代码

2019-01-13 16:28:03 runsly

下面是织梦系统的单个栏目的三级调用代码

<li class="Lev1 {dede:field.currentstyle/} page_item" id="nav_8">{dede:type typeid='30'}<a href='[field:typelink/]' class="menu1">
[field:typename/] <i class="fa fa-caret-down"></i></a>{/dede:type}
<ul class="children" style="display: none; "> {dede:channelartlist typeid='top'  typeid='30'}                      
<li class="Lev2">
<a href='{dede:field name='typeurl'/}' class="depth_2">
<span class="icon10"></span>{dede:field name='typename'/}
</a>                        
<ul>                                 
{dede:sql sql='Select * from dede_arctype where reid=~id~  ORDER BY id limit 0,20'}                                 
<li><a href="[field:typedir function='str_replace("{cmspath}","",@me)'/]"  
class="depth_3">[field:typename/]</a>
</li>                                 
{/dede:sql}                                 
</ul>                   
 </li>                   
{/dede:channelartlist}                   
</ul>           
</li>
      

为您推荐