yee 8 years ago
parent
commit
7d6f94b7c6

+ 3 - 1
src/main/webapp/WEB-INF/views/portal/detail/achievementDetail.html

@@ -39,8 +39,10 @@
 	<div class="container transaction_info">
 		<div class="transaction_img">
 			<div class="img_b">
-				<img th:if="${achievement.pictureList != null}"
+				<img th:if="${achievement.pictureList != null && achievement.pictureList.size() > 1}"
 					th:src="${avatarUploadHost+achievement.pictureList[0]}">
+				<img th:if="${achievement.pictureList == null && achievement.pictureList.size() == 0}"
+					th:src="${portalHost + '/img/achievement_default.jpg}">
 			</div>
 			<div class="img_list">
 				<ul>