| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -75,6 +75,7 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								}, | 
					 | 
					 | 
					 | 
								}, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								onShareAppMessage() { | 
					 | 
					 | 
					 | 
								onShareAppMessage() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									wx.onAppRoute(() => { | 
					 | 
					 | 
					 | 
									wx.onAppRoute(() => { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
										let white = ['BagStation/pages/stationDetail/stationDetail'] | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										// console.log('当前页面路由发生变化 触发该事件onShareAppMessage') | 
					 | 
					 | 
					 | 
										// console.log('当前页面路由发生变化 触发该事件onShareAppMessage') | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										const pages = getCurrentPages() //获取加载的页面 | 
					 | 
					 | 
					 | 
										const pages = getCurrentPages() //获取加载的页面 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										const view = pages[pages.length - 1] //获取当前页面的对象 | 
					 | 
					 | 
					 | 
										const view = pages[pages.length - 1] //获取当前页面的对象 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -94,11 +95,14 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										console.log(view.route) | 
					 | 
					 | 
					 | 
										console.log(view.route) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										clearTimeout(loginTimer) | 
					 | 
					 | 
					 | 
										clearTimeout(loginTimer) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										clearTimeout(onlineTimer) | 
					 | 
					 | 
					 | 
										clearTimeout(onlineTimer) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
										 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										if (view.route != 'pages/index/startPage/startPage' && view.route.indexOf('BagAuth') == -1) { | 
					 | 
					 | 
					 | 
										if (view.route != 'pages/index/startPage/startPage' && view.route.indexOf('BagAuth') == -1) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											const token = uni.getStorageSync('Authorization') | 
					 | 
					 | 
					 | 
											const token = uni.getStorageSync('Authorization') | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											const openid = uni.getStorageSync('openid') | 
					 | 
					 | 
					 | 
											const openid = uni.getStorageSync('openid') | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											if (token && openid) { | 
					 | 
					 | 
					 | 
											if (token && openid) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
												if(!white.includes(view.route)){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
													this.getAmount() | 
					 | 
					 | 
					 | 
													this.getAmount() | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
												} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
												onlineTimer = setTimeout(() => { | 
					 | 
					 | 
					 | 
												onlineTimer = setTimeout(() => { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
													if (this.loginStatus == 'offline') { | 
					 | 
					 | 
					 | 
													if (this.loginStatus == 'offline') { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
														uni.clearStorageSync() | 
					 | 
					 | 
					 | 
														uni.clearStorageSync() | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |