Browse Source

Merge remote-tracking branch 'origin/developerB' into developerB

Administrator 4 years ago
parent
commit
c42c3c1ade
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/templates/help/help.html

+ 2 - 2
src/main/resources/templates/help/help.html

@@ -11,7 +11,7 @@
 <template th:replace="components/header"></template>
 
 <!-- 帮助页面 -->
-<div class="navLayout">
+<div class="navLayout" th:object="${pageInfo}">
     <!-- 面包屑 -->
     <div class="crumbs">
         <span>帮助中心</span>
@@ -24,7 +24,7 @@
             <div class="navList" th:each="type: ${helpPages}">
                 <span class="tab" th:text="${type.name}"></span>
                 <div class="con">
-                    <a th:each="page: ${type.linkList}" th:href="'/help/'+${page.id}+'.html'" th:text="${page.name}"></a>
+                    <a th:each="page: ${type.linkList}" th:href="'/help/'+${page.id}+'.html'" th:text="${page.name}"  th:attr="class=${pageInfo.id==page.id?'on':''}"></a>
                 </div>
             </div>
         </div>