dengzhiguo 7 years ago
parent
commit
06b173f86d

BIN
img/property_090.jpg


BIN
img/property_091.jpg


+ 1 - 1
src/css/Technologytrading.css

@@ -85,7 +85,7 @@ body{background: #f5f5f5;}
 
 .main_details ul li .details_fix>p>span{color:#ccc;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width:190px;display: inline-block;line-height:35px;}
 .details_fix p{height:30px;width:100%;line-height: 35px;}
-.details_fix p:first-child{margin-top: 0;}
+.details_fix p:first-child{margin-top: 10px;}
 .details_fix p span{color: #333333;margin-left: 5px;width: 200px;display: inline-block;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;height: 30px;vertical-align: top;margin-top: 0px;padding-right: 10px;}
 
 .details_text{width:260px;padding-top:10px ;position: absolute;left: 0;bottom:0;}

+ 3 - 2
src/css/financialIndex.css

@@ -38,7 +38,7 @@ h1{color:#074d88;font-weight: bold;letter-spacing:5px;font-size: 30px;}
 
 .begin{height:140px;text-align: center;padding-top: 20px;}
 
-.begin>a{width:200px;height:60px;background: #ffb200;color: #fff;border-radius: 10px;text-align: center;
+.begin>a{width:200px;height:60px;background: #ffb200;color: #fff;text-align: center;
 font-size: 22px;border: none;display: inline-block;line-height: 60px;letter-spacing:5px;}
 .begin>a:hover{background:#f9bb73 ;cursor: pointer;}
 .classify_cont{width:200px;height:270px;padding-top:50px;background: #fff;
@@ -105,7 +105,8 @@ form>img{position: absolute;top:2px;right:10px;}
 .place_city ul{float: left;overflow: hidden;}
 .place_city ul li{float: left;width: 160px;border: 1px solid #a9a9a9;font-size:16px ;height: 50px;line-height: 50px;text-align: center;border-left: none;background: #ffffff;color: #333333;}
 .place_city ul li:first-child{border-left: 1px solid #a9a9a9;}
-.place_city .more_city .inp{color: #f79624;width: 160px;height: 50px;text-align: center;line-height: 50px;float: left;border: 1px solid #a9a9a9;border-left: none;}
+.place_city .more_city .inp{color: #f79624;width: 160px;height: 50px;text-align: center;line-height: 50px;
+    float: left;border: 1px solid #a9a9a9;border-left: none;font-size: 16px;}
 .policy{clear: both; overflow: hidden;padding-top: 56px;}
 .place_city ul li:hover{cursor: pointer;}
 .place_city ul li.thon{background: #2f85d0;color: #ffffff;}

+ 7 - 7
src/css/index_home.css

@@ -27,8 +27,8 @@ html{font-size:62.5%;}
 /*active的css*/
 #active{width:1200px;height:240px;margin:0 auto;padding-top:50px;position: relative;}
 #active>.title{width:70px;height:160px;padding-top:12px; }
-#active>.title>p{width:25px;height:160px;font-size: 20px;color:#074d88;
-    margin:15px 0 50px 45px;font-weight: bold;line-height: 22px;}
+#active>.title>p{width:25px;height:160px;font-size: 24px;color:#074d88;
+    margin:15px 0 50px 45px;line-height: 28px;}
 #active>.coupon{width:1130px;height:160px;padding:1px 0 0 25px; }
 /*#active .lf{margin-right: 10px;}*/
 .coupon_cont h2{display: none}
@@ -60,8 +60,8 @@ html{font-size:62.5%;}
 #product{width:1200px;height:450px;margin:0 auto;position: relative;margin-top:5px;}
 #product>.caption{margin-bottom: 74px;}
 #product>.caption>a{font-weight: normal;}
-.caption{width:100%;height:50px;font-size: 20px;color:#074d88;
-    line-height: 50px;padding-left:30px;font-weight: bold;letter-spacing: 3px;}
+.caption{width:100%;height:50px;font-size: 24px;color:#074d88;
+    line-height: 50px;padding-left:30px;letter-spacing: 3px;}
 #product>.content{width:1140px;height:400px;margin-left:30px;position: relative; }
 #product>.content>.cont{width:220px;height:350px;margin-right: 3px;
     display: inline-block;}
@@ -86,8 +86,8 @@ text-align: center;color:#383838;font-weight: bold;padding: 0 10px;}
 
 /*policy的css*/
 #policy{width:1200px;height:405px;margin:50px auto 0;position: relative;}
-.caption a{font-size: 16px;color: #ffb200;margin-left: 12px;height: 26px;line-height: 26px;display: inline-block;letter-spacing: 0px;}
-#policy .captions{width:100%;font-size: 20px;color:#074d88;margin-left: 45px;margin-top: 120px;margin-bottom: 20px;font-weight: bold;}
+.caption a{font-size: 16px;color: #ffb200;margin-left: 12px;height: 26px;line-height: 26px;display: inline-block;letter-spacing: 0;}
+#policy .captions{width:100%;font-size: 24px;color:#074d88;margin-left: 45px;margin-top: 120px;margin-bottom: 20px;}
 #policy .captions a{font-size: 16px;color: #ffb200;margin-left: 12px;height: 26px;line-height: 26px;display: inline-block;font-weight: normal;}
 #policy .captions a:hover{color:#ff8200;}
 .caption a:hover{color:#ff8200;}
@@ -125,7 +125,7 @@ display:inline-block;position: absolute;top:0;left:0;}
 /*need的css*/
 .need_main{background: #f6f6f6;width: 100%;}
 #need{width:1200px;height:295px;margin:45px auto 0;position: relative;background: #f6f6f6;}
-#need>.caption{display:inline-block;width:125px;font-weight: bold;}
+#need>.caption{display:inline-block;width:140px;}
 
 
 

+ 2 - 2
src/css/public.css

@@ -94,7 +94,7 @@ header .nav_right .head_login{width:40px;height:50px;display: inline-block;line-
     text-align: center;height:470px;background: #ffffff;z-index: 999;}
 .right_cebian{width:40px;height:120px;position: fixed;right: 0;bottom: 180px;border-radius: 10px 0 0 10px;text-align: center;color:#fff;
 display: none;cursor: pointer;background: #5888B5 url("../../img/youce_daohang.png") no-repeat center 5px;z-index: 999999;letter-spacing: 5px;font-size: 18px;padding-top:30px;padding-left: 5px;line-height: 20px;}
-.pub_fix .index_blur{width: 100%;height: 30px;line-height: 30px;background: #4c7fa9 url("../../img/index_blurimg.png") no-repeat 40px -1px;display: inline-block;}
+.pub_fix .index_blur{width: 100%;height: 30px;line-height: 30px;background: #4c7fa9 ;display: inline-block;}
 .pub_fix .index_orange{width: 100%;height: 30px;line-height: 30px;background: #ffd68f;display: inline-block;}
 .pub_fix ul li:first-child{border: none;}
 .pub_fix ul li{padding-top: 6px;padding-bottom: 6px;border-top: 1px dotted #e0e0e0;background: #FFFFFF;}
@@ -107,7 +107,7 @@ display: none;cursor: pointer;background: #5888B5 url("../../img/youce_daohang.p
 
 /*登陆页面*/
 .login{width: 100%;background: rgba(6,6,6,.4);position: fixed;top: 0;left: 0;z-index: 999999;display: none;}
-.login_mian{width: 600px;background: #ffffff;position: absolute;top: 50%;margin-top: -200px;left: 50%;margin-left: -300px;padding-left: 45px;
+.login_mian{width: 600px;background: #ffffff;position: absolute;top: 50%;margin-top: -200px;left: 50%;margin-left: -300px;
     padding-top: 60px;padding-bottom: 96px;}
 .login_left{float: left;padding-bottom: 10px;width: 265px;text-align: center;}
 .login_left .login_ewm{width: 95px;padding-top: 34px;margin-bottom: 10px;display: inline-block;text-align: center;}

+ 7 - 6
src/css/service.css

@@ -62,26 +62,27 @@ line-height: 120px;}
 /*.Intellectual ul li:first-child+li+li{padding-top: 100px;}*/
 .Intellectual ul li:first-child+li+li p{font-size:36px ;color: #f68705;;width: 332px;line-height: 56px;}
 .Intellectual ul li:first-child+li+li p span{font-size:60px;color: #f54c49;}
-.Intellectual ul li:first-child+li+li a{width: 216px;height: 70px;background: #ffb200;border-radius: 10px;text-align: center;display: inline-block;line-height: 70px;font-size: 24px;color: #ffffff;}
+.Intellectual ul li:first-child+li+li a{width: 216px;height: 70px;background: #ffb200;text-align: center;display: inline-block;line-height: 70px;font-size: 24px;color: #ffffff;}
 .Intellectual ul li:first-child+li+li a:hover{background: #fdce61;color: #383838;transition: all .5s;}
 
 .Intellectual>.container>a{width: 150px;height: 46px;display:inline-block;background: #ffb200;line-height: 46px;text-align: center;color:#FFFFFF;font-size: 16px; margin-top: 20px;border-radius: 10px;}
-.customer_main{width: 400px;margin: 0 auto;}
+.customer_main{width: 400px;margin: 0 auto;text-align: center;}
 .customer hr{width: 1200px;margin: 0 auto;}
-.customer_main span{font-size: 30px;color: #074d88;width: 180px;text-align: center;line-height: 120px;display: inline-block;margin-top: 50px; letter-spacing:8px;font-weight: bold;}
+.customer_main span{font-size: 30px;color: #074d88;width: 180px;text-align: center;line-height: 120px;display: inline-block;
+     letter-spacing:8px;font-weight: bold;margin-top: 50px;}
 .that{border-bottom: 2px solid #074d88;}
 .customer_company{margin: 80px auto 0;display: none;}
 .customer_company:nth-child(1){display: block;}
 .customer_company li{float: left;width: 274px;margin-left: 14px;overflow: hidden;height:274px;}
 .customer_company li>img{width:274px;height:222px;border:none;}
 .customer_company li:first-child{margin-left:0 ;}
-.customer_company li p{width: 100%;line-height: 52px;text-align: center;font-size: 16px;color: #383838;background: #ffffff;border: 1px solid #cccccc;
-    margin-top: -2px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;padding: 0 5px;font-weight: bold;}
+.customer_company li p{width: 100%;line-height: 50px;text-align: center;font-size: 16px;color: #383838;background: #ffffff;border: 1px solid #cccccc;
+    margin-top: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;padding: 0 5px;font-weight: bold;}
 .thon p{background: #ffb200!important;color: #FFFFFF!important;border: 1px solid transparent!important;}
 .customer_circle{clear: both;width: 85px;margin: 0 auto;overflow: hidden;padding-top: 58px;padding-bottom: 36px;}
 .customer_circle li{width: 15px;height: 15px;border-radius: 50%;background: #d5d6d8;float: left;margin-left: 5px;cursor: pointer;}
 .customer_circle li.thonli{background: #909193;}
-.change_right{display:none;}
+/*.change_right{display:none;}*/
 #office{cursor: pointer;}
 #custom{cursor: pointer;}
 

+ 2 - 2
src/css/service/highTechCognizance.css

@@ -7,8 +7,8 @@ h3{color:#074d88;font-weight: bold;letter-spacing:1px;}
 .problem_right{width:400px;height:600px;position: absolute;top:7px;right: 0;background: url("../../../img/hightech1.png")}
 .problem_left{width:660px;height:500px;position: absolute;top:0;left:0;overflow: hidden;}
 .problem_left>div{position: absolute;left:0;display: none;}
-.problem_bottom{width:160px;height:50px;background: #FFB200;color:#fff;text-align: center;cursor: pointer;
-line-height: 50px;font-size: 18px;border-radius: 5px;position: absolute;bottom:20px;left:500px;}
+.problem_bottom{width:150px;height:40px;background: #FFB200;color:#fff;text-align: center;cursor: pointer;
+line-height: 40px;font-size: 16px;position: absolute;bottom:20px;left:500px;letter-spacing: 2px;}
 .problem_bottom a{color: #FFFFFF;}
 .leftdiv1{top:30px;font-size: 16px;line-height: 26px;}
 .leftdiv2{top:165px;font-size: 16px;line-height: 30px;}

+ 5 - 5
src/css/service/propertyRight.css

@@ -35,8 +35,8 @@
 
 
 .welfare_href{clear: both;width: 340px;margin: 0px auto ;padding-top: 25px;}
-.welfare_href a{width: 150px;height: 42px;background: #ffb200;color: #FFFFFF;font-size: 16px;text-align: center;line-height: 42px;
-	display: inline-block;border-radius: 5px;}
+.welfare_href a{width: 150px;height: 40px;background: #ffb200;color: #FFFFFF;font-size: 16px;text-align: center;line-height: 40px;
+	display: inline-block;letter-spacing: 2px;}
 .welfare_href a:first-child{margin-right: 35px;}
 .welfare_href a:hover{cursor: pointer;}
 
@@ -62,8 +62,8 @@
 
 .copyright_right ol li{padding-bottom: 12px;border-bottom: 1px solid #cccccc;font-size: 14px;color:#383838;width: 340px;overflow: hidden;
 	text-overflow: ellipsis;white-space: nowrap;font-family: "simsun";}
-.copyright_left>a{width: 150px;height: 46px;display: inline-block;color: #ffffff;font-size: 16px;line-height: 46px;text-align: center;
-	background: #ffb200;margin-top: 30px;margin-bottom: 30px;}
+.copyright_left>a{width: 150px;height: 40px;display: inline-block;color: #ffffff;font-size: 16px;line-height: 40px;text-align: center;
+	background: #ffb200;margin-top: 30px;margin-bottom: 30px;letter-spacing: 2px;}
 .outtime{position:absolute;height: 472px;z-index: 20;width: 380px;right: 0;background: url(../../../img/property_08.jpg) center center no-repeat;}
 .outtime time{font-size: 170px;color: #ff9019;position: absolute;top: 150px;left: 150px;z-index: 40;font-family: arial;}
 .outtime .img_tate{position: absolute;top: 64px;right: 5px;z-index: 25; animation: rata 10s infinite linear;transition: all 10s;}
@@ -92,7 +92,7 @@
 .process h5{font-size: 24px;color: #074d88;font-weight: normal;padding-top: 50px;margin-bottom: 28px;font-weight: bold;letter-spacing:5px;}
 .process>img{width: 100%;}
 .advantage ul{overflow: hidden;padding-top: 20px;}
-.advantage ul li{width: 220px;height: 270px;background: url(../../../img/property_14.png) no-repeat center center;float: left;margin-left:127px;}
+.advantage ul li{width: 220px;height: 270px;background: url(../../../img/property_14.png) no-repeat center center;float: left;margin-left:60px;}
 
 .advantage ul li h6{font-size: 18px; color: #3b86c5;margin-top: 30px;margin-bottom: 16px;font-weight: 800;}
 .advantage ul li p{width: 180px;text-align: left;margin: 0 auto;padding-left: 6px;color: #383838;font-size: 14px;

+ 1 - 1
src/css/technologyTrading/achievementDetail.css

@@ -5,7 +5,7 @@
 .detail_toptitle{width:100%;height:30px;padding-left: 25px;line-height: 24px;
     background: url("../../../img/detail_home.jpg") no-repeat;}
 .detail_toptitle>a{color:#787878;}
-.detail_toptitle>a.a_detail{color:#3C3B3B;}
+.detail_toptitle>a.a_detail{color:#3C3B3B;font-weight: bold;}
 .detail_topimg{float: right;}
 .detail_topimg>a{width:30px;height:30px;cursor: pointer;margin-left:10px;}
 .detail_center{width:1200px;height:900px;margin: 0 auto;border: 1px solid #EFEFEF;}

+ 1 - 1
src/css/technologyTrading/demandDetail.css

@@ -5,7 +5,7 @@
 .detail_toptitle{width:100%;height:30px;padding-left: 25px;line-height: 24px;
     background: url("../../../img/detail_home.jpg") no-repeat;}
 .detail_toptitle>a{color:#787878;}
-.detail_toptitle>a.a_detail{color:#3C3B3B;}
+.detail_toptitle>a.a_detail{color:#3C3B3B;font-weight: bold;}
 .detail_topimg{float: right;}
 .detail_topimg>a{width:30px;height:30px;cursor: pointer;margin-left:10px;}
 .detail_center{width:1200px;height:900px;margin: 0 auto;border: 1px solid #EFEFEF;}

+ 2 - 15
src/js/Technologytrading.js

@@ -19,9 +19,8 @@ import {
     //技术交易问题的点击出答案
     $(".technolo_right .technolo_text>div>a").click(function(e){
         e.preventDefault();
-        var alength=$(this).parent().index();
-        $(".answer").css({"display":"block"});
-        $(".answer>p").eq(alength).fadeIn();
+        var theId = $(this).parent().attr('val');
+        window.open(globalConfig.context + '/portal/news/newsDetail?id=' + theId );
     });
     //技术交易政策的点击跳转政策详情页面
     $(".technolo_center .technolo_text").on('click', 'div', function () {
@@ -34,18 +33,6 @@ import {
         var thetype=$(this).attr('typ');
         window.open(globalConfig.context + '/portal/technologyTrading/achievementDetail?id=' + theId+'&type='+thetype );
     });
-    //技术交易问题的答案删除
-    $(".answer").click(function(e){
-        if(e.target.className=="answer"){
-            $(".answer").css({"display":"none"});
-            $(".answer>p").fadeOut();
-        }
-    });
-    //技术交易问题的点击出答案
-    $(".answer>p>span").click(function(e){
-            $(".answer").css({"display":"none"});
-            $(".answer>p").fadeOut();
-    });
     //点击搜索开始调用接口并跳转
     $(".searchs>button").click(function(e){
         var key=$("#search_on>input").val()?$("#search_on>input").val():"";

+ 159 - 21
src/js/financialIndex.js

@@ -45,6 +45,7 @@ import {
 
     //点击下拉框中的p
     $('.list_city p').click(function() {
+        $(".allproduct_top form input").val("");
         $(".pagination_box").css("display","block");
         var ptxt = $(this).text();
         var pval = $(this).attr('value');
@@ -154,7 +155,43 @@ import {
         }
         $("#demandList_patent").html(demand_html);
     }
-
+    function manage_search(data,ptxt){
+        var demand_html="";
+        for(var i=0;i<data.list.length;i++){
+            var hangye=$(".place_city .thon").html();
+            var price=data.list[i].transferPrice?data.list[i].transferPrice:"面议";
+            var  people=data.list[i].ownerName?data.list[i].ownerName:"保密";
+            var  sketch=data.list[i].sketch?data.list[i].sketch.substring(0,18):"暂无简介";
+            if(!data.list[i].pictureUrl){
+                demand_html+="<li val='"+data.list[i].id+"' typ='"+data.list[i].ownerType+"'>" +
+                "<div class='imgnull'></div>" +
+                "<div class='details_text'>" +
+                "<p>融资金额:<span>"+price+"</span></p>" +
+                "<p>所属行业:<span>"+ptxt+"</span></p>" +
+                "<p>所有人:<span>"+people+"</span></p>" +
+                "<p>项目简介:<b>"+sketch+"..."+"</b></p>" +
+                "<a href='#'>会谈</a>" +
+                "</div>" +
+                "<div class='details_fix'>" +
+                "<p>项目名:<span>"+data.list[i].name+"</span></p>" +
+                "</div></li>"
+            }else{
+                demand_html+="<li val='"+data.list[i].id+"' typ='"+data.list[i].ownerType+"'>" +
+                "<img src='"+globalConfig.avatarUploadHost+data.list[i].technicalPictureUrl+"' alt=''/>" +
+                "<div class='details_text'>" +
+                "<p>融资金额:<span>"+price+"</span></p>" +
+                "<p>所属行业:<span>"+hangye+"</span></p>" +
+                "<p>所有人:<span>"+people+"</span></p>" +
+                "<p>项目简介:<b>"+sketch+"..."+"</b></p>" +
+                "<a href='#'>会谈</a>" +
+                "</div>" +
+                "<div class='details_fix'>" +
+                "<p>项目名:<span>"+data.list[i].name+"</span></p>" +
+                "</div></li>"
+            }
+        }
+        $("#demandList_patent").html(demand_html);
+    }
     function page(data){
         thePageNo=$(".pagination li.active").children()[0].text;
         var date=Math.ceil(data/8);
@@ -211,25 +248,49 @@ import {
     }
     $('.pagination').on('click', 'li', function (e) {
         e.preventDefault();
+        var texton=$(".allproduct_top form input").val();
         thePageNo=$(".pagination li.active").children()[0].text;
-        if (this.className === 'pagePre') {
-            if (thePageNo > 1) {
-                thePageNo = 1;
-                loadDate(thePageNo);
-            }
-        } else if (this.className === 'pageNext') {
-            thePageLength=$(".pageNext").attr("all_length");
-            if (thePageNo < thePageLength) {
-                thePageNo = thePageLength;
-                loadDate(thePageNo);
+        if(texton){
+            if (this.className === 'pagePre') {
+                if (thePageNo > 1) {
+                    thePageNo = 1;
+                    loadDate_search(thePageNo);
+                }
+            } else if (this.className === 'pageNext') {
+                thePageLength=$(".pageNext").attr("all_length");
+                if (thePageNo < thePageLength) {
+                    thePageNo = thePageLength;
+                    loadDate_search(thePageNo);
+                }
+            } else {
+                var nextPageNo = $(this).children()[0].text;
+                if (thePageNo != nextPageNo) {
+                    $(this).siblings("li").removeClass("active");
+                    $(this).addClass("active");
+                    thePageNo = nextPageNo;
+                    loadDate_search(thePageNo);
+                }
             }
-        } else {
-            var nextPageNo = $(this).children()[0].text;
-            if (thePageNo != nextPageNo) {
-                $(this).siblings("li").removeClass("active");
-                $(this).addClass("active");
-                thePageNo = nextPageNo;
-                loadDate(thePageNo);
+        }else{
+            if (this.className === 'pagePre') {
+                if (thePageNo > 1) {
+                    thePageNo = 1;
+                    loadDate(thePageNo);
+                }
+            } else if (this.className === 'pageNext') {
+                thePageLength=$(".pageNext").attr("all_length");
+                if (thePageNo < thePageLength) {
+                    thePageNo = thePageLength;
+                    loadDate(thePageNo);
+                }
+            } else {
+                var nextPageNo = $(this).children()[0].text;
+                if (thePageNo != nextPageNo) {
+                    $(this).siblings("li").removeClass("active");
+                    $(this).addClass("active");
+                    thePageNo = nextPageNo;
+                    loadDate(thePageNo);
+                }
             }
         }
     });
@@ -281,9 +342,58 @@ import {
             }
         })
     }
-    $('.place_city ul li').click(function() {    	
+    function loadDate_search(pageNo) {
+        var left_val=$(".place_city .thon").attr("value");
+        var ptxt= $(".allproduct_top form input").val();
+        $.ajax({
+            method: "get",
+            dataType: "json",
+            url: globalConfig.context + "/portal/search/achievementList",
+            data: {
+                keyword:ptxt,
+                dataCategory:2,
+                pageNo:pageNo,
+                pageSize:8
+            },
+            success: function (data) {
+                if (data.data.totalCount == 0) {
+                    $("#demandList_patent").html("<div class='list_none'></div>");
+                } else {
+                    manage_search(data.data,ptxt);
+                    var data=data.data.totalCount;
+                    var date=Math.ceil(data/8);
+                    $(".pageNext").attr("all_length",date);
+                    $('.totalCount').html("共 "+ date +" 页 " + data + " 条数据");
+                    var pageArr = [],
+                        firstNo = 1,
+                        endNo = 5;
+                    if (thePageNo > 3) {
+                        firstNo = thePageNo - 2;
+                        endNo = Math.min((Number(thePageNo) + 2), date);
+                    } else {
+                        endNo = Math.min(date, 5);
+                    };
+                    $('.pageNumber').remove();
+                    for (let i = firstNo; i <= endNo; i++) {
+                        if (i == thePageNo) {
+                            pageArr.push(
+                                '<li class="pageNumber active"><a href="#" value=' + i + ' >' + i + '</a></li>'
+                            );
+                        } else {
+                            pageArr.push(
+                                '<li class="pageNumber"><a href="#" value=' + i + ' >' + i + '</a></li>'
+                            );
+                        }
+                    };
+                    $('.pagePre').after(pageArr.join(''));
+                }
+            }
+        })
+    }
+    $('.place_city ul li').click(function() {
+        $(".allproduct_top form input").val("");
         $(".pagination_box").css("display","block");
-        $(this).addClass('thon').siblings().removeClass('thon')
+        $(this).addClass('thon').siblings().removeClass('thon');
         $('.policy ol li').eq(0).addClass('active_of').siblings().removeClass('active_of');
         $('.more_city .inp').removeClass('thon');
         $('.more_city .inp').text('更多行业 +');
@@ -309,7 +419,35 @@ import {
                     }
             }
         })
-    })
+    });
+    $(".allproduct_top form img").click(function(){
+        search();
+    });
+    function search(){
+        var ptxt= $(".allproduct_top form input").val();
+        $.ajax({
+            method: "get",
+            dataType: "json",
+            url: globalConfig.context + "/portal/search/achievementList",
+            data: {
+                keyword:ptxt,
+                dataCategory:2,
+                pageNo:1,
+                pageSize:8
+            },
+            success: function (data) {
+                if(data.data.totalCount==0){
+                    $(".pagination_box").css("display","none");
+                    $("#demandList_patent").html("<div class='list_none'></div>");
+                }else{
+                    $(".pagination_box").css("display","block");
+                    manage_search(data.data,ptxt);
+                    page_ol(data.data.totalCount);
+                    $(".pageNext").attr("all_length",Math.ceil(data.data.totalCount/8));
+                }
+            }
+        })
+    }
 })();
 
 

+ 3 - 4
src/js/public.js

@@ -12,15 +12,16 @@ $(function(){
 				$('.h_fix').slideUp(200);								
 			}
 		});
+	$(".index_blur").html("×");
 	$(".pub_fix").after("<div class='right_cebian'>侧边导航</div>");
 	$(".index_blur").click(function(){
-		$(".pub_fix").animate({right:"-70px"},"slow",function(){
+		$(".pub_fix").animate({right:"-70px"},"fast",function(){
 		$(".right_cebian").show("fast");
 		});
 	});
 	$(".right_cebian").click(function(){
 		$(".right_cebian").hide("fast");
-		$(".pub_fix").animate({right:"20px"},"slow",function(){
+		$(".pub_fix").animate({right:"20px"},"fast",function(){
 		});
 	});
 	//二级导航
@@ -156,8 +157,6 @@ $(function(){
 	//$('.forget_sub').css({background: '#CCCCCC',border: 'none'});
 	//$('.new_password_sub').attr('disabled', true);
 	//$('.new_password_sub').css({background: '#CCCCCC',border: 'none'});
-	var phone_number="";
-	var reset_code="";
 	//企业和个人的选择,图形改变
 	$('#forget_checks').attr('checked',true);
 	$('#forget_checks').click(function(){

+ 3 - 2
src/js/technologyTrading/achievement.js

@@ -319,8 +319,9 @@ function loadDate(pageNo) {
 		$('.achievement_header ul li').eq(0).find('p').text(text_ind);
 	})
      //点击搜索下面的字段快捷搜索
-    $('.head_right ol li').click(function () {    	
-        theKeyword = $(this).text();        
+    $('.head_right ol li').click(function () {
+        //theKeyword = $(this).text();
+        theFieldA=$(this).attr("val");
         $('#technologyModeList li').eq(0).addClass('active').siblings().removeClass('active');
         $('#transferModeList li').eq(0).addClass('active').siblings().removeClass('active');
         $('.achievement_header ul li').eq(0).show().siblings().hide();

+ 29 - 27
src/js/technologyTrading/demand.js

@@ -77,9 +77,9 @@ $(function(){
 							'<p class="money">预算<span>'+ (thisdata.budgetCost ? (thisdata.budgetCost + '万元') : '价格面议') + '</span></p>',
 							'<a href="#">了解详情</a>',
 							'</div>',
-							'<div class="star">',
-							'<p>成熟度:<ol><li></li><li></li><li></li><li></li><li></li></ol></p>',
-							'</div>',
+							//'<div class="star">',
+							//'<p>成熟度:<ol><li></li><li></li><li></li><li></li><li></li></ol></p>',
+							//'</div>',
 							'<input type="hidden" class="demandId" value="' + thisdata.id + '">',
 							'<input type="hidden" class="demandType" value="' + thisdata.dataCategory + '">',
 							'</li>',
@@ -161,9 +161,9 @@ $(function(){
 		 					'<p class="money">预算<span>'+ (thisdata.budgetCost ? (thisdata.budgetCost + '万元') : '价格面议') + '</span></p>',
 		 					'<a href="#">了解详情</a>',
 		 					'</div>',
-		 					'<div class="star">',
-		 					'<p>成熟度:<ol><li></li><li></li><li></li><li></li><li></li></ol></p>',
-		 					'</div>',
+		 					//'<div class="star">',
+		 					//'<p>成熟度:<ol><li></li><li></li><li></li><li></li><li></li></ol></p>',
+		 					//'</div>',
 		 					'<input type="hidden" class="demandId" value="' + thisdata.id + '">',
                             '<input type="hidden" class="demandType" value="' + thisdata.dataCategory + '">',
 						    '</li>',  	                        	                        	                   
@@ -283,25 +283,26 @@ $(function(){
     });
     $('.pagination').on('click', 'li', function (e) {
         e.preventDefault();
-        if (this.className === 'pagePre') {
-            if (thePageNo > 1) {
-                thePageNo = 1;
-                loadDate(thePageNo);
-            }
-        } else if (this.className === 'pageNext') {
-            if (thePageNo < thePageLength) {
-                thePageNo = thePageLength;
-                loadDate(thePageNo);
-            }
-        } else {
-            var nextPageNo = $(this).children()[0].text;
-            if (thePageNo != nextPageNo) {
-                $(this).siblings("li").removeClass("active");
-                $(this).addClass("active");
-                thePageNo = nextPageNo;
-                loadDate(thePageNo);
-            };
-        };
+		var texton=$("#search_on input").val();
+			if (this.className === 'pagePre'){
+				if (thePageNo > 1) {
+					thePageNo = 1;
+					loadDate(thePageNo);
+				}
+			} else if (this.className === 'pageNext') {
+				if (thePageNo < thePageLength) {
+					thePageNo = thePageLength;
+					loadDate(thePageNo);
+				}
+			} else {
+				var nextPageNo = $(this).children()[0].text;
+				if (thePageNo != nextPageNo) {
+					$(this).siblings("li").removeClass("active");
+					$(this).addClass("active");
+					thePageNo = nextPageNo;
+					loadDate(thePageNo);
+				};
+			};
     });
     $('main_introduce').on('click', 'li', function () {
         var theId = $(this).children(".demandId")[0].value;
@@ -351,13 +352,14 @@ $(function(){
 	})
 	 //点击搜索下面的字段快捷搜索
     $('.head_right ol li').click(function () {    	
-        theKeyword = $(this).text();        
+        //theKeyword = $(this).text();
+		theFieldA=$(this).attr("val");
         $('#technologyModeList li').eq(0).addClass('active').siblings().removeClass('active');
         $('#transferModeList li').eq(0).addClass('active').siblings().removeClass('active');
         $('.achievement_header ul li').eq(0).show().siblings().hide();
         $('.achievement_header ul li').eq(0).find('p').text(theKeyword);
         $('#search_on input').val(theKeyword);
-        loadDate();       
+        loadDate();
     });
     //点击行业分类
     $('#industryList li').click(function(){