|  |  | @@ -20,7 +20,8 @@ Page({ | 
		
	
		
			
			|  |  |  | data: null, | 
		
	
		
			
			|  |  |  | showErr: false, | 
		
	
		
			
			|  |  |  | showAlert: false, | 
		
	
		
			
			|  |  |  | remainingPoints:0 | 
		
	
		
			
			|  |  |  | remainingPoints:0, | 
		
	
		
			
			|  |  |  | submitAble:true | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | getUserInfo: function () { | 
		
	
		
			
			|  |  |  | let that = this; | 
		
	
	
		
			
				|  |  | @@ -55,6 +56,11 @@ Page({ | 
		
	
		
			
			|  |  |  | url: `/pages/spellGroup/spellGroup`, | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | onShow:function(){ | 
		
	
		
			
			|  |  |  | this.setData({ | 
		
	
		
			
			|  |  |  | submitAble: true | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | /** | 
		
	
		
			
			|  |  |  | * 生命周期函数--监听页面加载 | 
		
	
		
			
			|  |  |  | */ | 
		
	
	
		
			
				|  |  | @@ -72,6 +78,9 @@ Page({ | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | gotoPay() { | 
		
	
		
			
			|  |  |  | var that = this; | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | submitAble: false | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | Http.get({ | 
		
	
		
			
			|  |  |  | url: config.api.checkPhoneStatus, | 
		
	
		
			
			|  |  |  | data: {} | 
		
	
	
		
			
				|  |  | @@ -92,8 +101,7 @@ Page({ | 
		
	
		
			
			|  |  |  | .catch(err => { | 
		
	
		
			
			|  |  |  | console.log(err); | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | showbutton: false, | 
		
	
		
			
			|  |  |  | showbutton1: false | 
		
	
		
			
			|  |  |  | submitAble: true | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | if (err.code == 2011) { | 
		
	
		
			
			|  |  |  | wx.showToast({ | 
		
	
	
		
			
				|  |  | @@ -236,7 +244,6 @@ Page({ | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | .catch(err => { | 
		
	
		
			
			|  |  |  | console.log(err); | 
		
	
		
			
			|  |  |  | if (err.code != 12002) { | 
		
	
		
			
			|  |  |  | setTimeout(function () { | 
		
	
		
			
			|  |  |  | _this.payOrderUpdate(orderId, payOrderId, status, reason, _this); | 
		
	
	
		
			
				|  |  | @@ -269,5 +276,8 @@ Page({ | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | onPullDownRefresh: function () { | 
		
	
		
			
			|  |  |  | this.getDetail(this.data.paramData.couponChannelId); | 
		
	
		
			
			|  |  |  | this.setData({ | 
		
	
		
			
			|  |  |  | submitAble: true | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }) |