|  |  | @@ -24,7 +24,8 @@ Page({ | 
		
	
		
			
			|  |  |  | discountStatus: null, | 
		
	
		
			
			|  |  |  | disabled: false, | 
		
	
		
			
			|  |  |  | display: "block!important", | 
		
	
		
			
			|  |  |  | showButton: false | 
		
	
		
			
			|  |  |  | showButton: false, | 
		
	
		
			
			|  |  |  | showButton1: false | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | /** | 
		
	
	
		
			
				|  |  | @@ -68,7 +69,8 @@ Page({ | 
		
	
		
			
			|  |  |  | var todayDate = new Date().getTime(); | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | todayDate: todayDate, | 
		
	
		
			
			|  |  |  | showButton: false | 
		
	
		
			
			|  |  |  | showButton: false, | 
		
	
		
			
			|  |  |  | showButton1: false | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | if (that.data.pressEndDate) { | 
		
	
		
			
			|  |  |  | that.countdown(that.data.pressEndDate) | 
		
	
	
		
			
				|  |  | @@ -518,7 +520,7 @@ Page({ | 
		
	
		
			
			|  |  |  | orderFunc(e) { | 
		
	
		
			
			|  |  |  | var that = this; | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | showButton: true | 
		
	
		
			
			|  |  |  | showButton1: true | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | Http.get({ | 
		
	
		
			
			|  |  |  | url: config.api.checkPhoneStatus, | 
		
	
	
		
			
				|  |  | @@ -526,7 +528,7 @@ Page({ | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | .then(res => { | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | showButton: false | 
		
	
		
			
			|  |  |  | showButton1: false | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | if (typeof(res) != "undefined") { | 
		
	
		
			
			|  |  |  | let orderId = "" + e.currentTarget.dataset.orderid; | 
		
	
	
		
			
				|  |  | @@ -586,7 +588,7 @@ Page({ | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | that.payOrderUpdate(that.data.orderId, payOrderId, 2, '', 'fail', that); | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | showbutton: false | 
		
	
		
			
			|  |  |  | showbutton1: false | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | return; | 
		
	
		
			
			|  |  |  | }, | 
		
	
	
		
			
				|  |  | @@ -622,7 +624,7 @@ Page({ | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | .catch(err => { | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | showButton: true | 
		
	
		
			
			|  |  |  | showButton1: true | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | if (err.code == 2011) { | 
		
	
		
			
			|  |  |  | wx.showToast({ | 
		
	
	
		
			
				|  |  | 
 |