| 
																	
																	
																		
																	
																	
																 | 
																@@ -203,13 +203,16 @@ Page({ | 
															
														
														
													
														
															
																 | 
																 | 
																   */ | 
																 | 
																 | 
																   */ | 
															
														
														
													
														
															
																 | 
																 | 
																  onLoad: function(options) { | 
																 | 
																 | 
																  onLoad: function(options) { | 
															
														
														
													
														
															
																 | 
																 | 
																    let that = this; | 
																 | 
																 | 
																    let that = this; | 
															
														
														
													
														
															
																 | 
																 | 
																    let optionss = JSON.parse(wx.getStorageSync('options')); | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    let optionss; | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    if (wx.getStorageSync('options')){ | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																      optionss = JSON.parse(wx.getStorageSync('options')); | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    } | 
															
														
														
													
														
															
																 | 
																 | 
																    if (options.played == "true") { | 
																 | 
																 | 
																    if (options.played == "true") { | 
															
														
														
													
														
															
																 | 
																 | 
																      that.setData({ | 
																 | 
																 | 
																      that.setData({ | 
															
														
														
													
														
															
																 | 
																 | 
																        played: true | 
																 | 
																 | 
																        played: true | 
															
														
														
													
														
															
																 | 
																 | 
																      }) | 
																 | 
																 | 
																      }) | 
															
														
														
													
														
															
																 | 
																 | 
																    } | 
																 | 
																 | 
																    } | 
															
														
														
													
														
															
																 | 
																 | 
																    if (optionss.couponChannelId || optionss.orderId) { | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    if (optionss && optionss.couponChannelId || optionss && optionss.orderId) { | 
															
														
														
													
														
															
																 | 
																 | 
																      that.setData({ | 
																 | 
																 | 
																      that.setData({ | 
															
														
														
													
														
															
																 | 
																 | 
																        optionsData: optionss | 
																 | 
																 | 
																        optionsData: optionss | 
															
														
														
													
														
															
																 | 
																 | 
																      }) | 
																 | 
																 | 
																      }) | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																	
																	
																	
																 | 
																
  |