| 
					
				 | 
			
			
				@@ -2,7 +2,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import Vue from 'vue';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   export default {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    onLaunch: function() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onLaunch: function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // tab数字角标 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // uni.setTabBarBadge({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   index: 2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   text: '2' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // #ifdef MP-WEIXIN
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 小程序更新
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const updateManager = uni.getUpdateManager();
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -63,47 +70,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     methods: {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // #ifdef MP-WEIXIN
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       async updateUserInfo() {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // if (this.$store.state.isLogin) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   const data = await this.$getUserInfo();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   if (!data) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     this.$store.commit('changeLoginStatus', false);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     this.$store.commit('changeToken', '');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     uni.removeStorageSync('isLogin');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     uni.removeStorageSync('token');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // this.$isResolve();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // uni.login({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   provider: 'weixin',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   success: (loginRes) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     console.log(loginRes.code)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     this.$axios({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       url: '/v1app/user/auth',
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       params: {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //         code: loginRes.code,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       },
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     }).then((res) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       try {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //         console.log('====token====', res.data.token);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //         if (this.$store.state.isLogin) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //           this.$store.commit('changeToken', res.data.token);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //           uni.setStorageSync('token', res.data.token);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //           this.$getUserInfo();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //         }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //         this.$isResolve();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       } catch (e) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //         console.error(e);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     }).catch(res => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       this.$store.commit('changeLoginStatus', false);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       this.$store.commit('changeToken', '');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       uni.removeStorageSync('isLogin');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       uni.removeStorageSync('token');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //       this.$isResolve();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     })
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   },
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // });
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       },
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // #endif
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     },
 
			 |