YZM 1 year ago
parent
commit
9bdae4b739
1 changed files with 0 additions and 14 deletions
  1. 0 14
      pages/dapei/index.vue

+ 0 - 14
pages/dapei/index.vue

@@ -122,12 +122,10 @@ export default {
 				type: 'wgs84',
 				geocode: true,
 				success: (res) => {
-					console.log("获取经纬度成功");
 					this.latitude = res.latitude;
 					this.longitude = res.longitude;
 				},
 				fail: () => {
-					console.log("获取经纬度失败");
 				},
 				complete: () => {
 					// 解析地址
@@ -137,8 +135,6 @@ export default {
 							longitude: this.longitude
 						},
 						success: function(res) {
-							console.log("解析地址成功");
-							console.log(res);
 							// 省
 							let province = res.result.ad_info.province;
 							// 市
@@ -146,9 +142,6 @@ export default {
 							//区
 							let district=res.result.ad_info.district;
 							that.city=city;
-							console.log(province);
-							console.log(city);
-							console.log(district);
 						},
 						fail: function(res) {
 							// uni.showToast({
@@ -156,10 +149,8 @@ export default {
 							// 	duration: 2000,
 							// 	icon: "none"
 							// })
-							console.log(res);
 						},
 						complete: function(res) {
-							console.log(res);
 						}
 					})
 				}
@@ -211,7 +202,6 @@ export default {
 							}
 						}
 					}
-					console.log(that.alltouList)
 				}else{
 					that.alltouList[0]={data:0}
 					that.alltouList[1]={data:0}
@@ -242,7 +232,6 @@ export default {
 		},
 		gengmore() {
 			this.page=this.page+1;
-			console.log(111)
 			this.getKxuan();
 		},
 		getKxuan(){
@@ -274,7 +263,6 @@ export default {
 			// 	type: 'wgs84',
 			// 	geocode:true,//设置该参数为true可直接获取经纬度及城市信息
 			// 	success: function (res) {
-			// 		console.log(res)
 			// 		// that.addrDel = res;
 			// 	},
 			// 	fail: function () {
@@ -303,8 +291,6 @@ export default {
 			});
 		},
 		bianji(type,data){
-			console.log(type)
-			console.log(data)
 			if(data.makeAppointmentCollocation){
 				uni.navigateTo({
 					url: "/pages/bianjigh/index?type="+type+'&id='+data.id+"&old="+data.collocation_id,