|  |  | @@ -109,7 +109,7 @@ Page({ | 
		
	
		
			
			|  |  |  | }).then(res => { | 
		
	
		
			
			|  |  |  | return | 
		
	
		
			
			|  |  |  | }).catch(err => { | 
		
	
		
			
			|  |  |  | wx.setStorageSync('ifSetUserInfo', 1) | 
		
	
		
			
			|  |  |  | wx.setStorageSync('ifSetUserInfo', 1) //手机号未授权 | 
		
	
		
			
			|  |  |  | wx.navigateTo({ | 
		
	
		
			
			|  |  |  | url: `/pages/getphoneInfo/index?mineFlag=mine`, | 
		
	
		
			
			|  |  |  | }) | 
		
	
	
		
			
				|  |  | @@ -242,8 +242,9 @@ Page({ | 
		
	
		
			
			|  |  |  | * 生命周期函数--监听页面显示 | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | onShow: function () { | 
		
	
		
			
			|  |  |  | const ifSetUserInfo = wx.getStorageSync('ifSetUserInfo') || 0 | 
		
	
		
			
			|  |  |  | if (ifSetUserInfo) { | 
		
	
		
			
			|  |  |  | const ifSetUserInfo = wx.getStorageSync('ifSetUserInfo') || 2 | 
		
	
		
			
			|  |  |  | // 手机号未授权 | 
		
	
		
			
			|  |  |  | if (ifSetUserInfo == 1) { | 
		
	
		
			
			|  |  |  | wx.showModal({ | 
		
	
		
			
			|  |  |  | title: '完善个人信息', | 
		
	
		
			
			|  |  |  | content: '完善个人信息后可获得积分哦', | 
		
	
	
		
			
				|  |  | @@ -258,7 +259,7 @@ Page({ | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | if (res.confirm) { | 
		
	
		
			
			|  |  |  | wx.setStorageSync('ifSetUserInfo', 0) | 
		
	
		
			
			|  |  |  | wx.setStorageSync('ifSetUserInfo', 2) // 已完成手机号授权 | 
		
	
		
			
			|  |  |  | wx.navigateTo({ | 
		
	
		
			
			|  |  |  | url: '/pages3/setUserInfo/index', | 
		
	
		
			
			|  |  |  | }) | 
		
	
	
		
			
				|  |  | 
 |