| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  | <script> | 
					
						
							| 
									
										
										
										
											2025-04-19 11:52:43 +08:00
										 |  |  | import { setToken } from '@/config/auth.js' | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  | export default { | 
					
						
							| 
									
										
										
										
											2025-04-19 11:52:43 +08:00
										 |  |  |   onLaunch: function (options) { | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     // 分享注册
 | 
					
						
							| 
									
										
										
										
											2025-04-19 11:52:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     if (options.query?.token) { | 
					
						
							|  |  |  |       setToken(options.query?.token) | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     const whiteList = [ | 
					
						
							| 
									
										
										
										
											2025-07-22 09:12:50 +08:00
										 |  |  |       'pages/shareRegist/index', | 
					
						
							| 
									
										
										
										
											2025-07-22 15:28:02 +08:00
										 |  |  |       'pages/shareRegist/success', | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |       'pages/login/index', | 
					
						
							| 
									
										
										
										
											2025-07-22 15:28:02 +08:00
										 |  |  |       'pages/pay/success', | 
					
						
							| 
									
										
										
										
											2025-04-07 18:00:26 +08:00
										 |  |  |       // 'pages/wechatPay/bfPay/',
 | 
					
						
							|  |  |  |       // 'pages/wechatPay/hfPay/',
 | 
					
						
							| 
									
										
										
										
											2025-07-22 09:12:50 +08:00
										 |  |  |       'pages/shareArea/hiList', | 
					
						
							| 
									
										
										
										
											2025-07-22 15:28:02 +08:00
										 |  |  |       'pages/shareArea/hiOrder', | 
					
						
							|  |  |  |       'pages/pay/hiPay', | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     ] | 
					
						
							| 
									
										
										
										
											2025-04-19 11:52:43 +08:00
										 |  |  |     if (whiteList.indexOf(options.path) !== -1) return | 
					
						
							|  |  |  |     this.$store.dispatch('GetInfo') | 
					
						
							|  |  |  |     this.$store.dispatch('getCarLength') | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  |     uni.hideTabBar({}) | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   onShow: function () { | 
					
						
							|  |  |  |     uni.hideTabBar({}) | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   onHide: function () {}, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <style lang="scss"> | 
					
						
							| 
									
										
										
										
											2025-07-03 16:44:18 +08:00
										 |  |  | body { | 
					
						
							|  |  |  |   background-color: #f2f2f2; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  | /*每个页面公共css */ | 
					
						
							|  |  |  | @import '@/uni_modules/uview-ui/index.scss'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-03 16:44:18 +08:00
										 |  |  | ::v-deep .uni-picker-container { | 
					
						
							|  |  |  |   z-index: 100000 !important; | 
					
						
							| 
									
										
										
										
											2025-03-23 09:29:40 +08:00
										 |  |  | } | 
					
						
							|  |  |  | </style> |