Bläddra i källkod

全站搜索跳转联调修改

anderx 7 år sedan
förälder
incheckning
b585d32fa9

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

@@ -1395,7 +1395,7 @@ public class WebpageController extends BaseController {
 		return modelview;
 	}
 	/**
-	 * 顾问首
+	 * 搜索列表
 	 * @param modelview
 	 * @return
 	 */

+ 8 - 8
src/main/java/com/goafanti/common/enums/collectType.java

@@ -7,14 +7,14 @@ import org.apache.commons.lang3.StringUtils;
 
 public enum collectType {
 	
-	ACHIEVEMENT(0, "achievement"),//0成果,1需求,2专利,3政策,4项目,5专家,6顾问,7新闻
-	DMAND(1, "demand"),
-	PATENT(2,"jt_business_project"),
-	POLICY(3,"policy"),
-	PROJECT(4,"jt_business_project"),
-	EXPERT(5,"expert"),//expert
-	ADVISER(6,"adviser"),//adviser
-	NEWS(7,"news"),
+	ACHIEVEMENT(0, "achievement"),//成果
+	DMAND(1, "demand"),//1需求
+	PATENT(2,"patent"),//2专利
+	POLICY(3,"policy"),//3政策
+	PROJECT(4,"jt_business_project"),//4项目
+	EXPERT(5,"expert"),//5专家
+	ADVISER(6,"adviser"),//6顾问
+	NEWS(7,"news"),//7新闻
 	OTHER(8, "");
 	
 	private collectType(Integer code, String desc) {

+ 21 - 0
src/main/webapp/WEB-INF/views/portal/search.html

@@ -19,6 +19,27 @@
 		<div class="cont">
 			
 		</div>
+		<div class="pagination_box">
+                    <nav aria-label="Page navigation" class="clearfix">
+                        <ul class="pagination">
+                            <li class="pagePre">
+                                <a href="#" aria-label="Previous">
+                                    <span aria-hidden="true">首页</span>
+                                </a>
+                            </li>
+                            <li class="pageNumber"><a href="#" value="1">1</a></li>
+                            <li class="pageNext">
+                                <a href="#" aria-label="Next">
+                                    <span aria-hidden="true">末页</span>
+                                </a>
+                            </li>
+                        </ul>
+                        <div class="inp">
+                            <input type="text" class=""><button class="btn btn-default">跳转</button>
+                        </div>
+                        <span class="totalCount">共0条数据</span>
+                    </nav>
+                </div>
 		<footer>
         <div th:replace="common::copyright"></div>
 		<div th:replace="common::login"></div>