dengzhiguo 7 years ago
parent
commit
f823c80f47

+ 5 - 2
src/css/indexNew.css

@@ -140,7 +140,8 @@ text-overflow: ellipsis;overflow: hidden;white-space: nowrap;padding-top:10px;fo
 .indexGroom_tables>a>div p{color:#787878;width:225px;height:55px;line-height: 22px;padding-top:10px;
 text-align: justify;text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical; -webkit-line-clamp: 2;}
 .indexGroom_tables>a>div>div>div{width:225px;height:45px;text-align: right;padding-top:10px;position: absolute;right:0;bottom:0;}
-.indexGroom_tables>a>div>div>div>div{display: inline-block;width:100px;height:25px;line-height: 25px;text-align: center;color:#FD9C5C;border: 1px solid #FD9C5C;;}
+.indexGroom_tables>a>div>div>div>div{display: inline-block;width:100px;height:25px;line-height: 25px;text-align: center;color:#FD9C5C;border: 1px solid #FD9C5C;
+text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}
 .xuqiu{display: none;}
 #indexGroom>img{position: absolute;left: 0;bottom: 0}
 .indexGroom_more{color:#787878;font-size: 18px;text-align: right;cursor: pointer;}
@@ -150,10 +151,12 @@ text-align: justify;text-overflow: ellipsis;overflow: hidden;display: -webkit-bo
 .indexExpert{width:1200px;height:630px;margin:0 auto;position: relative;padding-top:35px;}
 .indexExpert_cont{width:1200px;height:570px;}
 .indexExpert_cont>a>div{width:285px;height:265px;margin:0 15px 20px 0;background: #fff;position: relative;display: inline-block;}
+.indexExpert_cont>a>div>img{width:285px;height:190px;}
 .indexExpert_cont>a:nth-child(4)>div{margin-right:0;}
 .indexExpert_cont>a:nth-child(8)>div{margin-right:0;}
 .indexExpert_basc{width:285px;height:75px;padding-left: 10px;padding-top: 5px;}
-.indexExpert_basc>h3{display:inline-block;color:#7C7B7B;}
+.indexExpert_basc>h3{display:inline-block;color:#7C7B7B;font-size:18px;}
+.indexExpert_basc>span{color:#7C7B7B;font-size:18px;}
 .indexExpert_basc>h4{display:inline-block;color:#858383;font-weight:normal;}
 .indexExpert_basc>p{width:260px;height:22px;line-height: 22px;color:#858383;margin-top:10px;
 text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}

+ 19 - 4
src/js/technologyTrading/achievement.js

@@ -17,8 +17,14 @@ import {
 $(function(){
     var theKeyword, theMode, theFieldA, theFieldB,dataCategory,category,internationalFlag,dateSort,lowerPrice,upperPrice;
     theKeyword=localStorage.getItem("keyWord");
+    theKeyword=localStorage.getItem("indexKeyWord");
     var typ=localStorage.getItem("pageType");
+    if(theKeyword){
+		$('.text_replace').show()
+		$('.text_replace span').text(theKeyword);
+	}
     localStorage.removeItem("keyWord");
+    localStorage.removeItem("indexKeyWord");
     localStorage.removeItem("pageType");
     loadDate();
     
@@ -224,6 +230,7 @@ function loadDate(pageNo) {
         };
         theFieldA = this.value;
         theFieldB = '999';
+        theKeyword='';
         loadDate();
     });
     $('#industryChildrenList').on('click', 'li', function () {
@@ -264,8 +271,11 @@ function loadDate(pageNo) {
             };
         };
     });
-
+	//点击行业分类
     $('#industryList li').click(function(){
+    	theKeyword="";
+    	$('.text_replace').hide();
+    	$('#search_on>input').val('');
 		$('.achievement_header ul li').eq(0).show();
 		var text_ind=$(this).find('span').text();		
 		$('.achievement_header ul li').eq(0).find('p').text(text_ind);
@@ -273,12 +283,14 @@ function loadDate(pageNo) {
      //点击搜索下面的字段快捷搜索
     $('.head_right ol li').click(function () {        	        
         theKeyword=$(this).text();
-        console.log(theFieldA)
         $('#technologyModeList li').eq(0).addClass('active').siblings().removeClass('active');
         $('#transferModeList li').eq(0).addClass('active').siblings().removeClass('active');
         $('.text_replace').show();
         $('.text_replace span').text(theKeyword);
         $('#search_on input').val(theKeyword);
+         $('.achievement_header ul li').eq(0).hide();
+        $('#industryList>li').removeClass("active");
+		$('#industryList>li:nth-child(1)').addClass("active");
         loadDate();       
     });
     //技术类型单选
@@ -394,7 +406,7 @@ function loadDate(pageNo) {
 			$('.searchs button').click();
 		}
 	});
-	$('.text_replace').hide()
+	//$('.text_replace').hide()
 	//	搜索功能关联关键字	
 	$('.searchs button').click(function(e){		
 		e.preventDefault();		
@@ -405,8 +417,11 @@ function loadDate(pageNo) {
 		}else{
 			$('.text_replace').show()
 		}
+		$('.achievement_header ul li').eq(0).hide();
+		$('#industryList>li').removeClass("active");
+		$('#industryList>li:nth-child(1)').addClass("active");
 	});
-	//点击行业分类		
+	//点击交易方式分类		
 	$('#transferModeList li').click(function(){	
 		$('.achievement_header ul li').eq(1).show();
 		$(this).addClass('active').siblings().removeClass('active');

+ 24 - 3
src/js/technologyTrading/demand.js

@@ -32,6 +32,10 @@ $(function(){
 	theKeyword=localStorage.getItem("keyWord");
 	theKeyword=localStorage.getItem("indexKeyWord");
 	var typ=localStorage.getItem("pageType");
+	if(theKeyword){
+		$('.text_replace').show()
+		$('.text_replace span').text(theKeyword);
+	}
 	localStorage.removeItem("keyWord");
 	localStorage.removeItem("indexKeyWord");
 	localStorage.removeItem("pageType");
@@ -193,10 +197,12 @@ $(function(){
             $('#industryChildrenList').empty();
             $('#industryChildrenList').append(industryChildrenArr.join(''));
         };
+        theKeyword='';
         theFieldA = this.value;
         theFieldB = '999';
         loadDate();
     });
+    
     $('#industryChildrenList').on('click', 'li', function () {
         $(this).siblings("li").removeClass("active");
         $(this).addClass("active");
@@ -209,10 +215,13 @@ $(function(){
         theMode = this.value;
         loadDate();
     });
+    //关键词搜索
     $('#btt_search').click(function () {
         theKeyword = $('#search_on input').val();
-        loadDate();
+        theFieldA=999;
+		loadDate();
     });
+    //点击分页,第几页
     $('.pagination').on('click', 'li', function (e) {
         e.preventDefault();
 		var texton=$("#search_on input").val();
@@ -263,7 +272,7 @@ $(function(){
 			$('.searchs button').click();			
 		}
 	});
-	$('.text_replace').hide()
+	//$('.text_replace').hide()
 	//	搜索功能关联关键字	
 	$('.searchs button').click(function(e){		
 		e.preventDefault();		
@@ -274,6 +283,9 @@ $(function(){
 		}else{
 			$('.text_replace').show()
 		}
+		$('.achievement_header ul li').eq(0).hide();
+		$('#industryList>li').removeClass("active");
+		$('#industryList>li:nth-child(1)').addClass("active");
 	})
 	//点击技术类型		
 	$('#technologyModeList li').click(function(){	
@@ -290,14 +302,20 @@ $(function(){
         $('.text_replace').show();
         $('.text_replace span').text(theKeyword);
         $('#search_on input').val(theKeyword);
+        $('.achievement_header ul li').eq(0).hide();
+        $('#industryList>li').removeClass("active");
+		$('#industryList>li:nth-child(1)').addClass("active");
         loadDate();
     });
     //点击行业分类
     $('#industryList li').click(function(){
     	theKeyword="";
+    	$('.text_replace').hide();
+    	$('#search_on>input').val('');
 		$('.achievement_header ul li').eq(0).show();
 		var text_ind=$(this).find('span').text();		
 		$('.achievement_header ul li').eq(0).find('p').text(text_ind);
+		
 	})
     //排序下拉选择
 	$('.head-left ul li p').click(function(){
@@ -311,19 +329,21 @@ $(function(){
 		$(this).parents('.time_select').siblings('p').find('span').text(txt);
 		$('.time_select').hide();		
 	});	
+	//发布时间排序
 	$('.timeSelect li').click(function(){
 		var timeTxt=$(this).attr('value');			
 		$('.head-left ul li:first-child').removeClass('active')
 		dateSort=timeTxt;
 		loadDate();
 	})
-	//价格
+	//价格选择
 	$('.inp_select input').keyup(function(){
 		var val_min=$(this).val();
 		if(val_min<0){
 			$(this).val('0')
 		}
 	})
+	//价格搜索
 	$('.inp_select button').click(function(){				
 		var minpri=$('.inp_select #minprice').val();
 		var maxpri=$('.inp_select #maxprice').val();					
@@ -331,6 +351,7 @@ $(function(){
 	    budgetCostUpper=maxpri;
 		loadDate();
 	})
+	//行业分类点击不限
 	$('#industryList li:first-child').click(function(){		 
 		theFieldA = $(this).attr('value');
         theFieldB = '999';

+ 1 - 1
src/js/thinkTank.js

@@ -16,7 +16,7 @@ import {
 $(function() {
 	//初始智者智政切换描点
 	let hash=window.location.hash
-	if(hash){
+	if(hash=="#zizone"){
 		$('.zone_right').addClass('actives').siblings().removeClass('actives')
 		$(".sanjiao").css({ left: "895px" });
 		$('.wiseman_list').show();

+ 4 - 0
src/js/thinkTank/policyList.js

@@ -14,6 +14,10 @@ $(function(){
     var thePageNo = 1,
     thePageLength = 1,
     pageSize = 6;
+    theKeyword=localStorage.getItem("indexKeyWord");
+    localStorage.removeItem("indexKeyWord");
+    $('#search_on input').val(theKeyword);
+    loadDate();
 	function loadDate(pageNo) {
 	    $.ajax({
 	        method: "get",

+ 214 - 0
template/indexNew.html

@@ -762,6 +762,220 @@
 			</div>
 		</div>
 		<div id="indexWord"></div>
+		<div id="bottom">
+			<div class="bottom">
+				<div class="bottom_text">
+					<div class="text_top">
+						<a href="#">关于公司/</a>
+						<a href="#">联系我们</a>
+						<p> Copyright &copy 2016-2017 科德 版权所有 湘ICP备15019731号
+							-2 技术支持:湖南阿凡提科技有限公司</p>
+					</div>
+					<div class="text_center">
+						<div class="cont_left">
+							<img src="../img/dizhi.jpg" alt=""/>
+							<p>湖南省长沙市营盘东路19号金山大厦</p>
+						</div>
+						<div class="cont_center">
+							<img src="../img/dianhua.jpg" alt=""/>
+							<p>合作电话:0731-89907207</p>
+							<p>400-8800-962八楼</p>
+						</div>
+						<div class="cont_rightapp">
+							<img src="../img/erweima_iphone.png" alt=""/>
+							<p>iPhone版</p>
+						</div>
+						<div class="cont_right android">
+							<img src="../img/erweima_android.jpg" alt=""/>
+							<p>Android版</p>
+						</div>
+						<div class="cont_right">
+							<img src="../img/erweima.jpg" alt=""/>
+							<p>微信公众号</p>
+						</div>					
+					</div>
+					<div class="text_bottom">
+						<p>友情链接</p>
+						<a href="http://www.hnst.gov.cn/" target="_blank">湖南省科技厅/</a>
+						<a href="http://www.cssti.cn/" target="_blank">长沙市科技局/</a>
+						<a href="http://www.cast.org.cn/" target="_blank">中国科学技术协会/</a>
+						<a href="http://www.chinatorch.gov.cn/" target="_blank">科技部火炬中心/</a>
+						<a href="http://www.nosta.gov.cn/web/index.aspx" target="_blank">国家科技成果奖励办/</a>
+						<a href="http://www.nast.org.cn/" target="_blank">国家科技成果网/</a>
+						<a href="http://www.hnast.org.cn/portal/comm/index.action" target="_blank">湖南省科学技术协会/</a>
+						<a href="http://www.hncgw.gov.cn/" target="_blank">湖南省科技成果转化公共服务平台/</a>
+						<a href="http://www.hnjxw.gov.cn/" target="_blank">湖南省经济信息化委员会/</a>
+						<a href="http://kyy.hnu.cn/" target="_blank">湖南大学科学技术研究院/</a>
+						<a href="http://www.gxst.gov.cn/gxkjt/" target="_blank">广西省科技厅/</a>
+						<a href="http://www.nmkjt.gov.cn/" target="_blank">内蒙古自治区科技厅/</a>
+						<a href="http://www.cshtz.gov.cn/" target="_blank">长沙市高新区管委会/</a>
+						<a href="http://www.jxas.ac.cn/" target="_blank">江西省科学院/</a>
+						<a href="http://www.cnic.cn/front/index.html#/cnicSite/home" target="_blank">中科院计算机网络信息中心/</a>
+						<a href="http://kxyjb.csu.edu.cn/" target="_blank">中南大学科学研究部/</a>
+						<a href="http://www.cast.org.cn/" target="_blank">中国科协创新创业服务中心/</a>
+						<a href="http://www.hbstd.gov.cn/" target="_blank">湖北省科技厅/</a>
+						<a href="http://www.gdstc.gov.cn/" target="_blank">广东省科技厅/</a>
+						<a href="http://www.hnkjt.gov.cn/" target="_blank">河南省科技厅/</a>
+						<a href="http://www.cbtm.gov.cn/" target="_blank">技术合同登记官网</a>
+					</div>
+				</div>
+			</div>	
+		</div>
+		<div class="pub_fix">
+			<span class="index_blur"></span>
+			<ul class="ret_top">
+				<li>
+					<a href="">
+						<img src="../img/index_fix0.png" alt="" />
+						<p>申请会员</p>
+					</a>
+				</li>
+				<!--<li>
+					<a href="">
+						<img src="../img/index_fix1.png" alt="" />
+						<p>发布需求</p>
+					</a>
+				</li>
+				<li>
+					<a href="">
+						<img src="../img/index_fix2.png" alt="" />
+						<p>发布技术</p>
+					</a>
+				</li>-->
+				<li>
+					<a onclick="_MEIQIA('showPanel')">
+						<img src="../img/index_fix3.png" alt="" />
+						<p>联系客服</p>
+					</a>
+				</li>
+				<!--<li>
+					<a href="" class="pendent_box">
+						<img src="../img/index_fix4.png" alt="" />
+						<p>返回顶部</p>
+					</a>
+				</li>-->
+			</ul>
+			<span class="index_orange"></span>
+		</div>
+		<!--登陆页面-->
+		<div class="login">
+			<div class="login_mian">
+				<div class="login_left">
+					<div class="login_ewm">
+						<img src="../img/Android.jpg" alt="二维码" />
+						<p>Android版</p>
+						<p>客户端</p>
+					</div>
+					<div class="login_ewm">
+						<img src="../img/iPhone.jpg" alt="二维码" />
+						<p>iPhone版</p>
+						<p>客户端</p>
+					</div>
+				</div>
+				<div class="login_right">
+					<h5>用户登陆<a href="">免费注册有好礼呦!!</a></h5>
+					<form  id="form_login">
+						<div class="login_uesr">
+							<label for="uesname"><img src="../img/login_use.png"/></label>
+							<input type="text" name="uesname" id="Lo_user" placeholder="用户名/邮箱/手机" />
+							<img src="../img/login_del.png" class="log_del"/>
+						</div>
+						<div class="login_pass">
+							<label for="pass"><img src="../img/login_password.png"/></label>
+							<input type="password" name="pass" id="Lo_pass" placeholder="请输入密码" />
+						</div>
+						<div class="login_check">
+							<label for="checks" class="lab_check">
+								<input type="checkbox" name="type" id="checks" />我是专家
+							</label>
+							<label for="checkst" class="lab_checkno">
+								<input type="checkbox" name="type" id="checkst" />我是企业
+							</label>
+							<a href="">忘记密码?</a>
+						</div>
+						<input type="submit" value="登 陆" class="login_submit"/>
+					</form>
+					<img src="../img/login_hua.png" alt="" class="login_hua"/>
+					<img src="../img/login_shadow.png" alt="阴影效果" class="login_shadow"/>
+					<img src="../img/login_close.png" alt="" class="login_close"/>
+				</div>
+			</div>
+		</div>
+		<div id="forget">
+			<div class="forget">
+				<form id="forget_form">
+					<div class="forget_top">
+						<a href="">忘记密码?</a>
+						<div class="login_check">
+							<label for="forget_checks" class="lab_check">
+								<input type="checkbox" name="type" id="forget_checks" />专家登录
+							</label>
+							<label for="forget_checkst" class="lab_checkno">
+								<input type="checkbox" name="type" id="forget_checkst" />企业登录
+							</label>
+						</div>
+					</div>
+					<div class="forget_center">
+						<div class="phone">
+							<label for="forget_phone">
+								手机号码:<input type="text" name="type" id="forget_phone" placeholder="请输入您的手机号码..."/>
+							</label>
+						</div>
+						<div  class="yanzheng">
+							<label for="forget_yanzheng">
+								图形验证码:<input type="text" name="type" id="forget_yanzheng" />
+							</label>
+							<div class="yanzhengma_cont_">
+								<img th:src="${basePath+'/open/getVCode'}"/>
+							</div>
+						</div>
+						<div class="cellcode_">
+							<div>
+								验证码:<input type="text" name="cellCode" placeholder="手机验证码" id="photo_n"/>
+							</div>
+							<input type="button" id="photo_m" value="获取验证码" disabled/>
+						</div>
+						<div class="fastener">
+							<input type="submit" class="forget_sub" value="确认"/>
+							<div class="fastener_right">
+								取消
+							</div>
+						</div>
+					</div>
+				</form>
+				<img src="../img/login_close.png" alt="" class="login_close"/>
+			</div>
+		</div>
+		<div id="new_password">
+			<div class="new_password">
+				<form id="new_password_form">
+					<div class="password_top">
+						<h4>设置新密码</h4>
+						<span>密码长度为6-20个字符,区分大小写</span>
+					</div>
+					<div class="password_center">
+						<div >
+							<label for="new_pass">
+								新密码:<input type="text" name="type" id="new_pass" placeholder="请输入您的新密码..."/>
+							</label>
+						</div>
+						<div >
+							<label for="new_pass_again">
+								确认密码:<input type="text" name="type" id="new_pass_again" placeholder="请确认您的密码..."/>
+							</label>
+						</div>
+						<div class="fastener">
+							<input type="submit" class="new_password_sub" value="确认"/>
+							<div class="fastener_right">
+								取消
+							</div>
+						</div>
+					</div>
+				</form>
+				<img src="../img/login_close.png" alt="" class="login_close"/>
+			</div>
+		</div>
+		<div class="smg"><input type="text" name="msg" value="111" id="msg"/></div>
 	</body>
 	<!--<script type="text/javascript" src="../src/js/jquery-2.1.0.js"></script>
 	<script type="text/javascript" src="../src/js/indexNew.js"></script>-->