浏览代码

热门项目更改为一句话营销

anderx 7 年之前
父节点
当前提交
3a6036c1f7
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      src/main/webapp/WEB-INF/views/portal/index.html

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

@@ -152,9 +152,9 @@
 		<div class="brands">
 			<img th:src="${portalHost+'/img/indedImg/inded7.png'}" alt="" />
 			<div class="brandsDiv">
-				<img src="../img/indedImg/inded31.jpg" alt="" class="active"/>
-				<img src="../img/indedImg/inded32.jpg" alt="" />
-				<img src="../img/indedImg/inded33.jpg" alt="" />
+				<img th:src="${portalHost+'/img/indedImg/inded31.jpg'}" alt="" class="active"/>
+				<img th:src="${portalHost+'/img/indedImg/inded32.jpg'}" alt="" />
+				<img th:src="${portalHost+'/img/indedImg/inded33.jpg'}" alt="" />
 			</div>
 		</div>
 		<div class="brands">
@@ -163,9 +163,9 @@
 		<div class="brands">
 			<img th:src="${portalHost+'/img/indedImg/inded9.png'}" alt="" />
 			<div>
-				<img src="../img/indedImg/inded34.jpg" alt="" class="active"/>
-				<img src="../img/indedImg/inded35.jpg" alt="" />
-				<img src="../img/indedImg/inded36.jpg" alt="" />
+				<img th:src="${portalHost+'/img/indedImg/inded34.jpg'}" alt="" class="active"/>
+				<img th:src="${portalHost+'/img/indedImg/inded35.jpg'}" alt="" />
+				<img th:src="${portalHost+'/img/indedImg/inded36.jpg'}" alt="" />
 			</div>
 		</div>
 		<div id="hotProject">
@@ -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.summary}==null?'暂无简介':${#strings.abbreviate(p.summary,40)}"></p>
+					<p th:text="${p.advertisement}==null?'暂无简介':${#strings.advertisement(p.summary,40)}"></p>
 					<a th:href="@{/portal/service/serviceDetail(id=${p.id})}">立即办理</a>
 				</div>
 			</div>