wubb 8 years ago
parent
commit
d937e8b6e3
1 changed files with 25 additions and 13 deletions
  1. 25 13
      src/main/webapp/WEB-INF/views/portal/news/newsDetails.html

+ 25 - 13
src/main/webapp/WEB-INF/views/portal/news/newsDetails.html

@@ -51,8 +51,10 @@
 								<img th:src="${avatarUploadHost + it.titleImg}">
 							</div>
 							<div class="newsDetails_txt">
-								<p th:text="${it.summary}"></p>
-								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								<p>
+									<span th:text="${it.summary}"></span><a
+										th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								</p>
 								<span th:text="${it.source}"></span> <i
 									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
@@ -76,8 +78,10 @@
 								<img th:src="${avatarUploadHost + it.titleImg}">
 							</div>
 							<div class="newsDetails_txt">
-								<p th:text="${it.summary}"></p>
-								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								<p>
+									<span th:text="${it.summary}"></span><a
+										th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								</p>
 								<span th:text="${it.source}"></span> <i
 									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
@@ -101,8 +105,10 @@
 								<img th:src="${avatarUploadHost + it.titleImg}">
 							</div>
 							<div class="newsDetails_txt">
-								<p th:text="${it.summary}"></p>
-								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								<p>
+									<span th:text="${it.summary}"></span><a
+										th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								</p>
 								<span th:text="${it.source}"></span> <i
 									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
@@ -126,8 +132,10 @@
 								<img th:src="${avatarUploadHost + it.titleImg}">
 							</div>
 							<div class="newsDetails_txt">
-								<p th:text="${it.summary}"></p>
-								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								<p>
+									<span th:text="${it.summary}"></span><a
+										th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								</p>
 								<span th:text="${it.source}"></span> <i
 									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
@@ -151,8 +159,10 @@
 								<img th:src="${avatarUploadHost + it.titleImg}">
 							</div>
 							<div class="newsDetails_txt">
-								<p th:text="${it.summary}"></p>
-								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								<p>
+									<span th:text="${it.summary}"></span><a
+										th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								</p>
 								<span th:text="${it.source}"></span> <i
 									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
@@ -176,8 +186,10 @@
 								<img th:src="${avatarUploadHost + it.titleImg}">
 							</div>
 							<div class="newsDetails_txt">
-								<p th:text="${it.summary}"></p>
-								<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								<p>
+									<span th:text="${it.summary}"></span><a
+										th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}" target="_blank">[详细]</a>
+								</p>
 								<span th:text="${it.source}"></span> <i
 									th:text="${it.createTimeFormattedDate}"></i>
 							</div>
@@ -197,7 +209,7 @@
 	</footer>
 	<script type="text/javascript" th:src="${portalHost + '/vendors.js'}"></script>
 	<script type="text/javascript"
-		th:src="${portalHost + '/news/newsDetails.js'}"></script> 
+		th:src="${portalHost + '/news/newsDetails.js'}"></script>
 </body>
 
 </html>