zaijin пре 3 година
родитељ
комит
cc9c9aac1e
1 измењених фајлова са 14 додато и 15 уклоњено
  1. 14 15
      pages/parkingLists/parkingLists.vue

+ 14 - 15
pages/parkingLists/parkingLists.vue

@@ -120,18 +120,18 @@
 					longitude: 106.636453,
 					longitude: 106.636453,
 				},
 				},
 				covers: [
 				covers: [
-					{
-						latitude: 26.597864,
-						longitude: 106.72947,
-						id: '0',
-						iconPath: require('./../../static/img/parking-icon.png')
-					},
-					{
-						latitude: 26.497864,
-						longitude: 106.72947,
-						id: '1',
-						iconPath: require('./../../static/img/parking-icon.png')
-					}
+					// {
+					// 	latitude: 26.597864,
+					// 	longitude: 106.72947,
+					// 	id: '0',
+					// 	iconPath: require('./../../static/img/parking-icon.png')
+					// },
+					// {
+					// 	latitude: 26.497864,
+					// 	longitude: 106.72947,
+					// 	id: '1',
+					// 	iconPath: require('./../../static/img/parking-icon.png')
+					// }
 				],
 				],
 				// 轮播选中
 				// 轮播选中
 				swiperCurrent: 0,
 				swiperCurrent: 0,
@@ -180,7 +180,7 @@
 						that.currentPosition.latitude = res.latitude
 						that.currentPosition.latitude = res.latitude
 						that.currentPosition.longitude = res.longitude
 						that.currentPosition.longitude = res.longitude
 						console.log(that.currentPosition)
 						console.log(that.currentPosition)
-						// that.getNearRoadsl()
+						that.getNearRoadsl()
 					},
 					},
 					fail: function(res){
 					fail: function(res){
 						console.log("请求错误:", res)
 						console.log("请求错误:", res)
@@ -210,7 +210,7 @@
 							let marker = {
 							let marker = {
 								latitude: item.latitude,
 								latitude: item.latitude,
 								longitude:item.longitude,
 								longitude:item.longitude,
-								id: '1',
+								// id: '1',
 								iconPath: require('./../../static/img/parking-icon.png')
 								iconPath: require('./../../static/img/parking-icon.png')
 							}
 							}
 							this.covers.push(marker);
 							this.covers.push(marker);
@@ -229,7 +229,6 @@
 						title: err.msg,
 						title: err.msg,
 						type: 'error',
 						type: 'error',
 					});
 					});
-					console.log('getNearRoadsl ',err)
 				});
 				});
 			},
 			},
 			/**
 			/**