<nav th:fragment="top" class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <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="logo-a" href="javascript:;"><img th:src="@{/img/logo.jpg}" alt="logo"></a>
        </div>

        <div class="collapse navbar-collapse navbar-right" aria-expanded="false">
            <ul class="nav navbar-nav">
                <li class=" active"><a href="javascript:;">首页</a></li>
                <li class=""><a href="javascript:;">关于我们</a></li>
                <li class=""><a href="javascript:;">地产开发</a></li>
                <li class=""><a href="javascript:;">最新消息</a></li>
                <li class=""><a href="javascript:;">联系我们</a></li>
            </ul>
        </div>
    </div>
</nav>