|
|
@@ -220,13 +220,13 @@
|
|
|
<div class="indexServe_bots">
|
|
|
<div class="wrapper">
|
|
|
<h3 th:text="${'什么是'+pj.name+'?'}"></h3>
|
|
|
- <p th:text="${pj.introduce}"></p>
|
|
|
+ <p th:text="${#strings.abbreviate(pj.introduce,128)}"></p>
|
|
|
</div>
|
|
|
<img th:src="${pj.maxImgUrl}==null?${portalHost+'/img/indexNew8.jpg'}:${avatarUploadHost+pj.maxImgUrl}" alt="" />
|
|
|
</div>
|
|
|
<div class="indexServe_bot">
|
|
|
<div>认定好处</div>
|
|
|
- <p th:text="${pj.value}"></p>
|
|
|
+ <p th:text="${#strings.abbreviate(pj.value,128)}"></p>
|
|
|
</div>
|
|
|
<a th:href="@{/portal/service/serviceDetail(id=${pj.id})}">
|
|
|
<div class="indexServe_img">
|
|
|
@@ -239,11 +239,11 @@
|
|
|
<img th:src="${pj1.maxImgUrl}==null?${portalHost+'/img/indexNew8.jpg'}:${avatarUploadHost+pj1.maxImgUrl}" alt="" />
|
|
|
<div class="indexServe_bots">
|
|
|
<h3 th:text="${'什么是'+pj1.name+'?'}"></h3>
|
|
|
- <p th:text="${pj1.introduce}"></p>
|
|
|
+ <p th:text="${#strings.abbreviate(pj1.introduce,100)}"></p>
|
|
|
</div>
|
|
|
<div class="indexServe_bot">
|
|
|
<div>认定好处</div>
|
|
|
- <p th:text="${pj1.value}"></p>
|
|
|
+ <p th:text="${#strings.abbreviate(pj1.value,100)}"></p>
|
|
|
<a th:href="@{/portal/service/serviceDetail(id=${pj1.id})}">
|
|
|
<div class="indexServe_img">
|
|
|
<p>
|