Explorar o código

首页热门简介更换成一句话营销

anderx %!s(int64=7) %!d(string=hai) anos
pai
achega
16a602f636
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/webapp/WEB-INF/views/portal/index.html

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/index.html

@@ -176,7 +176,7 @@
 				<div th:each="p,pStatus:${projects}">
 					<img th:src="${p.maxImgUrl}==null?${portalHost+'/img/indedImg/inded11.png'}:${avatarUploadHost+p.maxImgUrl}" alt="">
 					<h3 th:text="${p.name}">高新认定</h3>
-					<p th:text="${p.advertisement}==null?'暂无简介':${#strings.advertisement(p.summary,30)}"></p>
+					<p th:text="${p.advertisement}==null?'暂无简介':${#strings.abbreviate(p.advertisement,30)}"></p>
 					<a th:href="@{/portal/service/serviceDetail(id=${p.id})}">立即办理</a>
 				</div>
 			</div>