Преглед изворни кода

首页新闻图片处理修改

anderx пре 2 година
родитељ
комит
fa958b96e0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/webapp/WEB-INF/views/portal/index.html

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

@@ -189,7 +189,7 @@
 			<div class="newinfor_klist">
 				<a th:href="@{/portal/news/newsDetail(id=${e.id},type=1)}" th:each="e:${encyclopedias}">
 					<div class="newinfor_klitem">
-						<img class="newinfor_kliimg"  th:src="${e.titleIm}==null or ${e.titleIm}== ''?${portalHost+'/img/initPic/newsInit.jpg'}:${avatarUploadHost+e.titleIm}" alt="">
+						<img class="newinfor_kliimg"  th:src="${e.titleImg}==null or ${e.titleImhg}== ''?${portalHost+'/img/initPic/newsInit.jpg'}:${avatarUploadHost+e.titleImg}" alt="">
 
 						<div class="newinfor_klicount">
 							<div class="newinfor_klictit" th:text="${#strings.abbreviate(e.title,18)}">专家</div>