|
|
|
|
389
|
}, "get", search.oExeprt);
|
389
|
}, "get", search.oExeprt);
|
390
|
})
|
390
|
})
|
391
|
mui(".fixbtnNew").on("tap", "li", function() {
|
391
|
mui(".fixbtnNew").on("tap", "li", function() {
|
|
|
392
|
var $this=this
|
|
|
393
|
setTimeout(function(){
|
|
|
394
|
|
|
|
395
|
|
392
|
inputValue = document.getElementById("searchval").value;
|
396
|
inputValue = document.getElementById("searchval").value;
|
393
|
this.classList.add("liactive");
|
|
|
394
|
for(var i = 0; i < siblings(this).length; i++) {
|
|
|
395
|
siblings(this)[i].classList.remove("liactive")
|
|
|
|
|
397
|
$this.classList.add("liactive");
|
|
|
398
|
for(var i = 0; i < siblings($this).length; i++) {
|
|
|
399
|
siblings($this)[i].classList.remove("liactive")
|
396
|
}
|
400
|
}
|
397
|
flag = 1;
|
401
|
flag = 1;
|
398
|
pageNo = 1;
|
402
|
pageNo = 1;
|
399
|
mui('#pullrefresh').pullRefresh().enablePullupToRefresh();
|
403
|
mui('#pullrefresh').pullRefresh().enablePullupToRefresh();
|
400
|
if(this.innerHTML == "找资源") {
|
|
|
|
|
404
|
if($this.innerHTML == "找资源") {
|
401
|
document.getElementById("sele").style.display = "none";
|
405
|
document.getElementById("sele").style.display = "none";
|
402
|
document.getElementById("searB").classList.remove("searchboxNewT");
|
406
|
document.getElementById("searB").classList.remove("searchboxNewT");
|
403
|
qiFlag = 2;
|
407
|
qiFlag = 2;
|
|
|
|
|
406
|
"pageSize": pageSize,
|
410
|
"pageSize": pageSize,
|
407
|
"pageNo": pageNo
|
411
|
"pageNo": pageNo
|
408
|
}, "get", search.resource);
|
412
|
}, "get", search.resource);
|
409
|
} else if(this.innerHTML == "找专家") {
|
|
|
|
|
413
|
} else if($this.innerHTML == "找专家") {
|
410
|
document.getElementById("sele").style.display = "block";
|
414
|
document.getElementById("sele").style.display = "block";
|
411
|
document.getElementById("searB").classList.add("searchboxNewT");
|
415
|
document.getElementById("searB").classList.add("searchboxNewT");
|
412
|
qiFlag = 1;
|
416
|
qiFlag = 1;
|
|
|
|
|
419
|
"pageSize": pageSize,
|
423
|
"pageSize": pageSize,
|
420
|
"pageNo": pageNo
|
424
|
"pageNo": pageNo
|
421
|
}, "get", search.oExeprt);
|
425
|
}, "get", search.oExeprt);
|
422
|
} else if(this.innerHTML == "找文章") {
|
|
|
|
|
426
|
} else if($this.innerHTML == "找文章") {
|
423
|
document.getElementById("sele").style.display = "none";
|
427
|
document.getElementById("sele").style.display = "none";
|
424
|
document.getElementById("searB").classList.remove("searchboxNewT");
|
428
|
document.getElementById("searB").classList.remove("searchboxNewT");
|
425
|
qiFlag = 3;
|
429
|
qiFlag = 3;
|
|
|
|
|
429
|
"pageNo": pageNo
|
433
|
"pageNo": pageNo
|
430
|
}, "get", search.article);
|
434
|
}, "get", search.article);
|
431
|
}
|
435
|
}
|
|
|
436
|
},300)
|
432
|
})
|
437
|
})
|
433
|
|
438
|
|
434
|
function siblings(elm) {
|
439
|
function siblings(elm) {
|