| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -24,6 +24,20 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    this.setData({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      id: options.id | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (options.id == "example") { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      console.log(1); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      const arr = [ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        { image: "https://formall.oss-accelerate.aliyuncs.com/smartcapi/2023-09-27/5263476f945343bbab20e007bfd32c4b.jpg?x-oss-process=image/resize,w_10000/quality,q_60" }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        { image: "https://formall.oss-accelerate.aliyuncs.com/smartcapi/2023-09-27/5263476f945343bbab20e007bfd32c4b.jpg?x-oss-process=image/resize,w_10000/quality,q_60" }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        { image: "https://formall.oss-accelerate.aliyuncs.com/smartcapi/2023-09-27/5263476f945343bbab20e007bfd32c4b.jpg?x-oss-process=image/resize,w_10000/quality,q_60" }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        { image: "https://formall.oss-accelerate.aliyuncs.com/smartcapi/2023-09-27/5263476f945343bbab20e007bfd32c4b.jpg?x-oss-process=image/resize,w_10000/quality,q_60" } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      ] | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      this.setData({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        swiperList: arr, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        title: "示例" | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      return | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    app.tokenCallBack = token => { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      if (!token) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        wx.redirectTo({ | 
		
		
	
	
		
			
				| 
				
					
				
				
					
				
				
				 | 
			
			 | 
			@@ -89,6 +103,14 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  downloadImage() { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    const isLogin = wx.getStorageSync('token') | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (!isLogin) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        url: '/pages/login/login', | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      return | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    const index = this.data.currentIndex | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    const list = this.data.swiperList | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    const filePath = "zhixiangImg.png" | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |