| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -21,6 +21,7 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    ], | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    couponUrl: imgurl.coupon.url, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    loadingUrl: imgurl.loading.url, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    wmhome: imgurl.wmhome.url, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    canTransferred: imgurl.canTransferred.url, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    tabs: [], | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    list: [], | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -34,6 +35,11 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    showPage: false, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    paramData:null | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  goback: function () { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    wx.switchTab({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      url: '/pages/main/index', | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  onLoad(options) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    this.getList(0, 1); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if(options.fromId){ | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -52,7 +58,7 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      console.log(res) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      let businessObj = [{ id: 0, title: "全部", type: 1, createDate: 0}]; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      that.setData({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        tabs: res.data.list.concat(businessObj).sort(compare("createDate")) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        tabs: res.data.concat(businessObj).sort(compare("createDate")) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      console.log(that.data.tabs) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    }) | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |