Browse Source

搜索价格问题

zhupeng 3 years ago
parent
commit
7a826795b0
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages/search/search.vue

+ 5 - 1
pages/search/search.vue

@@ -216,6 +216,7 @@
 				})
 			},
 			getChargingStationData(pos){
+				console.log('getChargingStationData')
 						//return;
 				if(pos == null)
 					return ;		 
@@ -269,7 +270,7 @@
 									id: i,									
 									distance:0.9,
 									time:9,
-									park: '以实际费用为准',
+									park: '2小时免费停车',
 //									longitude: 112.28541 + i * 0.001,
 //									latitude: 30.308354 + i * 0.01
 									};
@@ -277,6 +278,9 @@
 							obj.id = items[i].id;
 						else
 							continue;
+						if(items[i].costPrice!=null)
+							obj.price = items[i].costPrice;
+							
 						if(items[i].name!=null)
 							obj.name = items[i].name;
 						if(items[i].address!=null)