Browse Source

官网新增关键词等开发

anderx 2 years ago
parent
commit
4a9fce8e82
1 changed files with 14 additions and 12 deletions
  1. 14 12
      src/main/webapp/WEB-INF/views/portal/newsDetails.html

+ 14 - 12
src/main/webapp/WEB-INF/views/portal/newsDetails.html

@@ -62,18 +62,20 @@
 
             </div>
             <div class="copyright">
-              <p>
-                <span style="font-size: 18px;">热门关键词:</span>
-                <a class="kw" th:each="key:${keywords}" th:text="${key}"></a>
-              </p>
-              <p>上一篇: <a th:if="${news.beforeId} != null" th:href="'/news/'+${news.beforeId}"
-                         th:text="${news.beforeTitle}"></a>
-                <a th:if="${news.beforeId}  == null" th:text="已经是第一篇"></a>
-              </p>
-              <p>下一篇: <a th:if="${news.afterId} != null" th:href="'/news/'+${news.afterId}"
-                         th:text="${news.afterTitle}"></a>
-                <a th:if="${news.afterId}  == null" th:text="已经是最后一篇"></a>
-              </p>
+              <div class="page">
+                <p>
+                  <span style="font-size: 18px;">热门关键词:</span>
+                  <a class="kw" th:each="key:${keywords}" th:text="${key}"></a>
+                </p>
+                <p>上一篇: <a th:if="${news.beforeId} != null" th:href="'/news/'+${news.beforeId}"
+                           th:text="${news.beforeTitle}"></a>
+                  <a th:if="${news.beforeId}  == null" th:text="已经是第一篇"></a>
+                </p>
+                <p>下一篇: <a th:if="${news.afterId} != null" th:href="'/news/'+${news.afterId}"
+                           th:text="${news.afterTitle}"></a>
+                  <a th:if="${news.afterId}  == null" th:text="已经是最后一篇"></a>
+                </p>
+              </div>
               <div class="bzsm" th:utext="${bzsm}">
 
               </div>