|
@@ -29,25 +29,51 @@
|
|
|
</li>
|
|
|
</ul>
|
|
|
|
|
|
- <nav>
|
|
|
- <a href="/" class="logo">
|
|
|
- <img src="/img/logo.png" alt="采美"/>
|
|
|
- <span>生美/医美采购服务平台</span>
|
|
|
- </a>
|
|
|
- <div class="search">
|
|
|
+ <div>
|
|
|
+ <div>
|
|
|
+ <a href="/" class="logo">
|
|
|
+ <img src="/img/logo.png" alt="采美"/>
|
|
|
+ <span>生美/医美采购服务平台</span>
|
|
|
+ </a>
|
|
|
+ <div class="search">
|
|
|
+ <div>
|
|
|
+ <span class="current" data-id="0">产品</span>
|
|
|
+ <span data-id="1">供应商</span>
|
|
|
+ <span data-id="2">项目仪器</span>
|
|
|
+ </div>
|
|
|
+ <label>
|
|
|
+ <input type="text" placeholder="请输入关键字" th:value="${path}" />
|
|
|
+ <a href="javascript:void(0);">搜索</a>
|
|
|
+ </label>
|
|
|
+ <!-- 热门搜索关键词 -->
|
|
|
+ <div>
|
|
|
+ <span th:each="word,wordStat: ${searchHotWord}">
|
|
|
+ <i th:if="${wordStat.index}>0">/</i>
|
|
|
+ <a th:href="@{/product/search.shtml( keyword=${word} )}" target="_blank" th:text="${word}"></a>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="topMenu">
|
|
|
<div>
|
|
|
- <span class="current" data-id="0">产品</span>
|
|
|
- <span data-id="1">供应商</span>
|
|
|
- <span data-id="2">项目仪器</span>
|
|
|
+ <a href="javascript:void(0);">商品分类</a>
|
|
|
+ <div>
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <label>
|
|
|
- <input type="text" placeholder="请输入关键字" th:value="${path}" />
|
|
|
- <a href="javascript:void(0);">搜索</a>
|
|
|
- </label>
|
|
|
- <!-- 热门搜索关键词 -->
|
|
|
- <div id="hotWord"></div>
|
|
|
+ <nav>
|
|
|
+ <ul>
|
|
|
+ <li th:each="menu: ${topMenuList}">
|
|
|
+ <a href="javascript:void(0);" th:text="${menu.name}"></a>
|
|
|
+ <div th:if="${not #lists.isEmpty(menu.subMenus)}">
|
|
|
+ <a th:each="sub: ${menu.subMenus}" href="javascript:void(0);" th:text="${sub.name}"></a>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </nav>
|
|
|
</div>
|
|
|
- </nav>
|
|
|
+ </div>
|
|
|
+ <input type="hidden" th:value="${spiServer}" id="spiServer">
|
|
|
<style>
|
|
|
ul{
|
|
|
width:1200px;
|