zou_ht лет назад: 8
Родитель
Сommit
28a08b7d82

+ 15 - 2
src/main/webapp/WEB-INF/views/portal/technologyTrading/achievementDetail.html

@@ -63,7 +63,12 @@
 					<div class="fine" >
 						<div class="fine_title">精品专利</div>
 						<div th:each="reboutiqueachievement:${reboutiqueachievement}" class="pointer">
-							<img th:src="${avatarUploadHost+reboutiqueachievement.technicalpictureurl}" alt="" />
+							<div th:if="${reboutiqueachievement.technicalpictureurl} == null " >
+								<img th:src="${avatarUploadHost+ '/default/zhuanliimg_null.png'}" alt=""/>
+							</div>
+							<div th:if="${reboutiqueachievement.technicalpictureurl} != null " >
+								<img th:src="${avatarUploadHost+reboutiqueachievement.technicalpictureurl}" alt=""/>
+							</div>
 							<p th:text="${reboutiqueachievement.name}"></p>
 							<p th:text="${reboutiqueachievement.id}" class="achievementId"></p>
 							<p th:text="${reboutiqueachievement.ownerType}" class="achievementTyp"></p>
@@ -102,7 +107,15 @@
 				<div class="main_introduce" >
 					<ul>
 						<li th:each="reachievementlist:${reachievementlist}">
-							<img th:src="${avatarUploadHost+reachievementlist.technicalpictureurl}" alt="" />
+						<!-- 	<img th:src="${avatarUploadHost+reachievementlist.technicalpictureurl}" alt="" /> -->
+							
+							<div th:if="${reachievementlist.technicalpictureurl} == null " >
+								<img th:src="${avatarUploadHost+ '/default/zhuanliimg_null.png'}" alt=""/>
+							</div>
+							<div th:if="${reachievementlist.technicalpictureurl} != null " >
+								<img th:src="${avatarUploadHost+reachievementlist.technicalpictureurl}" alt=""/>
+							</div>
+							
 							<div class="list_text">
 								<p>
 									行业:<span th:text="${reachievementlist.fieldAS}?${reachievementlist.fieldAS}:暂无分类信息"></span>

+ 19 - 3
src/main/webapp/WEB-INF/views/portal/technologyTrading/demandDetail.html

@@ -31,7 +31,7 @@
 						<h3 th:text="${demand.name}"></h3>
 					</div>
 					<div class="big_img">
-						<img th:src= "${avatarUploadHost+demand.pictureUrl}"alt="" />
+						<img th:src= "${avatarUploadHost+demand.pictureUrl}?${avatarUploadHost+demand.pictureUrl}:${avatarUploadHost+ 'default/xuqiuimg_null.png'}"alt="" />
 					</div>
 					<div class="basic">
 						<div>
@@ -61,7 +61,16 @@
 					<div class="fine">
 						<div class="fine_title">精品需求</div>
 						<div th:each="reboutiquedemand:${reboutiquedemand}" class="pointer">
-							<img th:src="${avatarUploadHost+reboutiquedemand.pictureUrl}" alt="" />
+							
+							<div th:if="${reboutiquedemand.pictureUrl} == null " >
+								<img th:src="${avatarUploadHost+ '/default/xuqiuimg_null.png'}" alt=""/>
+							</div>
+							<div th:if="${reboutiquedemand.pictureUrl} != null" >
+								<img th:src="${avatarUploadHost+reboutiquedemand.pictureUrl}" alt=""/>
+							</div>
+							
+							
+							<img src="${avatarUploadHost+reboutiquedemand.pictureUrl}" />
 							<p th:text="${reboutiquedemand.name}"></p>
 							<p th:text="${reboutiquedemand.id}" class="demandId"></p>
 							<p th:text="${reboutiquedemand.dataCategory}" class="demandTyp"></p>
@@ -79,7 +88,14 @@
 				<div class="line">猜你喜欢</div>
 				<div class="main_introduce">
 					<ul>
-						<li th:each="redemandlist:${redemandlist}"><img th:src="${avatarUploadHost+redemandlist.pictureUrl}" alt="" />
+						<li th:each="redemandlist:${redemandlist}"> 
+							<div th:if="${redemandlist.pictureUrl} == null " >
+								<img th:src="${avatarUploadHost+ '/default/xuqiuimg_null.png'}" alt=""/>
+							</div>
+							<div th:if="${redemandlist.pictureUrl} != null" >
+								<img th:src="${avatarUploadHost+redemandlist.pictureUrl}" alt=""/>
+							</div>
+						 
 							<div class="list_text">
 								<p>
 									行业:<span th:text="${redemandlist.industryCategoryAS}?${redemandlist.industryCategoryAS}:暂无行业分类"></span>

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

@@ -31,7 +31,7 @@
  	<div id="technology">
 		<div class="technolo">
 			<div class="technolo_left">
-				<h3>技术交易政策</h3>
+				<h3>技术交易成功案例</h3>
 				<div>
 					<div class="clear_line"></div>
 					<div class="technolo_text">