ThinkSSL🔒 一键申购 5分钟快速签发 30天无理由退款 购买更放心 广告
# **头部页** ***** ```html <div id="header"> <div class="container"> <div class="col-xs-12 logo"> <img src="__INDEX__img/logo.png"> </div> </div> <div id="nav-1"> <nav class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand hidden-lg" href="/">首页</a> </div> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav col-xs-12 lizhili-nav"> <li {if !isset($data.cateid) or !$data.cateid}><a href="/">首页</a></li> {volist name=":nav()" id="vo"} <li {if ($data.cateid ?? 0)==$vo.id} class="active" {/if}><a href="{:url('index/cate',['id'=>$vo.id])}">{$vo.catename}</a></li> {/volist} </ul> </div> </div> </nav> </div> </div> ```