Antiloveg преди 8 години
родител
ревизия
ee4cd68684

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

@@ -104,7 +104,7 @@
 			<ul>
 				<li th:each="leccture,iterStart:${lectureList}">
 					<div class="star_content_img">
-						<img th:src="${avatarHost + lecture.lectureUrl}">
+						<img th:if="${lecture.lectureUrl} != null" th:src="${avatarHost + lecture.lectureUrl}">
 					</div>
 					<div class="lecture_content_info">
 						<h5 th:text="${lecture.name}">科技成果转化项目开展讲座</h5>

Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/scienceTechnology/lecture.html


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

@@ -155,7 +155,7 @@
 			<ul>
 				<li th:each="star,iterStart:${starList}">
 					<div class="expert_content_img">
-						<img th:src="${avatarHost + star.personPortraitUrl}">
+						<img th:if= "${star.personPortraitUrl} != null" th:src="${avatarHost + star.personPortraitUrl}">
 						<a href="#">
                             <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
                             关注