Browse Source

拼写错误

zhengkaixin 1 year ago
parent
commit
92d43c6f2e

+ 1 - 1
config/.env.dev.js

@@ -4,7 +4,7 @@ const UNI_APP = {
 	//
 	//BASE_URL: 'https://charging.xiaoxinda.com/charging-station-test/',
 
-	//BASE_URL: 'http://192.168.77.162:8081/charging-station/' ,
+	BASE_URL: 'http://192.168.77.162:8081/charging-station/' ,
 	//PARK_URL: 'http://192.168.11.120:8082/charging-parking/' ,
 	PARK_URL: 'https://51team.xiaoxinda.com/charging-parking/' ,
 	XPGJ_URL: 'https://xpgjapi.xiaoxinda.com/' ,

+ 1 - 1
pages/discountCard/productDetails.vue

@@ -704,7 +704,7 @@
 					longitude: this.longitude,
 					findType: "1",
 					platformType:'1',
-					raidus: 5,
+					radius: 5,
 					pageIndex: 1,
 					pageSize: 999
 				};

+ 2 - 2
pages/search/search.vue

@@ -287,7 +287,7 @@
 				var data = {
 					pageIndex: this.pageIndex,
 					pageSize:20,
-					raidus:200,
+					radius:200,
 					 stationName:this.keyword,
 					 findType: 0,
 					
@@ -299,7 +299,7 @@
 				if (this.carhelp.getPersonInfo()) {
 						data.openId=this.carhelp.getOpenId()
 				}
-				data.raidus=200
+				data.radius=200
 				API.getChargingStationData(data).then((response) => {
 					if (bl) {
 						this.stationslist = [];

+ 7 - 7
pages/searchPile/searchPile.vue

@@ -23,7 +23,7 @@
 						<view
 							style=" min-width: 180rpx;   max-width: 200rpx;margin-left:20rpx;margin-right:10rpx;flex:1; ">
 
-							<uni-combox class='font2' ref="raidus" :border="false" v-model="raidus"
+							<uni-combox class='font2' ref="radius" :border="false" v-model="radius"
 								:candidates="radiuses" @updateModel='updateRadius'
 								@updateSelector="updateTypeSelector('0')"></uni-combox>
 						</view>
@@ -606,7 +606,7 @@ import {
 				},
 
 				area: '荆州市',
-				raidus: '10公里',
+				radius: '10公里',
 				type: '全部',
 				stationType: '全部',
 				longitude: '',
@@ -648,7 +648,7 @@ import {
 			}
 			this.$nextTick(() => {
 				this.type = this.info.obc_type[this.preference.obc_type_index].text;
-				this.raidus = this.info.miles_type[this.preference.miles_index].text;
+				this.radius = this.info.miles_type[this.preference.miles_index].text;
 				this.stationType = this.info.obc_stationType[this.preference.obc_stationType_index].text;
 
 
@@ -966,7 +966,7 @@ import {
 				}
 
 				this.type = this.info.obc_type[this.preference.obc_type_index].text;
-				this.raidus = this.info.miles_type[this.preference.miles_index].text;
+				this.radius = this.info.miles_type[this.preference.miles_index].text;
 				this.stationType = this.info.obc_stationType[this.preference.obc_stationType_index].text;
 
 				if (this.preference.save_preference) {
@@ -1039,8 +1039,8 @@ import {
 				data1.type = this.info.obc_type[this.preference.obc_type_index].value;
 				
 				if (this.info.miles_type[this.preference.miles_index].distance != null){
-					data1.raidus = this.info.miles_type[this.preference.miles_index].distance.toString();
-					this.tagBtnAcList.push(data1.raidus+"公里")
+					data1.radius = this.info.miles_type[this.preference.miles_index].distance.toString();
+					this.tagBtnAcList.push(data1.radius+"公里")
 				}
 				
 				if(data1.type){
@@ -1153,7 +1153,7 @@ import {
 			},
 			updateTypeSelector(val) {
 
-				var sz = ["raidus", "type", 'city']
+				var sz = ["radius", "type", 'city']
 				for (var i in sz) {
 					if (i == val && val != '') {