yee 8 年 前
コミット
7d6f94b7c6
共有1 個のファイルを変更した3 個の追加1 個の削除を含む
  1. 3 1
      src/main/webapp/WEB-INF/views/portal/detail/achievementDetail.html

+ 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>