Selaa lähdekoodia

样式修改。

李广朋 9 vuotta sitten
vanhempi
commit
fe67a1031a
1 muutettua tiedostoa jossa 27 lisäystä ja 26 poistoa
  1. 27 26
      core/src/web/templates/member/incmobile/list.html

+ 27 - 26
core/src/web/templates/member/incmobile/list.html

@@ -18,6 +18,7 @@
 			<input type="hidden" name="city" id="citys" value="{{.T.querymap.city}}">
 			<input type="hidden" name="cityNo" id="" value="1">
 			<input type="hidden" name="i_mingpian" id="i_mingpian" value="" />
+			<input type="hidden" name="mingpian" id="mingpian" value="" />
 			<input type="hidden" name="c_hfl" id="c_hfl" value='{{.T.querymap.c_hfl}}'>
 			<input type="hidden" name="c_zb" id="c_zb" value='{{.T.querymap.c_zb}}'>
 			<a class="searchbtn1" id="camera"><b class="glyphicon glyphicon-camera"></b></a>
@@ -215,34 +216,34 @@
 			});
 		} 
 		//获取企业名称
-		function getmpname(serverId){
-			$.ajax({ 
-		        type: 'post', 
-		        url: '/wx/search/enterprise/mingpian', 
-				data:{serverId:serverId},
-		        cache: false, 
-		        error: function(){return false;}, 
-		        success:function(obj){
-					if(obj["on"]=="y"){
-						if(obj["names"]==""){
-							alert("未匹配的对应的名称");
-						}else{
-							if (obj["names"].length>0){
-								$("#query").val(obj["names"][0]);
-								$("#i_mingpian").val("1");
-								$("#mingpian").val(obj.join(","));
-								$("#search").submit();	
-							}else{
-								alert("没有成功识别!");
-							}		 	
-						}
+	function getmpname(serverId){
+		$.ajax({ 
+	        type: 'post', 
+	        url: '/wx/search/enterprise/mingpian', 
+			data:{serverId:serverId},
+	        cache: false, 
+	        error: function(){return false;}, 
+	        success:function(obj){
+				if(obj["on"]=="y"){
+					if(obj["names"]==""){
+						alert("未匹配的对应的名称");
 					}else{
-						alert("名片识别请求过多!请稍后再试,或者进入查询界面输入文字查询。");
+						if (obj["names"].length>0){
+							$("#query").val(obj["names"][0]);
+							$("#i_mingpian").val("1");
+							$("#mingpian").val(obj.join(","));
+							$("#search").submit();	
+						}else{
+							alert("没有成功识别!");
+						}		 	
 					}
-		        } 
-		    }); 
-		}
-
+				}else{
+					alert("名片识别请求过多!请稍后再试,或者进入查询界面输入文字查询。");
+				}
+	        } 
+	    }); 
+	}
+	
 		</script>
 
  </body>