|  | @@ -13,21 +13,15 @@ Page({ | 
														
													
														
															
																|  |  | let _this=this; |  |  | let _this=this; | 
														
													
														
															
																|  |  | return { |  |  | return { | 
														
													
														
															
																|  |  | title: '富茂小游戏', |  |  | title: '富茂小游戏', | 
														
													
														
															
																|  |  | path: 'pages/game/index', |  |  |  | 
														
													
														
															
																|  |  |  |  |  | path: 'pages/index/index', | 
														
													
														
															
																|  |  | success: function (res) { |  |  | success: function (res) { | 
														
													
														
															
																|  |  | // 转发成功 |  |  | // 转发成功 | 
														
													
														
															
																|  |  | _this.setData({ |  |  |  | 
														
													
														
															
																|  |  | url: "https://game.youlane.cn/luckCard/index.html" + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id, |  |  |  | 
														
													
														
															
																|  |  | // url: "http://10.11.195.31:8080/luckCard/?token=" + app.globalData.token + '&forwardIf=true' |  |  |  | 
														
													
														
															
																|  |  | }); |  |  |  | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | fail: function (res) { |  |  | fail: function (res) { | 
														
													
														
															
																|  |  | // 转发失败 |  |  | // 转发失败 | 
														
													
														
															
																|  |  | console.log(666) |  |  | console.log(666) | 
														
													
														
															
																|  |  | _this.setData({ |  |  |  | 
														
													
														
															
																|  |  | url: "https://game.youlane.cn/luckCard/index.html?token=" + app.globalData.token +'&forwardIf=true', |  |  |  | 
														
													
														
															
																|  |  | // url: "http://10.11.195.31:8080/luckCard/?token=" + app.globalData.token + '&forwardIf=true' |  |  |  | 
														
													
														
															
																|  |  | }); |  |  |  | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
												
													
														
															
																|  | @@ -43,6 +37,11 @@ Page({ | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | onLoad(options) { |  |  | onLoad(options) { | 
														
													
														
															
																|  |  | console.log(options,999999999) |  |  | console.log(options,999999999) | 
														
													
														
															
																|  |  |  |  |  | if(options.url){ | 
														
													
														
															
																|  |  |  |  |  | this.setData({ | 
														
													
														
															
																|  |  |  |  |  | url: options.url | 
														
													
														
															
																|  |  |  |  |  | }) | 
														
													
														
															
																|  |  |  |  |  | } | 
														
													
														
															
																|  |  | if (options.share){ |  |  | if (options.share){ | 
														
													
														
															
																|  |  | // wx.onShareAppMessage(); |  |  | // wx.onShareAppMessage(); | 
														
													
														
															
																|  |  | }else{ |  |  | }else{ | 
														
													
												
													
														
															
																|  | 
 |