Browse Source

详情页无法跳转问题

zou_ht 8 years ago
parent
commit
4fe102bf93

+ 1 - 1
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -582,7 +582,7 @@ public class WebpageController extends BaseController {
 	 *   
 	 * @return
 	 */
-	@RequestMapping(value="/portal/search/keyword" ,method = RequestMethod.POST)
+	@RequestMapping(value="/portal/search/keyword" ,method = RequestMethod.GET)
 	private ModelAndView searchListByKeyword (HttpServletRequest request, ModelAndView modelview ,Integer pageType ,String keyWord) {
 		modelview.addObject("keyWord", keyWord);
 		System.out.println("进来没有");

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

@@ -29,25 +29,14 @@
 				</div>
 			</div>
 			<div class="detail_center">
-				<div class="detail_centerimg">
+				<div class="detail_centerimg" th:each="achievementdetail:${achievementdetail}">
 					<div>
-						<!-- <div class="small_img" th:each="detail:${achievementdetail}">
-						    <ul th:if="#{!detail.pictureList.empty}">
-								<li th:each="pic:${detail.pictureList}">
-									<img alt="" th:src="${globalConfig.avatarUploadHost + pic}">
-								</li>
-							</ul>
-							<ul th:if="#{detail.pictureList.empty}">
-							</ul>
-						</div> -->
 						<div th:if="${achievementdetail.technicalPictureUrl} == null " >
 							<img th:src="${avatarUploadHost+ '/default/bigimg_null.png'}" alt=""/>
 						</div>
 						<div th:if="${achievementdetail.technicalPictureUrl} != null " >
 							<img th:src= "${avatarUploadHost+achievementdetail.technicalPictureUrl}"alt="" />
 						</div>
-						
-						
 					</div>
 					<div class="basic"  th:each="achievementdetail:${achievementdetail}">
 						<div class="basic_left">