Browse Source

html修改

liliang4869 7 years ago
parent
commit
cb559d78b3

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

@@ -216,16 +216,16 @@
 					</a>
 					</div>
 				</div>
-				<div class="indexServe_long"  th:each="project,projectStatus:${projects}" th:if="${projectStatus.index>=3} and ${projectStatus.index<5}" >
-					<img th:src="${project.maxImgUrl}==null?${portalHost+'/img/indexNew8.jpg'}:${avatarUploadHost+project.maxImgUrl}" alt="" />
+				<div class="indexServe_long"  th:each="pj1,projectStatus:${projects}" th:if="${projectStatus.index>=3} and ${projectStatus.index<5}" >
+					<img th:src="${pj1.maxImgUrl}==null?${portalHost+'/img/indexNew8.jpg'}:${avatarUploadHost+project.maxImgUrl}" alt="" />
 					<div class="indexServe_bots">
-							<h3 th:text="${'什么是'+project.name+'?'}"></h3>
-						<p th:text="${project.introduce}"></p>
+							<h3 th:text="${'什么是'+pj1.name+'?'}"></h3>
+						<p th:text="${pj1.introduce}"></p>
 					</div>
 					<div class="indexServe_bot">
 						<div>认定好处</div>
-							<p th:text="${project.value}"></p>
-							<a th:href="@{/portal/service/serviceDetail(id=${project.id})}">
+							<p th:text="${pj1.value}"></p>
+							<a th:href="@{/portal/service/serviceDetail(id=${pj1.id})}">
 					<div class="indexServe_img">
 						<p>
 						了解更多

File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/serviceIndex.html