<script src="<sl-tag>安装目录</sl-tag>wap/wap94/skin/js/js.js"></script>

<sl-tag>在线客服</sl-tag>
<div class="scms_bar_d">
<div class="scms_container w1200">
<link href="<sl-tag>安装目录</sl-tag>css/language-selector.css" rel="stylesheet" type="text/css" />
<div id="lang_sel" style="z-index:10000;">
<sl-tag>语言按钮</sl-tag>
</div>
<div class="scms_left">
欢迎来到<sl-tag>网站标题</sl-tag>！
</div>


<div class="scms_right">

 <sl-function f="member">
<parameter><![CDATA[<a href="%登录链接%" class="scms_btn">登录</a> <a href="%注册链接%" class="scms_btn">注册</a>]]></parameter>
<parameter><![CDATA[欢迎您！ <a href="%会员中心%" class="scms_btn">%用户名%</a> <a href="%会员中心%" class="scms_btn">会员中心</a> <a href="%退出链接%" class="scms_btn">退出</a>]]></parameter>
</sl-function>
</div>
</div>
</div>
<div style="height: 26px;"></div>

<nav class="navbar navbar-default met-nav" role="navigation" style="background:url()no-repeat;background-size: cover;background-position:center;background-color:#ffffff;">
  <div class="navbar-header">
    <div class="container dropup">
      <button type="button" class="navbar-toggle hamburger hamburger-close collapsed" data-target="#navbar-default-collapse" data-toggle="collapse"> <span class="sr-only">Toggle navigation</span> <span class="hamburger-bar"></span> </button>
      <a href="<sl-tag>首页链接</sl-tag>" class="navbar-brand navbar-logo vertical-align" title="<sl-tag>网站标题</sl-tag>">
      <h1 class="hide"><sl-tag>网站标题</sl-tag></h1>
      <div class="vertical-align-middle"><img src="<sl-tag>安装目录</sl-tag><sl-tag>手机版logo</sl-tag>" alt="<sl-tag>网站标题</sl-tag>" title="<sl-tag>网站标题</sl-tag>"></div>
      </a>
      <div class="met-langlist  margin-top-10 text-center top-site navbar-right">
        <div class="inline-block dropup">
          <ul class="lang-list clearfix">
            <li>
              <div class="met-search-body">
                <form action="<sl-tag>安装目录</sl-tag>index.php?type=search" method="post">
                  
                  <div class="input-search">
                    <button class="search-btn" type="submit"><i class="fa fa-search"></i></button>
                    <input type="text" class="form-control" name="keyword" value="" placeholder="搜索" data-fv-notempty="true" data-fv-message="不能为空">
                  </div>
                </form>
              </div>
            </li>
          </ul>
        </div>
      </div>
      <h2 class="hide"></h2>
    </div>
  </div>
  <div class="collapse navbar-collapse navbar-collapse-toolbar" id="navbar-default-collapse">
    <div class="container">
      <ul class="nav navbar-nav navlist">
<sl-function f="getmenu">
<parameter><![CDATA[<li class="dropdown margin-left-0 yyy"> <a class="dropdown-toggle link " data-toggle="dropdown" data-hover="dropdown" href="%主菜单链接%" aria-expanded="false" title="%主菜单标题%">%主菜单标题%<i class="fa fa-caret-down"></i></a>          %子菜单%        </li>]]></parameter>
<parameter><![CDATA[<li><a href="%子菜单链接%" class=" nav2list" title="%子菜单标题%">%子菜单标题%</a></li>]]></parameter>
<parameter><![CDATA[<ul class="dropdown-menu dropdown-menu-right maxNavlist">%子菜单样式%</ul>]]></parameter>
</sl-function>
</ul>
    </div>
  </div>
</nav>

<script>

$(".yyy").each(function(){
  if($(this).find("ul").length==0){
    $(this).children("a").removeAttr("data-toggle");
  }
})
</script>