Antiloveg 8 years ago
parent
commit
8dab44f37c
1 changed files with 18 additions and 24 deletions
  1. 18 24
      src/main/webapp/WEB-INF/views/portal/news/newsDetails.html

+ 18 - 24
src/main/webapp/WEB-INF/views/portal/news/newsDetails.html

@@ -52,10 +52,9 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:utext="${it.content}">
-									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
-								</p>
-								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
+								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
+								<span th:text="${it.source}"></span> <i
+									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
 						</div>
 					</li>
@@ -78,10 +77,9 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:utext="${it.content}">
-									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
-								</p>
-								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
+								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
+								<span th:text="${it.source}"></span> <i
+									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
 						</div>
 					</li>
@@ -104,10 +102,9 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:utext="${it.content}">
-									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
-								</p>
-								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
+								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
+								<span th:text="${it.source}"></span> <i
+									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
 						</div>
 					</li>
@@ -130,10 +127,9 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:utext="${it.content}">
-									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
-								</p>
-								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
+								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
+								<span th:text="${it.source}"></span> <i
+									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
 						</div>
 					</li>
@@ -156,10 +152,9 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:utext="${it.content}">
-									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
-								</p>
-								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
+								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
+								<span th:text="${it.source}"></span> <i
+									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
 						</div>
 					</li>
@@ -182,10 +177,9 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:utext="${it.content}">
-									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
-								</p>
-								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
+								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
+								<span th:text="${it.source}"></span> <i
+									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
 						</div>
 					</li>