liting2017 7 years ago
parent
commit
82db13bb45
4 changed files with 0 additions and 1252 deletions
  1. 0 163
      src/css/Technologytrading.css
  2. 0 151
      src/css/thinktank.css
  3. 0 448
      src/js/Technologytrading.js
  4. 0 490
      src/js/thinktank.js

+ 0 - 163
src/css/Technologytrading.css

@@ -1,163 +0,0 @@
-
-*{box-sizing: border-box;}
-.clear_line{width:100%;height:1px;}
-#technology{width:100%;height:420px;box-shadow: 0 8px 8px 0 #E4E4E4;background: #fff;}
-.technolo{width:1200px;height:420px;padding-top:40px;margin:0 auto;
-    position: relative;}
-.technolo_left{width:390px;height:340px;display:inline-block;
-    position: absolute;top:40px;left:0;}
-h3{font-weight: bold;letter-spacing:2px;color:#383838;}
-.technolo>div>div{width:390px;height:235px;
-    margin-top:45px;position: relative;}
-.technolo>div>h3{color:#256195;font-weight: bold;letter-spacing:2px;}
-.technolo>div>div:hover{background: url("../../img/technology_bg.png") center center;
-background-size: 390px 235px;}
-.technolo_text{width:365px;height:209px;border:1px solid #F4F4F4;overflow: hidden;
-    margin:12px auto;border-radius: 10px;padding: 40px 10px 0 30px;}
-.technolo_text>div{margin-bottom: 12px;line-height: 33px;height:25px;}
-.technolo_text h5{color:#666;margin:0;font-size: 1.5rem;overflow: hidden;text-overflow: ellipsis;cursor: pointer;
-    white-space: nowrap;width:220px;line-height: 35px;display: inline-block;}
-.technolo_text p{display: inline-block;color:#666;font-size: 1.5rem;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
-.technolo_text a{display: inline-block;color:#FF951D;float:right;font-size: 1.5rem;overflow: hidden;
-    text-overflow: ellipsis;white-space: nowrap;display: inline-block;cursor: pointer;}
-.technolo>div>div>img{position: absolute;top:-40px;left:20px;}
-.technolo>div>div>span{width:75px;height:35px;background: #FFB200;
-    border-radius: 10px;position: absolute;left:40px;bottom:0;text-align: center;
-    line-height: 35px;color:#fff;}
-.technolo_center{width:390px;height:340px;display:inline-block;
-    position: absolute;top:40px;left:400px;}
-.technolo_center .technolo_text h5{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
-.technolo_center .technolo_text a{line-height: 35px;cursor: pointer;}
-.technolo_right{width:390px;height:340px;display:inline-block;
-    position: absolute;top:40px;right:0;}
-.technolo_right .technolo_text p{display: none;position: absolute;top:-30px;left:-295px;z-index: 100;background: #fff;width:300px;height:270px;overflow: auto;
-color:#333;}
-.technolo_right .technolo_text a{cursor: pointer;}
-.technolo_right .technolo_text h5{margin:0;line-height: 35px;}
-/*search*/
-#search{width:100%;height:200px;background: #F5F5F5;padding-top: 25px;margin-top: 10px;}
-.search{width:1200px;height:215px;background: url("../../img/search_bg.png") center center;
-background-size: 1200px 215px;margin:0 auto;position: relative;}
-.search_cont{width:690px;height:180px;position: absolute;top:20px;left:140px;}
-.search_cont>h3{text-align: center;line-height: 60px;color:#000;}
-.search_cont>input{display: block;width:665px;height:40px;
-    border: 1px solid #DDB14B;border-radius: 20px;padding-left: 25px;
-    margin-left:12px; }
-.search_cont>span{width:35px;height:35px;position: absolute;top:63px;right:30px;
-    background: url("../../img/search_line.png") center center;cursor: pointer;}
-.search_cont>div{display: block;width:665px;height:40px;
-    padding-left: 15px;margin-left:12px;margin-top:15px;}
-.search_cont>div>span{font-size: 16px;font-weight: bold;margin-right: 5px;color:#414141;}
-/*li*/
-.container{width: 1200px;}
-.industry{background: #ffffff;overflow: hidden;padding-top:80px;}
-.industry_left{float: left;width: 300px;height:1000px;text-align: center;
-    padding-top: 40px;background: #5888B5;}
-    
-body{background: #f5f5f5;}
-.container{width: 1200px;}
-.industry{background: #ffffff;overflow: hidden;}
-
-.industry_left h3{font-size: 24px;margin-bottom: 22px;color: #FFFFFF;font-weight:normal;}
-.industry_left ul li a{font-size:16px ;color: #ffffff;}
-.industry_left ul li{line-height: 36px;height: 36px;cursor: pointer;}
-.title_details{width: 840px;clear: both;margin-bottom:20px;}
-.industry_right{float: left;padding-left: 30px;width: 870px;}
-.title_details ol {width: 100%;overflow: hidden;border-bottom: 1px solid #CCCCCC;}
-
-.title_details ol li a{font-size: 14px;font-weight: normal;color: #FFB200;}
-.title_details ol li>sup>a{font-size: 14px;color:#ffd800;margin-left: 5px;}
-.title_details ol li>sup>a:hover{color:#ff8400;}
-
-.act{color:#074d88 !important;border-bottom: 1px solid #074d88!important;}
-.action_li{box-shadow: 0 0 10px 0 #ddd inset}
-.checked_no{display:none;}
-.main_details{overflow: hidden;width:840px;height:800px;}
-.main_details ul{overflow: hidden;}
-.main_details ul li{width: 260px;height:380px;float: left;position: relative;z-index: 10;box-shadow: 0 0 15px #CCCCCC;margin : 10px;cursor: pointer;}
-
-.title_details ol li{cursor: pointer;float: left;padding-left: 12px;padding-right: 20px;font-size: 24px;color: #333333;border-bottom: 1px solid transparent;line-height: 50px;position: relative;}
-  
-.act{color:#074d88 !important;border-bottom: 1px solid #074d88!important;}
-.main_details ul li img{;width: 260px;height:211px;}
-.main_details ul li .details_fix{position: absolute;top: 140px;background: rgba(0,0,0,0.5);z-index: 12;width: 260px;height: 70px;
-    text-align: left;color: #FFFFFF;padding-left: 10px;}
-
-.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 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;}
-.details_text p{width: 200px;margin:5px auto;color: #f68705;font-size: 16px;}
-.details_text p span{color: #333333;display: inline-block;width: 155px;overflow: hidden;height: 20px;
-    vertical-align: top;text-overflow: ellipsis;white-space: nowrap;margin-left: 8px;}
-.details_text p b{font-weight:normal;color: #333333;width:160px;height:40px ;display: inline-block;vertical-align: top; }
-.details_text a{width: 80px;height: 26px;display: inline-block;
-    background: #ffb200;border-radius: 10px;float: right;
-    line-height: 26px;text-align: center;color: #ffffff;
-    margin-right: 30px;margin-bottom: 16px;margin-top:15px;}
-    
-#demandList_patent{list-style: none;}
-.details_text{width:260px;padding-top:10px ;}
-.details_text p{width: 200px;margin:5px auto;color: #f68705;font-size: 16px;}
-.details_text p span{color: #333333;display: inline-block;width: 155px;overflow: hidden;height: 20px;vertical-align: top;text-overflow: ellipsis;white-space: nowrap;}
-.details_text p b{font-weight:normal;color: #333333;width:160px;height:40px ;display: inline-block;vertical-align: top; }
-.details_text a{width: 80px;height: 26px;display: inline-block;background: #ffb200;border-radius: 10px;float: right;line-height: 26px;text-align: center;color: #ffffff;margin-right: 30px;margin-bottom: 16px;}
-
-.pagination_box {margin-bottom: 75px;margin-top: 20px;clear: both;float: left;}
-.pagination li{ float: left;margin-right: 12px;}
-.pagination li.active a{background: #ffb200;color: #ffffff!important;border: 1px solid #efb04e;}
-.pagination > li > a:hover,.pagination> li > a:focus{background: #ffb200!important;color: #ffffff;border: 1px solid #efb04e;outline: none!important;border: 1px solid #efb04e!important;}
-.totalCount {color: #999;float: right;border: 1px solid #ddd;display: inline-block;padding-left: 10px;padding-right: 10px;height: 33px;line-height: 33px;margin-top: 20px;}
-.pagination ul{float: left;}
-.pagination > li > a, .pagination > li > span{color: #333333;}
-.list_none{width:550px;height:150px;background:url("../../img/all_null.png") no-repeat;margin:50px auto;}
-.imgnull{width:260px;height:211px;background:url("../../img/zhuanliimg_null.png") no-repeat;background-size: 260px 211px;}
-.detail_interest_sub li{transition: all .5s;}
-.detail_interest_sub li:hover{transform: scale(.985)}
-.detail_interest_sub li:hover .interest_list_title>p{color: #fe9507;}
-
-.channel{background: url(../../img/Technology_22.jpg)no-repeat center center; text-align: center;height: 540px;background-position-y: 0px;}
-.channel h5{font-size: 24px;color: #074d88;margin-top: 50px;font-weight: bold;letter-spacing:5px;}
-.channel ul{overflow: hidden;margin-top: 65px;margin-left: 10px;}
-.channel ul li{width: 195px;float: left;height: 195px;margin-left: 40px;}
-.channel ul li:first-child{margin-left: 0;}
-.channel ul li a{color: #ffffff;font-size: 28px;line-height: 195px;height: 195px;display: inline-block;width: 195px;letter-spacing:5px;
-    text-shadow:0 0 3px #ddd,
-    -0 -0 3px #ddd;}
-.channel ul li:nth-child(2n+1){background: url(../../img/Technology_25.png)no-repeat center;}
-.channel ul li:nth-child(2n){background: url(../../img/Technology_26.png)no-repeat center;margin-top: 50px;}
-.checkd{display:block;}
-#bottom{margin-top: -150px; clear: both;}
-
-#searchs{text-align: center;}
-.searchs{width: 650px;position: relative;height: 40px;background: #ffffff;box-shadow: 2px 0px 5px #cccccc;border-radius: 20px;margin: 0 auto;margin-top: 30px;}
-.searchs .select select{-webkit-appearance: none;appearance:none;-moz-appearance:none;;position: absolute;width: 100px;height: 40px;line-height: 40px;color: #f18101;display: inline-block;border: none;font-size: 16px;
-    left:10px;border-radius:10px;background: url(../../img/think_top.png) no-repeat center right;padding-left: 10px;}
-.searchs .select select:focus{outline: none;}
-#search_on input{position: absolute;left: 110px;width: 450px;height: 40px;line-height: 40px;border: none;border-left: 1px solid #CCCCCC;background: #ffffff;padding-left: 5px;font-size: 14px;color: #777777;}
-.searchs .select select option:focus{outline: none;}
-.searchs .select select option{text-align: center;border:1px solid transparent;background: #FFFFFF;display: block;-moz-appearance:none; -webkit-appearance:none;appearance:none;border: 1px solid #cccccc;}
-.searchs .select select option:hover{background: red;}
-.searchs button{width: 64px;height: 40px;position: absolute;right: 5px;background: url(../../img/think_search.png) no-repeat center center;border: none;}
-.searchs button:focus{outline: none;}
-.list_text {font-size: 16px;}
-.list_text .orange{margin-bottom: 12px;color: #f18101;text-align: center;}
-.list_text .bulr{margin-top:12px ;margin-bottom: 0px;color: #074d88;text-align: center;}
-.list_text .text_on{width: 210px;margin: 0 auto;}
-.suibian{width:650px;height:40px;margin: 0 auto;text-align: left;padding-left: 15px;margin-top: 15px;}
-.suibian>span{height:40px;line-height: 40px;font-size: 16px;font-weight: 400;color:#3C3B3B;padding: 0 5px;cursor: pointer;}
-.answer{width:100%;height:100%;position: fixed;top:0;left:0;background-color: rgba(100,100,100,0.5);z-index: 1000;display: none;}
-.answer>p{width:400px;margin: 0 auto;margin-top: 100px;background-color: #fff;padding: 30px 50px;border-radius: 10px;
-box-shadow: 0 0 10px 0 #999;display: none;position: relative;line-height: 22px;}
-.answer>p>span{position: absolute;top:5px;right:20px;font-size: 28px;cursor: pointer;}
-
-
-
-
-
-
-
-
-

+ 0 - 151
src/css/thinktank.css

@@ -1,151 +0,0 @@
-*{font-family: "微软雅黑";}
-
-.container{width: 1200px;}
-#zizone{width:100%;height:195px;background-image: linear-gradient(#fff,#fff, #f8f8f8);box-shadow: 0 0 10px 0 #eee;}
-#zizone>div{width:1200px;height:195px;margin: 0 auto;}
-.zizone img{width: 116px;height: 124px;float: left;margin-left: 104px;}
-.zizone .img_right{float: left;padding-left: 26px;}
-.zizone .col-md-6{padding: 0;margin: 0;padding-top: 38px;padding-bottom: 28px; box-sizing: border-box;
-width:600px;height:195px;}
-.zizone .img_right h4{font-family: "微软雅黑";font-size: 48px;color: #3586cd;margin-top: 22px;margin-bottom: 16px;font-weight: normal;}
-.zizone .img_right p{font-size: 24px;color: #3586cd;}
-.actives{border-top: 5px solid #FF9A25!important;}
-.zizone .col-md-6:hover{cursor: pointer;}
-.img-left{width:121px;height:134px;display: inline-block;float: left;background: url("../../img/think_bai1.png")}
-.img-right{width:121px;height:134px;display: inline-block;float: left;background: url("../../img/think_bai2.png")}
-.actives .img-left{width:121px;height:134px;display: inline-block;float: left;background: url("../../img/think_blur1.png")}
-.actives .img-right{width:121px;height:134px;display: inline-block;float: left;background: url("../../img/think_blur2.png")}
-.zizone_search{background: #efefef;margin-top: 50px;padding-top: 40px;padding-bottom: 40px;padding-left: 36px;overflow: hidden;}
-.search_left{width: 365px;}
-.search_left,.searchs{float: left;}
-.search_left img{float: left; margin-right: 12px;}
-.search_left .img_txt{float: left;}
-.search_left h4{font-weight: normal;font-size: 20px;color: #f68705;margin-bottom:14px ;}
-.search_left p{font-size: 16px;color: #383838;font-family: "simsun";font-weight: bold;}
-
-.searchs{width: 360px;position: relative;height: 40px;background: #ffffff;box-shadow: 2px 0px 5px #c8c8c8;border-radius: 20px;float: left;display: none;}
-.searchs .select select{-webkit-appearance: none;appearance:none;-moz-appearance:none;;position: absolute;width: 100px;height: 40px;line-height: 40px;color: #f18101;display: inline-block;border: none;font-size: 16px;left:10px;border-radius:10px;background: url(../../img/think_top.png) no-repeat center right;padding-left: 22px;}
-.searchs .select select:focus{outline: none;}
-#search_on input{position: absolute;left: 110px;width: 180px;height: 40px;line-height: 40px;border: none;border-left: 1px solid #CCCCCC;background: #ffffff;padding-left: 5px;font-size: 14px;color: #777777;}
-
-.searchs .select select option:focus{outline: none;}
-.searchs .select select option{text-align: center;border:1px solid transparent;background: #FFFFFF;display: block;-moz-appearance:none; -webkit-appearance:none;appearance:none;border: 1px solid #cccccc;}     
-.searchs .select select option:hover{background: red;}
-.searchs button{width: 64px;height: 40px;position: absolute;right: 5px;background: url(../../img/think_search.png) no-repeat center center;border: none;}
-.searchs button:focus{outline: none;}
-.list_text {font-size: 16px;}
-.list_text .orange{margin-bottom: 12px;color: #f68705;text-align: center;font-weight: bold;}
-.list_text .bulr{margin-top:12px ;margin-bottom: 0px;color: #2a6597;text-align: center;font-weight: bold;line-height: 40px;}
-.list_text .text_on{width: 210px;margin: 0 auto;font-size: 14px;font-family: "simsun";color:#787878;line-height: 22px;}
-
-.shadow_text .orange {font-size: 16px;color: #f18101;margin-bottom: 12px;}
-.shadow_text .bulr {font-size: 16px;color: #ffffff;margin-top: 140px;margin-bottom: 12px;}
-.shadow_text .text_on{padding-left:20px ;padding-right: 20px;color: #ffffff;line-height: 24px;text-align: left;}
-
-.wiseman_list{display: none;}
-.wiseman_list ul li:hover .shadow_text{cursor: pointer;display: block;}
-.wiseman_list ul{clear: both;}
-.found{clear: both;width: 220px;padding-top: 68px;margin: 0 auto;margin-bottom: 50px;}
-.found a{width: 220px;height: 64px;border: 1px solid #CCCCCC;border-radius: 10px;text-align: center;font-size: 18px;color: #787878;display: inline-block;line-height: 64px;}
-.found a:hover{color: #0C79FF;}
-
-/*智政详情*/
-.zizone_list h3{width:220px ;height: 54px;margin: 0 auto;text-align: center;color:#074d88;
-    background: url(../../img/think_30.png) no-repeat center;line-height: 54px;margin-top: 56px;}
-.main_zizone{margin-top: 20px;position: relative;}
-.main_zizone ul li {float: left;width: 560px;border: 1px solid #CCCCCC;height: 160px;overflow: hidden;margin-left:10px ;margin-right: 10px;margin-bottom: 24px;}
-.main_zizone ul li img{float: left;width: 205px;height: 160px;}
-.main_zizone ul li .zizone_text{float: left;width: 352.5px;height: 160px;}
-.zizone_text h4{text-align: center;margin-top: 30px;margin-bottom: 10px;}
-.zizone_text h4 a{font-size: 20px;color: #f79624;width: 340px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;display: inline-block;}
-.zizone_text p{width: 350px;font-size: 14px;color: #383838;line-height: 20px;height:57px;overflow: hidden;padding-left: 10px;}
-.zizone_text>a{font-size: 14px;color: #ffbc09;float: right;margin-right: 20px;margin-top: 10px;}
-.main_zizone ul li:hover{cursor: pointer;}
-.main_zizone ul li:hover .zizone_text{background: #ffb200;}
-.main_zizone ul li:hover .zizone_text  a{color: #ffffff;}
-.main_zizone ul li:hover .zizone_text  p{color: #ffffff;}
-.main_zizone ul{height: 368px;overflow: hidden;}
-.zizone_left,.zizone_right{width: 40px;height: 40px;display:inline-block;font-size: 20px;font-weight: 900;border: 1px solid #CCCCCC;border-radius: 50%;text-align: center;line-height: 36px;}
-.zizone_left{position: absolute;left: -60px;top: 50%;margin-top: -30px;}
-.zizone_right{position: absolute;right: -60px;top: 50%;margin-top: -30px;}
-.zizone_left:hover,.zizone_right:hover{cursor: pointer;background: #ffb200;color: #ffffff;border: none;}
-
-/*智政*/
-.place h3{width:220px ;height: 54px;margin: 0 auto;text-align: center;color:#074d88;
-    background: url(../../img/think_30.png) no-repeat center;line-height: 54px;margin-top: 90px;}
-.place_city{padding-top: 40px;width: 960px;margin: 0 auto;}
-.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;font-size: 16px;}
-.policy{clear: both;padding-top: 56px;position: relative;height: 400px;z-index: 22;}
-.place_city ul li:hover{cursor: pointer;}
-.policy ul {overflow: hidden;width: 1170px;}
-.place_city ul li.thon{background: #2f85d0;color: #ffffff;}
-.more_city{float:left; position: relative;width: 160px;}
-.more_city .list_city{position: absolute;top: 49px;right: 0;text-align: center;font-size:16px ;color: #333333;width:161px;height: 302px;overflow: scroll;overflow-x: hidden;border: 1px solid #a9a9a9;
-    background: #ffffff;padding-bottom: 20px;z-index: 25;}
-.list_city p{width:160px;line-height:30px;height: 30px;}
-.list_city p:hover{box-shadow: inset 0 0 3px #cccccc;background:#f79624;color: #ffffff;}
-.more_city .thon{background: #2f85d0;color: #ffffff!important;}
-.more_city:hover .inp{cursor: pointer;}
-
-.policy_time{float: left;width: 70px;height: 80px;border: 1px solid #cccccc;text-align: center;}
-.policy_time p{font-size: 24px;color: #383838;margin-top: 16px;margin-bottom: 0px;}
-.policy_time time{font-size: 12px;color: #c6c6c6;}
-.policy_details{float: left;width: 500px;padding-left: 24px;}
-.policy_details h4{font-size: 20px;color: #f79624;color: #074d88;width:440px ;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}
-.policy_details p{width: 460px;font-size: 14px;font-family: "宋体";margin-top:16px;line-height: 22px;height: 44px;overflow: hidden;}
-.policy_details>a{color: #ffbc09;font-size: 14px;width: 95px;height: 30px;line-height: 30px;border: 1px solid #d2d2d2;text-align: center;margin-top: 20px;display: inline-block;}
-
-.policy ul li{float: left;width: 580px;margin-bottom: 22px;}
-.policy_details h4:hover a{color: #0C79FF;}
-.policy ol{overflow: hidden;position: absolute;bottom: 0px;left: 50%;margin-left: -32px;}
-.policy ol li{width: 15px ;height: 15px;float: left;border: 4px solid #919192;background: #ffffff;border-radius: 50%;margin-right: 5px;}
-.policy ol li.active_of{background: #919192;}
-.policy ol li:hover{cursor: pointer;}
-
-#bottom{margin-top: 40px;}
-
-/*智者*/
-.wrap { width: 100%; margin: 0 auto;background: #ffffff;}
-.wrap .portal-body{min-height: 424px;}   
-.wrap  .portal-content {width: 1200px;margin: 0 auto;padding-top: 10px; margin-bottom: 50px;}
-.pagination_box {width: 1200px;}  
-.pagination_box .pagination{ float: right;}
-.pagination li{ float: left;}        
-.totalCount {float: right;line-height: 74px; margin-right: 20px; color: #999;} 
-      
-.search-select ul li{float: left; border: 1px solid #ccc;margin-right: 8px;margin-bottom: 10px; height: 28px; line-height: 26px; padding: 0 16px;font-size: 12px;}
-.search-select  ul li span { font-size: 14px; line-height: 26px;color: #787878; }
-.search-select  ul li:hover,.search-select ul li.active{cursor: pointer; border: 1px solid #58a3ff; }
-.search-select  ul li:hover span {color: #58a3ff;}                      
-
-.detail_interest_sub  li{float: left;width: 270px;position: relative;z-index: 15;margin-left: 30px;border: 1px solid #cccccc;overflow: hidden;height: 440px;margin-bottom: 20px;}                                      
-.detail_interest_sub  li>img{width: 270px;height: 280px;}                    
-.detail_interest_sub  li:nth-child(4n+1){margin-left: 0;}                   
-.shadow_text{position: absolute;top: 0;left: 0;width: 270px;height: 440px;text-align: center;background: rgba(0,0,0,.7);display: none;}
-.detail_interest_sub  li:hover .shadow_text{display: block;}
-.shadow_text img{width: 28px!important;height: 24px;margin: 0 auto;margin-top: 20px;display: inline-block;}                  
-.search-criteria{padding-top: 50px;padding-bottom: 40px;}                   
-.search-title{text-align: center;}
-.search-title>span{    width: 88px;height: 28px;font-size: 14px;background: #2f85d0;color: #ffffff;
-    line-height: 28px;display: inline-block;text-align: center;}
-.imgbg{width: 550px!important;height: 150px;background: url(../../img/all_null.png) no-repeat;margin: 0px auto;}
-.imgbgs{width: 550px!important;height: 150px;background: url(../../img/all_null1.png) no-repeat;margin: 0px auto;}
-.pagination .active a{color:#fff !important;}
-                        
-.pagination > li > a:hover, .pagination > li > a:focus{background: #ffd800!important;color: #ffffff;outline: none;}                       
-.pagination li{margin-left: 10px;border: none;}  
-.pagination li.active a{background: #ffd800; color: #ffffff!important;border: 1px solid #ffd800;} 
-.pagination > li > a, .pagination > li > span {color: #000000;}
-       
-     
-         
-        
-       
-            
-   
-    
-

+ 0 - 448
src/js/Technologytrading.js

@@ -1,448 +0,0 @@
-import '../css/bootstrap.less';
-import 'bootstrap/dist/js/bootstrap.js';
-import '../css/public.css';
-import '../css/main_banner.css';
-import './public.js';
-import './main_banner.js';
-import '../css/technologyTrading.css';
-
-import {
-    industryObject,
-    getIndustryCategory
-    } from './DicIndustryList';
-
-(function(){
-    var theKeyword,Province;
-    var thePageNo = 1,
-        thePageLength = 1,
-        pageSize = 6;
-    //技术交易问题的点击出答案
-    $(".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();
-    });
-    //技术交易政策的点击跳转政策详情页面
-    $(".technolo_center .technolo_text").on('click', 'div', function () {
-        var theId = $(this).attr('val');
-        window.open(globalConfig.context + '/portal/news/newsDetail?id=' + theId );
-    });
-    //技术交易成功案例的点击跳转成果详情页面
-    $(".technolo_left .technolo_text").on('click', 'div', function () {
-        var theId = $(this).attr('val');
-        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():"";
-        var typ=$("#selt>option:selected").attr("val");
-        if(typ==2){
-            window.open(globalConfig.context + '/portal/technologyTrading/demand.html');
-            localStorage.setItem("keyWord",key);
-            localStorage.setItem("pageType",typ);
-        }else{
-            window.open(globalConfig.context + '/portal/technologyTrading/achievement.html');
-            localStorage.setItem("keyWord",key);
-            localStorage.setItem("pageType",typ);
-        }
-    });
-    $(".suibian span").click(function(){
-        var key=$(this).html();
-        var typ=$("#selt>option:selected").attr("val");
-        if(typ==2){
-            window.open(globalConfig.context + '/portal/technologyTrading/demand.html');
-            localStorage.setItem("keyWord",key);
-            localStorage.setItem("pageType",typ);
-        }else{
-            window.open(globalConfig.context + '/portal/technologyTrading/achievement.html');
-            localStorage.setItem("keyWord",key);
-            localStorage.setItem("pageType",typ);
-        }
-    });
-    $("#demandList_patent").on('click', 'li', function () {
-       var ol_index= $(".title_details ol>li.act").index();
-        var theId = $(this).attr('val');
-        var thetype=$(this).attr('typ');
-        if(ol_index==2){
-            window.open(globalConfig.context + '/portal/technologyTrading/demandDetail?id=' + theId+'&type='+thetype );
-        }
-       else{
-            window.open(globalConfig.context + '/portal/technologyTrading/achievementDetail?id=' + theId+'&type='+thetype );
-        }
-});
-
-
-//处理data数据函数提取
-    function manage(data){
-        var demand_html="";
-        var chagename="";
-        for(var i=0;i<data.list.length;i++){
-            var caseindex=$(".title_details ol li.act").index();
-            switch (caseindex){
-                case 0:chagename="专利名";break;
-                case 1:chagename="技术名";break;
-                case 2:chagename="需求名";break;
-            }
-            var catalog,price,sketch;
-            catalog=data.list[i].industryCatalog?data.list[i].industryCatalog:"所有行业";
-            price=data.list[i].price?data.list[i].price:"价格面议";
-            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>"+catalog+"</span></p>" +
-                "<p>价格:<span>"+price+"</span></p>" +
-                "<p>简介:<span>"+sketch+"..."+"</span></p>" +
-                "<a href='#'>了解详情</a>" +
-                "</div>" +
-                "<div class='details_fix'>" +
-                "<p>"+chagename+":<span>"+data.list[i].name+"</span></p>" +
-                //"<p>所有人:<span>"+(data.list[i].personName?data.list[i].personName:"佚名")+"</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].pictureUrl+"' alt=''/>" +
-                "<div class='details_text'>" +
-                "<p>行业:<span>"+catalog+"</span></p>" +
-                "<p>价格:<span>"+price+"</span></p>" +
-                "<p>简介:<span>"+sketch+"..."+"</span></p>" +
-                "<a href='#'>了解详情</a>" +
-                "</div>" +
-                "<div class='details_fix'>" +
-                "<p>"+chagename+":<span>"+data.list[i].name+"</span></p>" +
-               // "<p>所有人:<span>"+(data.list[i].personName?data.list[i].personName:"佚名")+"</span></p>" +
-                "</div></li>"
-            }
-        }
-        $("#demandList_patent").html(demand_html);
-    }
-    //当数据传回来之后,
-    function page(data){
-        var date=Math.ceil(data/6);
-        $('.totalCount').html("共 "+ date +" 页 ");
-        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);
-        };
-        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>'
-                );
-            }
-        };
-        $('.pageNumber').remove();
-        $('.pagePre').after(pageArr.join(''));
-    }
-
-    var ul_html="";
-    for(var i=0;i<industryObject.length;i++){
-        ul_html+="<li value='"+industryObject[i].value+"'><a href='javascript:;'>"+industryObject[i].label+"</a></li>";
-    }
-    $(".industry_ul").html(ul_html);
-    $(".industry_ul li:first").addClass("action_li");
-    var left_val=$(".industry_ul li.action_li").attr("value");
-    $.ajax({
-        method: "post",
-        dataType: "json",
-        url: globalConfig.context + "/portal/search/boutiqueSearchList",
-        data: {
-            boutiqueType:0,
-            industryCatalog:"",
-            pageNo:1,
-            pageSize:6
-        },
-        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(data.data);
-                page(data.data.totalCount);
-                $(".pageNext").attr("all_length",Math.ceil(data.data.totalCount/6));
-            }
-        }
-    })
-})();
-
-(function(){
-    var theKeyword,Province;
-    var thePageNo = 1,
-        thePageLength = 1,
-        pageSize = 6;
-    //处理data数据函数提取
-    function manage(data){
-        var chagename="";
-        var caseindex=$(".title_details ol li.act").index();
-        switch (caseindex){
-            case 0:chagename="专利名";break;
-            case 1:chagename="技术名";break;
-            case 2:chagename="需求名";break;
-        }
-        var demand_html="";
-        for(var i=0;i<data.list.length;i++){
-            var catalog,price,sketch;
-            catalog=data.list[i].industryCatalog?data.list[i].industryCatalog:"所有行业";
-            price=data.list[i].price?data.list[i].price:"价格面议";
-            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>"+catalog+"</span></p>" +
-                "<p>价格:<span>"+price+"</span></p>" +
-                "<p>简介:<span>"+sketch+"..."+"</span></p>" +
-                "<a href='#'>了解详情</a>" +
-                "</div>" +
-                "<div class='details_fix'>" +
-                "<p>"+chagename+":<span>"+data.list[i].name+"</span></p>" +
-               // "<p>所有人:<span>"+(data.list[i].personName?data.list[i].personName:"佚名")+"</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].pictureUrl+"' alt=''/>" +
-                "<div class='details_text'>" +
-                "<p>行业:<span>"+catalog+"</span></p>" +
-                "<p>价格:<span>"+price+"</span></p>" +
-                "<p>简介:<span>"+sketch+"..."+"</span></p>" +
-                "<a href='#'>了解详情</a>" +
-                "</div>" +
-                "<div class='details_fix'>" +
-                "<p>"+chagename+":<span>"+data.list[i].name+"</span></p>" +
-               // "<p>所有人:<span>"+(data.list[i].personName?data.list[i].personName:"佚名")+"</span></p>" +
-                "</div></li>"
-            }
-        }
-        $("#demandList_patent").html(demand_html);
-    }
-    $(".title_details ol li").click(function(){
-        $(".paging_box span:first").addClass("action_span").siblings().removeClass("action_span");
-        $(this).addClass("act").siblings().removeClass("act");
-        var left_val=$(".industry_ul li.action_li").attr("value");
-        var right_val = $(this).attr("value");
-        if(left_val=="null"){
-            left_val="";
-        }
-        $.ajax({
-            method: "post",
-            dataType: "json",
-            url: globalConfig.context + "/portal/search/boutiqueSearchList",
-            data: {
-                boutiqueType:right_val,
-                industryCatalog:left_val,
-                pageNo:1,
-                pageSize:6
-
-            },
-            success: function (data) {
-                if(data.data.totalCount==0){
-                    $("#demandList_patent").html("<div class='list_none'></div>");
-                }else{
-                    thePageNo=1;
-                    manage(data.data);
-                    page_ol(data.data.totalCount);
-                    $(".pageNext").attr("all_length",Math.ceil(data.data.totalCount/6));
-                }
-            }
-        })
-    });
-
-    $(".industry_ul li").click(function() {
-        $(".paging_box span:first").addClass("action_span").siblings().removeClass("action_span");
-        //$(".title_details ol li").eq(0).addClass("act").siblings().removeClass("act");
-        $(this).addClass("action_li").siblings().removeClass("action_li");
-        var left_val = $(this).attr("value");
-        var right_val = $(".title_details ol li.act").attr("value");
-        if(left_val=="null"){
-            left_val="";
-        }
-         console.log(left_val)
-        $.ajax({
-            method: "post",
-            dataType: "json",
-            url: globalConfig.context + "/portal/search/boutiqueSearchList",
-            data: {
-                boutiqueType:right_val,
-                industryCatalog:left_val,
-                pageNo:1,
-                pageSize:6
-            },
-            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(data.data);
-                    page(data.data.totalCount);
-                    $(".pageNext").attr("all_length",Math.ceil(data.data.totalCount/6));
-                }
-            }
-        })
-    });
-
-    //右侧内容的分页功能,点击一次发送一个ajax的请求,只请求6组数据
-    function loadDate(pageNo) {
-        var left_val = $(".industry_ul li.action_li").attr("value");
-        var right_val = $(".title_details ol li.act").attr("value");
-        if(left_val=="null"){
-            left_val="";
-        }
-        $.ajax({
-            method: "post",
-            dataType: "json",
-            url: globalConfig.context + "/portal/search/boutiqueSearchList",
-            data: {
-                boutiqueType: right_val,
-                industryCatalog: left_val,
-                pageNo: pageNo,
-                pageSize: 6
-            },
-            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(data.data);
-                    var data=data.data.totalCount;
-                    var date=Math.ceil(data/6);
-
-                    $(".pageNext").attr("all_length",date);
-                    $('.totalCount').html("共 "+ date +" 页 ");
-                    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(''));
-                }
-            }
-        });
-    }
-    //当数据传回来之后,
-    function page(data){
-        thePageNo=$(".pagination li.active").children()[0].text;
-        var date=Math.ceil(data/6);
-        $('.totalCount').html("共 "+ date +" 页 ");
-        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(''));
-    }
-    function page_ol(data){
-        var date=Math.ceil(data/6);
-        $('.totalCount').html("共 "+ date +" 页 ");
-        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(''));
-    }
-    $('.pagination').on('click', 'li', function (e) {
-        e.preventDefault();
-        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);
-            }
-        } else {
-            var nextPageNo = $(this).children()[0].text;
-            if (thePageNo != nextPageNo) {
-                $(this).siblings("li").removeClass("active");
-                $(this).addClass("active");
-                thePageNo = nextPageNo;
-                loadDate(thePageNo);
-            }
-        }
-    });
-})();
-
-
-
-
-
-

+ 0 - 490
src/js/thinktank.js

@@ -1,490 +0,0 @@
-import '../css/bootstrap.less';
-import 'bootstrap/dist/js/bootstrap.js';
-import '../css/public.css';
-import '../css/main_banner.css';
-import './public.js';
-import './main_banner.js';
-import '../css/thinkTank.css';
-import {
-    provinceList
-    } from './NewDicProvinceList';
-import {
-    techFieldList,
-    getTechField
-    } from './DicTechFieldList';
-
-$(function(){
-    //智库、智者切换
-    $('.zizone .col-md-6').click(function(){
-        $(this).addClass('actives').siblings().removeClass('actives')
-    })
-    $('.zone_left').click(function(){
-        $('.wiseman_list').hide();
-        $('.tab_zizone').show();
-        $('.searchs').hide()
-    })
-    $('.zone_right').click(function(){
-        $('.wiseman_list').show();
-        $('.tab_zizone').hide();
-         $('.searchs').show()
-    })
-    //地方政策城市切换
-    //初始北京第一页新闻
-    $('.place_city ul li').eq(0).addClass('thon').siblings().removeClass('thon');
-    var thePageNos= 1;
-    var pageNos = 1;
-    var thePageLengths=1;
-    var pageSizes = 4;
-    var provinces;
-    function datt(provinces,pageNos){
-        $.ajax({
-            method: "get",
-            dataType: "json",
-            url: globalConfig.context + "/portal/news/list",
-            data: {
-                provinceId:provinces,
-                hot: 1,
-                pageNo:pageNos || 1,
-                type:5,
-                pageSize:pageSizes
-            },
-            success: function (result) {
-                var totlepage=Math.ceil(result.data.totalCount/4);
-                var policy_li ='';
-                for(var i=0;i<result.data.list.length;i++){
-                    var id=result.data.list[i].id;
-                    var title = result.data.list[i].title; //标题
-                    var time = result.data.list[i].createTimeFormattedDate; //日期
-                    var day=time.substr(8,2);//号
-                    var month=time.substr(0,7) //年、月
-                    var summary = result.data.list[i].summary;//简介
-                    var totle=result.data.totalCount;
-                    var pages=Math.ceil(totle/4);
-                    var sol='';
-                     if(summary==null){
-                    	summary=''
-                    };
-                   var srctt=globalConfig.context + '/portal/news/newsDetail.html?id=' + id;
-                    policy_li+="<li value='"+id+"'>"
-                        +"<div class='policy_time'><p>"
-                        +day+"</p><time>"+month+"</time></div><div class='policy_details'><h4><a href='"+srctt+"'>"
-                        +title+"</a></h4><p>"+summary
-                        +"</p><a href='"+srctt+"'>MORE+</a>"              
-                        +"</div></li>"
-                }
-                if(result.data.list.length===0){
-                    $('.policy ol').hide();
-                    $('.policy ul').html('<div class="imgbg"></div>') ;
-                }else{
-                    $('.policy ol').show() ;
-                    $('.policy ul').html(policy_li)
-                }
-            }.bind(this)
-        })
-    }
-    datt(1,1);
-    //点击省份时刷新页面新闻
-    $('.place_city ul li').click(function(){
-        $(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('更多省份 +')
-        //新闻刷新
-        var t_val=$(this).prop('value');
-        provinces=t_val;
-        datt(provinces,1);
-    });
-    //智政新闻小点切换宽度设置及点击刷新
-    var cirle = $('.policy ol li').length;
-    var ind_circle=0;
-    $('.policy ol li').click(function(){
-        $(this).addClass('active_of').siblings().removeClass('active_of');
-        var place_on = $('.place_city ul li.thon').prop('value')
-        var h_ind=$(this).index()+1;
-        if(place_on==undefined){
-            place_on=$('.inp').attr('value');
-        }
-        provinces=place_on;
-        pageNos=h_ind;
-        $.ajax({
-            method: "get",
-            dataType: "json",
-            url: globalConfig.context + "/portal/news/list",
-            data: {
-                provinceId:provinces,
-                hot: 1,
-                pageNo:pageNos || 1,
-                type:5,
-                pageSize:pageSizes
-            },
-            success: function (result) {
-                var totlepage=Math.ceil(result.data.totalCount/4);
-                var policy_li ='';
-                for(var i=0;i<result.data.list.length;i++){
-                    var id=result.data.list[i].id;
-                    var title = result.data.list[i].title; //标题
-                    var time = result.data.list[i].createTimeFormattedDate; //日期
-                    var day=time.substr(8,2);//号
-                    var month=time.substr(0,7) //年、月
-                    var summary = result.data.list[i].summary;//简介
-                    var totle=result.data.totalCount;
-                    var pages=Math.ceil(totle/4);
-                    var sol='';
-                    var srctt=globalConfig.context + '/portal/news/newsDetail.html?id=' + id;
-                    policy_li+="<li value='"+id+"'>"
-                        +"<div class='policy_time'><p>"
-                        +day+"</p><time>"+month+"</time></div><div class='policy_details'><h4><a href='"+srctt+"'>"
-                        +title+"</a></h4><p>"+summary
-                        +"</p><a href='"+srctt+"'>MORE+</a>"              
-                        +"</div></li>"
-                }
-                $('.policy ol').show();               
-                $('.policy ul').html(policy_li);
-                if(result.data.list.length===0){                	
-                    $('.policy ul').html('<div class="imgbgs"></div>') ;
-                }
-            }.bind(this)
-        })
-    })
-    //中央政策跳转
-    $('.main_zizone ul').on('click', 'li', function () {
-        var theId = $(this).attr('value');
-        window.open(globalConfig.context + '/portal/news/newsDetail.html?id=' + theId );
-    })
-    //地方政策跳转    
-  
-
-    //搜索城市下拉
-    var addlength=provinceList.length;
-    var soption='';
-    var sol='';
-    for(var i=0;i<addlength;i++){
-        sol+="<p value='"+provinceList[i].id+"'>"+provinceList[i].name+"</p>";
-    };
-    for(var i=0;i<addlength;i++){
-        soption+="<option value='"+provinceList[i].id+"'>"+provinceList[i].name+"</option>";
-    };
-    $('.list_city').html(sol);
-    $('#selt').html(soption);
-    //智政城市下拉切换
-    $('.list_city').hide();
-    $('.more_city .inp').click(function(){
-        $('.list_city').slideToggle(500)
-    })
-    $('.more_city').mouseleave(function(){
-        $('.list_city').hide();
-    })
-    //选择城市及新闻页面刷新
-    $('.list_city p').click(function(){
-        var ptxt=$(this).text();
-        var pval=$(this).attr('value');       
-        $('.more_city .inp').text(ptxt);
-        $('.more_city .inp').attr('value',pval);
-        $('.list_city').hide();
-        $('.more_city .inp').addClass('thon');
-        $('.place_city ul li').removeClass('thon');
-        $('.policy ol li').eq(0).addClass('active_of').siblings().removeClass('active_of');
-        var p_val=$(this).attr('value');    
-        provinces=p_val	;
-        datt(provinces,1);
-    });
-
-    //中央政策点击刷新
-    //初始化内容
-    function mids(provinces,pageNos){
-        $.ajax({
-            method: "get",
-            dataType: "json",
-            url: globalConfig.context + "/portal/news/list",
-            data: {
-                provinceId:null,
-                hot: 1,
-                pageNo:pageNos||1,
-                type:4,
-                pageSize:pageSizes
-            },
-            success: function (result) {
-                thePageLengths = result.data.totalCount ? Math.ceil(result.data.totalCount / pageSizes) : 1;
-                var policy_img ='';
-                var totle=Math.ceil(result.data.totalCount/4);    
-                for(var i=0;i<result.data.list.length;i++){
-                    var id=result.data.list[i].id;
-                    var title = result.data.list[i].title; //标题
-                    var titleImg = result.data.list[i].titleImg; //图片
-                    if(titleImg==null){
-                    	titleImg=''
-                    }
-                    var summary = result.data.list[i].summary;//简介
-                    if(summary==null){
-                    	summary=''
-                    };
-                    var  imgUrls=titleImg!=''?globalConfig.avatarHost + '/upload' +titleImg:globalConfig.avatarHost+ '/upload/default/news.jpg';                  
-                    policy_img+=
-                    "<li value='"+id+"'>"
-                    +"<img src='"+imgUrls+"' alt=''/>"
-                    +"<div class='zizone_text'><h4><a href='#'>"
-                    +title+"</a></h3><p>"
-                    +summary+"</p><a href='#'>MORE+</a>"
-                    +"<input type='hidden' value='"+totle+"'/></div></li>"
-                }
-                $('.main_zizone ul').html(policy_img)
-            }.bind(this)
-        })
-    }
-    mids(1,1)
-    //点击时left
-    var t=1; 
-    $('.zizone_left').click(function(){    	  		
-        t--;
-        if(t<=1){
-            t=1
-        }
-        pageNos=t;
-        mids(1,pageNos);
-    })   
-    //点击时right  
-    $('.zizone_right').click(function(){
-    	var tot=$('.main_zizone ul').find('input').val()
-        t++; 
-        if(t>tot){
-        	t=tot
-        }
-        pageNos=t;
-        mids(1,pageNos);
-    })
-    //智者数据交互
-    var theKeyword, theFieldA, theFieldB, theFieldC,province;
-    var thePageNo = 1,
-        thePageLength = 1,
-        pageSize = 12,
-        theType = 0;
-    function loadDate(pageNo) {
-        theFieldA = theFieldA != 999 ? theFieldA : undefined;
-        theFieldB = theFieldB != 999 ? theFieldB : undefined;
-        theFieldC = theFieldC != 999 ? theFieldC : undefined;
-        $.ajax({
-            method: "get",
-            dataType: "json",
-            url: globalConfig.context + "/portal/search/subscriberList",
-            data: {
-            	province:province,
-                pageNo: pageNo || 1,
-                pageSize: pageSize,
-                type: theType,
-                name: theKeyword,
-                field: theFieldA ? ((theFieldA || '') + (theFieldB ? (',' + theFieldB) : '') + (theFieldC ? (',' + theFieldC) : '')) : undefined
-            },
-            success: function (data) {
-                var theArr = [];
-                if (data.data && data.data.list) {
-                    for (let i = 0; i < data.data.list.length; i++) {
-                        let thisdata = data.data.list[i];
-                        let engagedField = thisdata.engagedField ? thisdata.engagedField.split(',') : [];
-                        if(thisdata.username==null||thisdata.username==''){
-                        	thisdata.username='佚名'
-                        }
-                        var  imgUrl=thisdata.personPortraitUrl!=null?globalConfig.avatarHost + '/upload' +thisdata.personPortraitUrl:globalConfig.avatarHost+ '/upload/default/person.jpg';                       
-                        theArr.push([
-                            '<li value="'+thisdata.uid+'">',
-                            '<img src="'+ imgUrl+'"  />',
-                            '<div class="list_text">',
-                            '<p class="bulr">'+ thisdata.username + '</p>',
-                            '<p class="orange">' + (thisdata.position || '未知职位') + '</p>',
-                            '<p class="text_on">' + getTechField(engagedField[0], engagedField[1], engagedField[2]) + '</p>',
-                            '</div>',
-                            '<div class="shadow_text">',
-                            '<p class="bulr">'+ thisdata.username + '</p>',
-                            '<p class="orange">' + (thisdata.position || '未知职位') + '</p>',
-                            '<p class="text_on">' + getTechField(engagedField[0], engagedField[1], engagedField[2]) + '</p>',
-                            '<img src="' + globalConfig.portalHost + '/img/search_txt.png "/>',
-                            '</div>',                                                     
-                            '</li>' ,
-                        ].join(''));
-                    };
-                } else {
-                    return;
-                };
-                $('#subscriberList').empty();
-                $('#subscriberList').append(theArr.join(''));
-                if(data.data.list.length===0){                    
-                    $('#subscriberList').html('<div class="imgbg"></div>') ;
-                }
-                $('.totalCount').html("共" + data.data.totalCount + "条数据");
-                thePageLength = data.data.totalCount ? Math.ceil(data.data.totalCount / pageSize) : 1;
-                var pageArr = [],
-                    firstNo = 1,
-                    endNo = 5;
-                if (thePageNo > 3) {
-                    firstNo = thePageNo - 2;
-                    endNo = Math.min((Number(thePageNo) + 2), thePageLength);
-                } else {
-                    endNo = Math.min(thePageLength, 5);
-                };
-                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>'
-                        );
-                    }
-                };
-                $('.pageNumber').remove();
-                $('.pagePre').after(pageArr.join(''));
-            }
-        });
-    }
-
-
-    if (window.location.search) {
-        let theUrl = window.location.search
-        theKeyword = theUrl.substring(1, theUrl.length);
-        theKeyword = decodeURIComponent(theKeyword);
-        $('#searchInput').val(theKeyword);
-    };
-    loadDate();
-    var industryListArr = [],
-        industrySecondList = [],
-        industryThirdList = [];
-    industryListArr.push(['<li value="999" class="active">',
-        '<span>',
-        '不限',
-        '</span>',
-        '</li>',
-    ].join(''));
-    techFieldList.map(function (item) {
-        industryListArr.push(['<li value="' + item.value + '">',
-            '<span>',
-            item.label,
-            '</span>',
-            '</li>',
-        ].join(''));
-    });
-    if (industryListArr && industryListArr.length) {
-        $('#industryList').append(industryListArr.join(''));
-    };
-    $('#industryList').on('click', 'li', function () {
-        var theValue = this.value;
-        $(this).siblings("li").removeClass("active");
-        $(this).addClass("active");
-        industrySecondList = [];
-        industrySecondList.push(['<li value="999" class="active">',
-            '<span>',
-            '不限',
-            '</span>',
-            '</li>',
-        ].join(''));
-        if (theValue !== 999) {
-            $('#industrySecondBox').css("display", "block");
-            techFieldList.map(function (item) {
-                if (item.value == theValue) {
-                    item.children.map(function (child) {
-                        industrySecondList.push(['<li value="' + child.value + '">',
-                            '<span>',
-                            child.label,
-                            '</span>',
-                            '</li>',
-                        ].join(''));
-                    });
-                };
-            });
-        } else {
-            $('#industrySecondBox').css("display", "none");
-        };
-        if (industrySecondList && industrySecondList.length) {
-            $('#industrySecondList').empty();
-            $('#industrySecondList').append(industrySecondList.join(''));
-        };
-        $('#industryThirdBox').css("display", "none");
-        theFieldA = this.value;
-        theFieldB = 999;
-        theFieldC = 999;
-        loadDate();
-    });
-    $('#industrySecondList').on('click', 'li', function () {
-        var theValue = this.value;
-        $(this).siblings("li").removeClass("active");
-        $(this).addClass("active");
-        industryThirdList = [];
-        industryThirdList.push(['<li value="999" class="active">',
-            '<span>',
-            '不限',
-            '</span>',
-            '</li>',
-        ].join(''));
-        if (theValue !== 999) {
-            $('#industryThirdBox').css("display", "block");
-            techFieldList.map(function (itemA) {
-                if (itemA.value == theFieldA) {
-                    itemA.children.map(function (itemB) {
-                        if (itemB.value == theValue) {
-                            itemB.children.map(function (itemC) {
-                                industryThirdList.push(['<li value="' + itemC.value + '">',
-                                    '<span>',
-                                    itemC.label,
-                                    '</span>',
-                                    '</li>',
-                                ].join(''));
-                            })
-                        }
-                    });
-                };
-            });
-        } else {
-            $('#industryThirdBox').css("display", "none");
-        };
-        if (industryThirdList && industryThirdList.length) {
-            $('#industryThirdList').empty();
-            $('#industryThirdList').append(industryThirdList.join(''));
-        };
-        theFieldB = this.value;
-        theFieldC = 999;
-        loadDate();
-    });
-    $('#industryThirdList').on('click', 'li', function () {
-        $(this).siblings("li").removeClass("active");
-        $(this).addClass("active");
-        theFieldC = this.value;
-        loadDate();
-    });
-    $('.searchs button').click(function (e) {
-        e.preventDefault();
-        theKeyword = $('#search_on input').val();        
- 		province = $('#selt option:checked').attr('value');
- 		province=province
-        loadDate();
-    });
-    $('.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);
-            };
-        };
-    });
-    $('#subscriberList').on('click', 'li', function () {
-        var theId = $(this).attr('value');       
-        window.open(globalConfig.context + '/user/subscriberDetail.html?uid=' + theId + '&type=0');
-       
-    })
-})
-
-
-
-