Przeglądaj źródła

首页无数据时调整

anderx 7 lat temu
rodzic
commit
2ff9e2cf3f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/main/webapp/WEB-INF/views/portal/index.html

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

@@ -212,7 +212,7 @@
 					<a th:href="@{/portal/thinkTank/policyList?type=1}"><span class="line"></span><span>></span></a> 
 					
 				</h4>
-				<img th:src="(policys==null or ${policys[0].titleImg}==null or ${policys[0].titleImg} == '')?${portalHost+'/img/index/index_new2.jpg'}:${avatarUploadHost+policys[0].titleImg}" alt="">
+				<img th:src="(${policys}==null or ${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)}">