|
@@ -15,7 +15,7 @@ import {
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
- var theKeyword, theMode, theFieldA, theFieldB,dataCategory,category,dateSort,lowerPrice,upperPrice;
|
|
|
+ var theKeyword, theMode, theFieldA, theFieldB,dataCategory,category,internationalFlag,dateSort,lowerPrice,upperPrice;
|
|
|
theKeyword=localStorage.getItem("keyWord");
|
|
|
var typ=localStorage.getItem("pageType");
|
|
|
localStorage.removeItem("keyWord");
|
|
@@ -59,7 +59,8 @@ function loadDate(pageNo) {
|
|
|
category:category != 999 ? category : undefined,
|
|
|
dateSort:dateSort,
|
|
|
lowerPrice:lowerPrice,
|
|
|
- upperPrice:upperPrice
|
|
|
+ upperPrice:upperPrice,
|
|
|
+ internationalFlag:internationalFlag != 999 ? internationalFlag : undefined,
|
|
|
},
|
|
|
success: function (data) {
|
|
|
var theArr = [];
|
|
@@ -274,7 +275,7 @@ function loadDate(pageNo) {
|
|
|
$('#search_on input').val(theKeyword);
|
|
|
loadDate();
|
|
|
});
|
|
|
- //单选
|
|
|
+ //技术类型单选
|
|
|
$('#patent').prop('checked',false);
|
|
|
$('#selectAct li:first-child').click(function(){
|
|
|
$(this).addClass('active');
|
|
@@ -305,7 +306,36 @@ function loadDate(pageNo) {
|
|
|
dataCategory=null;
|
|
|
loadDate();
|
|
|
})
|
|
|
-
|
|
|
+ //是否国际单选
|
|
|
+ $('#isInt').prop('checked',false);
|
|
|
+ $('#selectInt li:first-child').click(function(){
|
|
|
+ $(this).addClass('active');
|
|
|
+ $('#isInt').prop('checked',false);
|
|
|
+ $('#noInt').prop('checked',false);
|
|
|
+ $('#noInt,#isInt').parent().addClass('demand').removeClass('patent');
|
|
|
+ category=null;
|
|
|
+ dataCategory=null;
|
|
|
+ internationalFlag=null;
|
|
|
+ loadDate();
|
|
|
+ })
|
|
|
+ $('#isInt').click(function(){
|
|
|
+ $('#selectInt li').eq(0).removeClass('active')
|
|
|
+ $(this).prop('checked',true);
|
|
|
+ $(this).parent().addClass('patent').removeClass('demand');
|
|
|
+ $('#noInt').attr('checked',false);
|
|
|
+ $('#noInt').parent().addClass('demand').removeClass('patent');
|
|
|
+ internationalFlag=1;
|
|
|
+ loadDate();
|
|
|
+ })
|
|
|
+ $('#noInt').click(function(){
|
|
|
+ $('#selectInt li').eq(0).removeClass('active')
|
|
|
+ $(this).prop('checked',true);
|
|
|
+ $(this).parent().addClass('patent').removeClass('demand');
|
|
|
+ $('#isInt').attr('checked',false);
|
|
|
+ $('#isInt').parent().addClass('demand').removeClass('patent');
|
|
|
+ internationalFlag=0;
|
|
|
+ loadDate();
|
|
|
+ })
|
|
|
//排序下拉选择
|
|
|
$('.head-left ul li p').click(function(){
|
|
|
$(this).siblings().slideToggle(300);
|