zhangxinlei1996 6 年之前
父節點
當前提交
6f94cd475a
共有 2 個文件被更改,包括 8 次插入3 次删除
  1. 7 2
      src/jfw/modules/app/src/web/staticres/jyapp/js/wxEntsesearch.js
  2. 1 1
      src/web/staticres/js/common.js

+ 7 - 2
src/jfw/modules/app/src/web/staticres/jyapp/js/wxEntsesearch.js

@@ -35,7 +35,12 @@ var EntSearch = {
 		setTimeout(function(){
 			$("#entsearchPage").removeClass("absolute-hide");
 		},0);
-		JyObj.hiddenBottom("0");
+		try{
+			JyObj.hiddenBottom("0");
+		}catch(err){
+			//alert(err)
+		}
+
 		$("body").css("background-color","#fff");
 		if(isReload){
 			this.resetPage(isFocus);
@@ -646,7 +651,7 @@ var EntSearch = {
     //企业推荐列表
     getRecList: function (entName_key) {
         $("#entsearchPage #recList").html("");
-        $.post("/jylab/entsesearch/recList",{entName:entName_key},function(r){
+        $.post("/jyapp/followent/recList",{entName:entName_key},function(r){
             if(r){
                 if(typeof (r.recList)!="undefined"){
                     var recList = r.recList;

+ 1 - 1
src/web/staticres/js/common.js

@@ -94,7 +94,7 @@ var EasyAlert = {
 var EasyPopup = function(id){
 	this.id = id;
 	var thisClass = this;
-	document.getElementById(id).onclick = function(e){
+	document.getElementById(id).ontap = function(e){
 		if(e.target.id == id){
 			thisClass.hide();
 		}