企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 全局 ## 标题 ~~~ {dede:global.cfg_webname/} ~~~ ## 描述 ~~~ {dede:global.cfg_description/} ~~~ ## 关键词 ~~~ {dede:global.cfg_keywords/} ~~~ ## 域名路径 ~~~ {dede:global.cfg_basehost/} ~~~ ## 备案号 ~~~ {dede:global.cfg_beian/} ~~~ ## 导航 ~~~ <ul class="nav navbar-nav"> <li><a href="{dede:global.cfg_basehost/}">首页</a></li>{dede:channel row="10" type="top" col="1" currentstyle="<li class='hover'><a href='~typelink~' ~rel~>~typename~</a></li>" } <li><a href='[field:typeurl/]' [field:rel/]>[field:typename/]</a></li>{/dede:channel} </ul> ~~~ ## 导航2 ~~~ <ul class="list-unstyled"> {dede:channel type='son' typeid='1' row='20' currentstyle=" <li><a href='~typelink~' ~rel~><i class="fa fa-angle-right"></i> ~typename~</a></li>"}<li><a href="[field:typeurl/]"><i class="fa fa-angle-right"></i> [field:typename/]</a></li> {/dede:channel}</ul> ~~~ ## 导航3 ~~~ <ul class="list-inline"> {dede:channel type='son' typeid='1' row='20' currentstyle=" <li><a href='~typelink~' ~rel~><span>~typename~</span></a></li>"} <li><a href="[field:typeurl/]">[field:typename/]</a></li> {/dede:channel} </ul> ~~~ ## 导航(带下拉) ~~~ <ul class="nav navbar-nav"> <li><a href="{dede:global.cfg_basehost/}">首页</a></li> {dede:channelartlist row="10" typeid='top'} <li class="dropdown"> <a href="{dede:field name='typeurl'/}" class="dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false">{dede:field name='typename'/}</a> <ul class="dropdown-menu"> {dede:channel type='son' noself='yes'} <li><a href="[field:typelink/]"><i class="icon-caret-right"></i> [field:typename/]</a></li> {/dede:channel} </ul> </li> {/dede:channelartlist} </ul> ~~~ ## 分类(带二级目录) ~~~ <div class="col-md-3 f-chanpinfenlie"> <p class="f-cpfl">产品分类</p> <div class="bb"> {dede:channelartlist row="10" typeid='top' typeid="4"} <p class="jc"><i class="icon-circle-arrow-right"></i> <a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a></p> <ul class="list-unstyled"> {dede:channel row="10" type="son" reid="4"} <li><a href="[field:typelink/]">[field:typename/]</a></li> {/dede:channel} </ul> {/dede:channelartlist} </div> </div> ~~~ ## 搜索框 ~~~ <div class="search"> <form name="formsearch" action="{dede:global.cfg_cmsurl/}/plus/search.php"> <div class="form"> <input type="hidden" name="kwtype" value="0" /> <input name="q" type="text" class="search-keyword" id="search-keyword" value="在这里搜索..." onfocus="if(this.value=='在这里搜索...'){this.value='';}" onblur="if(this.value==''){this.value='在这里搜索...';}" /> <button type="submit" class="search-submit">搜索</button> </div> </form> </div> ~~~