| 
					
				 | 
			
			
				@@ -23,7 +23,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		        <view class="carinfoBoxTopCont"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		          <view class="carinfoBoxTopContTop"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		            <view class="carInfoplateNumber">{{carInfo.plateNumber}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            <view class="carTnfomilage">{{carInfo.milage}}km</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            <view class="carTnfomilage">{{carInfo.milage?carInfo.milage:0}}km</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		          </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		          <view class="carInfocarModel" v-if="carInfo.carModel">{{carInfo.carModel}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		          <view class="carInfocarModel" v-else>暂无</view> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -198,9 +198,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				wxOpenData:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				code:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				carInfo:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					plateNumber:11, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					milage:'3222', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					carModel:'奥迪', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -211,17 +208,23 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			console.log(ext) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			this.shopId=ext.shopId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			this.url=ext.url; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			uni.setStorage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				key: 'extdata', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				data: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					shopId:'E37BB296-5A08-4534-859D-B351BA611AF9', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				 success: function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				     that.uniLogin() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// uni.setStorage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	key: 'extdata', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	data: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 		shopId:'E37BB296-5A08-4534-859D-B351BA611AF9', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	 success: function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	     that.uniLogin() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			});  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			this.uniLogin() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// });  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.userInfo = uni.getStorageSync("userInfo"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			if(this.userInfo){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.getCarList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.uniLogin() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			information(){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -317,12 +320,20 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							key: 'userInfo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							data: data.loginInfo.openUser, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							 success: function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							    // that.uniLogin() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							     that.getCarList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						});  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				 		 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				  }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 getCarList(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				 this.$http('opencarOwnerHome/queryCarInfoList', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				  },'GET').then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				 	this.carInfo=res.data[0] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				 					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				  }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			  
			 |