|  |  | @@ -9,19 +9,40 @@ Component({ | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | data: { | 
		
	
		
			
			|  |  |  | flag: false, | 
		
	
		
			
			|  |  |  | widthScreen: null, | 
		
	
		
			
			|  |  |  | moveData: null, | 
		
	
		
			
			|  |  |  | rotateData: null, | 
		
	
		
			
			|  |  |  | alphaData: null, | 
		
	
		
			
			|  |  |  | scaleData: null, | 
		
	
		
			
			|  |  |  | skewData: null, | 
		
	
		
			
			|  |  |  | matrixData: null | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | methods:{ | 
		
	
		
			
			|  |  |  | close:function(){ | 
		
	
		
			
			|  |  |  | this.setData({ flag: true }) | 
		
	
		
			
			|  |  |  | this.alphaClick(); | 
		
	
		
			
			|  |  |  | this.queueClick(); | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | /** | 
		
	
		
			
			|  |  |  | * 点击提交问题 | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | formSubmit:function(e){ | 
		
	
		
			
			|  |  |  | console.log(e); | 
		
	
		
			
			|  |  |  | console.log(e.target.dataset.questitle) | 
		
	
		
			
			|  |  |  | console.log(e.target.dataset.question) | 
		
	
		
			
			|  |  |  | this.alphaClick(); | 
		
	
		
			
			|  |  |  | this.queueClick(); | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | queueClick: function () { | 
		
	
		
			
			|  |  |  | var animation = wx.createAnimation({}); | 
		
	
		
			
			|  |  |  | animation.translate((this.data.widthScreen - 0), 0).scale(0).opacity(0.5).step({ duration: 3000 }) | 
		
	
		
			
			|  |  |  | this.setData({ queueData: animation.export() }) | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | alphaClick: function (even) { | 
		
	
		
			
			|  |  |  | var animation = wx.createAnimation({}) | 
		
	
		
			
			|  |  |  | animation.opacity(0).step({ duration: 2000 }) | 
		
	
		
			
			|  |  |  | this.setData({ alphaData: animation.export() }) | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | onReady: function () { | 
		
	
		
			
			|  |  |  | console.log(this.questionnaire, 999999999) | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | onLoad: function (options) { | 
		
	
		
			
			|  |  |  | console.log(this.questionnaire, 999999999) | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | onShow: function () { | 
		
	
		
			
			|  |  |  | console.log(this.questionnaire, 999999999) | 
		
	
		
			
			|  |  |  | onLoad(){ | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }); |