织梦导航栏有特定样式用法

<ul id="nav" class="nav">
      <li class="nLi {dede:field name=typeid runphp="yes"}(@me=="")? @me="on":@me="";{/dede:field}">
        <h3><a href="{dede:global.cfg_cmspath/}/">网站首页</a></h3>
      </li>
      {dede:channel type='top' currentstyle="
      <li class='nLi on'>
        <h3><a href='~typelink~'>~typename~</a></h3>
      </li>
      "}
      <li class="nLi">
        <h3><a href="[field:typeurl/]">[field:typename/]</a></h3>
      </li>
      {/dede:channel}
</ul>

 

posted @ 2020-08-05 16:35  冷晨  阅读(364)  评论(0编辑  收藏  举报