|
|
@@ -231,7 +231,7 @@
|
|
|
<a th:href="@{/portal/thinkTank/policyList?type=1}"><span class="line"></span><span>></span></a>
|
|
|
|
|
|
</h4>
|
|
|
- <img th:src="(${policys[0].titleImg}==null)?${portalHost+'/img/index/index_new2.jpg'}:${avatarUploadHost+policys[0].titleImg}" alt="">
|
|
|
+ <img th:src="(${policys[0].titleImg}==null or ${policys[0].titleImg} == '')?${portalHost+'/img/index/index_new2.jpg'}:${avatarUploadHost+policys[0].titleImg}" alt="">
|
|
|
<ul>
|
|
|
<li th:each="p,pStatus:${policys}" th:if="${pStatus.index}==0">
|
|
|
<a th:href="@{/portal/news/newsDetail(id=${p.id},type=0)}">
|
|
|
@@ -282,7 +282,7 @@
|
|
|
<a th:href="@{/portal/news/newsDetail(id=${sc.id},type=1)}">
|
|
|
<div class="time">
|
|
|
<span th:text="${#dates.format(sc.releaseDate,'MM-dd')}">03-12</span>
|
|
|
- <span th:text="${#dates.format(sc.releaseDate,'yyyy')}">2018</span>
|
|
|
+ <span th:text="${#dates.format(sc.releaseDate,'yyyy')}">2018</span>
|
|
|
</div>
|
|
|
<p th:text="${sc.title}"></p>
|
|
|
</a>
|