|  |  | @@ -45,18 +45,18 @@ Page({ | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | gotoetcp:function(){ | 
		
	
		
			
			|  |  |  | /* | 
		
	
		
			
			|  |  |  | wx.navigateToMiniProgram({ | 
		
	
		
			
			|  |  |  | appId:'wx192b7d2e8dcbefd0', | 
		
	
		
			
			|  |  |  | extraData: this.data.extraData, | 
		
	
		
			
			|  |  |  | envVersion:'release' | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | /* | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | wx.navigateToMiniProgram({ | 
		
	
		
			
			|  |  |  | appId:'wxc07f9d67923d676d', | 
		
	
		
			
			|  |  |  | extraData: this.data.extraData, | 
		
	
		
			
			|  |  |  | envVersion:'release' | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | showquan: function() { | 
		
	
		
			
			|  |  |  | wx.navigateTo({ | 
		
	
	
		
			
				|  |  | @@ -119,13 +119,13 @@ Page({ | 
		
	
		
			
			|  |  |  | title: weapNote.carpage.title | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | // 登录 | 
		
	
		
			
			|  |  |  | var scene = decodeURIComponent(options.scene); | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | scene: scene | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | app.getLocation(); | 
		
	
		
			
			|  |  |  | // 登录 | 
		
	
		
			
			|  |  |  | var scene = decodeURIComponent(options.scene); | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | scene: scene | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | if (app.globalData.token){}else{ | 
		
	
		
			
			|  |  |  | app.getLocation(); | 
		
	
		
			
			|  |  |  | that.userLogin() | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }, | 
		
	
	
		
			
				|  |  | @@ -377,44 +377,6 @@ Page({ | 
		
	
		
			
			|  |  |  | app.parkInitCallback(app.globalData.token); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | /** | 
		
	
		
			
			|  |  |  | * 绑定车牌 | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | // bindCar: function(carNum) { | 
		
	
		
			
			|  |  |  | //   var that = this; | 
		
	
		
			
			|  |  |  | //   // ETCP | 
		
	
		
			
			|  |  |  | //   var etcpData = { | 
		
	
		
			
			|  |  |  | //     etcpToken: app.globalData.etcpToken, | 
		
	
		
			
			|  |  |  | //     carNumber: carNum | 
		
	
		
			
			|  |  |  | //   }; | 
		
	
		
			
			|  |  |  | //   var tjdData = { | 
		
	
		
			
			|  |  |  | //     carNumber: carNum | 
		
	
		
			
			|  |  |  | //   }; | 
		
	
		
			
			|  |  |  | //   var postData = app.globalData.parkVendor == 1 ? etcpData : tjdData; | 
		
	
		
			
			|  |  |  | //   Http.post({ | 
		
	
		
			
			|  |  |  | //       url: config.api.bindCar, | 
		
	
		
			
			|  |  |  | //       data: postData | 
		
	
		
			
			|  |  |  | //     }) | 
		
	
		
			
			|  |  |  | //     .then(res => { | 
		
	
		
			
			|  |  |  | //       console.log(res); | 
		
	
		
			
			|  |  |  | //       // that.initUsrCarList(); | 
		
	
		
			
			|  |  |  | //       wx.showModal({ | 
		
	
		
			
			|  |  |  | //         title: "提示", | 
		
	
		
			
			|  |  |  | //         showCancel: false, | 
		
	
		
			
			|  |  |  | //         content: "绑车牌成功!", | 
		
	
		
			
			|  |  |  | //         success: function() {} | 
		
	
		
			
			|  |  |  | //       }); | 
		
	
		
			
			|  |  |  | //     }) | 
		
	
		
			
			|  |  |  | //     .catch(error => { | 
		
	
		
			
			|  |  |  | //       console.log(error); | 
		
	
		
			
			|  |  |  | //       wx.showModal({ | 
		
	
		
			
			|  |  |  | //         title: "提示", | 
		
	
		
			
			|  |  |  | //         showCancel: false, | 
		
	
		
			
			|  |  |  | //         content: error.message, | 
		
	
		
			
			|  |  |  | //         success: function() {} | 
		
	
		
			
			|  |  |  | //       }); | 
		
	
		
			
			|  |  |  | //     }); | 
		
	
		
			
			|  |  |  | // }, | 
		
	
		
			
			|  |  |  |  | 
		
	
		
			
			|  |  |  | bindCar: function (carNum) { | 
		
	
		
			
			|  |  |  | var that = this; | 
		
	
	
		
			
				|  |  | 
 |