luyanan 7 years ago
parent
commit
939997260f
2 changed files with 3 additions and 7 deletions
  1. 0 2
      js/searchNew.js
  2. 3 5
      js/search_h5.js

+ 0 - 2
js/searchNew.js

@ -191,7 +191,6 @@ $(function() {
191 191
		},
192 192
		expertBox=function(){
193 193
			var  subjectVal= $("#academicField li.filterCurrent").text();
194
			keyt=$.trim($(".searchsome").val());
195 194
			if(subjectVal=="不限"){
196 195
				subject = "";
197 196
			}else{
@ -842,7 +841,6 @@ $(function() {
842 841
			})
843 842
			$(".filterdiv.choosediv").on("click","li",function(){//tab切换
844 843
				var sortN=$(this).attr("data-id");
845
				keyt=$.trim($(".searchsome").val());
846 844
				dataO = {
847 845
					proSortFirst:"",
848 846
					proStarLevel: "",

+ 3 - 5
js/search_h5.js

@ -117,7 +117,7 @@ $(function() {
117 117
            }else if(mySwiper.translate >= 0 && mySwiper.translate < 50){
118 118

119 119
            }
120
            return false;
120
            //return false;
121 121
		}
122 122
	});
123 123
	var mySwiper2 = new Swiper('.swiper-container2',{//tabSwiper
@ -224,7 +224,6 @@ $(function() {
224 224
			})
225 225
		},
226 226
		expertBox=function(){
227
			keyt=document.getElementById("searchval").value
228 227
			var  subjectVal= $("#subject li.filterCurrent").text();
229 228
			if(subjectVal=="不限"){
230 229
				subject = "";
@ -747,9 +746,8 @@ $(function() {
747 746
			})
748 747
		},
749 748
		clearToFun=function(sortN){
750
			if(objSort[sortN].loadFlag){
751
				$(objSort[sortN].conbox).html("");
752
			}
749
			objSort[sortN].loadFlag=true
750
			$(objSort[sortN].conbox).html("");
753 751
			$('.w').css('transform', 'translate3d(0px, 0px, 0px)')
754 752
			$('.swiper-container2 .swiper-slide-active').css('height','auto').siblings('.swiper-slide').css('height','0px');
755 753
			mySwiper.update();