<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dedecms二级菜单的做法

时间:2020-12-21

二级菜单的做法,可以用标签channelartlist标签来做!

比如;

{dede:channelartlist  type='top' row='7'}

<p>

  <a href="{dede:field name='typeurl'/}"  class='lv1'>{dede:field name='typename'/}</a>

<em>

  {dede:channel type='son'}

    <a href="[field:typelink/]">[field:typename/]</a>

  {/dede:channel}

</em>

</p>

{/dede:chanelartlist}

效果如图:

 

剩下的就用css来改变了。

 

此外,channelartlist还经常用在封面模板中,主要用来循环栏目标题和栏目标题下的文档,也就是用于获取当前频道(或者指定频道)的下级栏目的文档列表。

 

{dede:channelartlist}

{dede:type}[field:字段名/]{/dede:type}(调用当前频道栏目)

{dede:arclist}[field:字段名/]{/dede:arclist}(获得下级栏目的文档列表)

{/dede:channelartlist}

    0
    首页
    案例
    关于
    联系