|  |  | @@ -12,12 +12,12 @@ Page({ | 
		
	
		
			
			|  |  |  | onShareAppMessage: function (res) { | 
		
	
		
			
			|  |  |  | let _this=this; | 
		
	
		
			
			|  |  |  | return { | 
		
	
		
			
			|  |  |  | title: '自定义转发标题', | 
		
	
		
			
			|  |  |  | title: '富茂小游戏', | 
		
	
		
			
			|  |  |  | path: 'pages/game/index', | 
		
	
		
			
			|  |  |  | success: function (res) { | 
		
	
		
			
			|  |  |  | // 转发成功 | 
		
	
		
			
			|  |  |  | _this.setData({ | 
		
	
		
			
			|  |  |  | url: "https://game.youlane.cn/luckCard/index.html?token=" + app.globalData.token +'&forwardIf=true', | 
		
	
		
			
			|  |  |  | 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' | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | }, | 
		
	
	
		
			
				|  |  | @@ -31,6 +31,16 @@ Page({ | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | onShow: function () { | 
		
	
		
			
			|  |  |  | // console.log(app.globalData.havePlayEd) | 
		
	
		
			
			|  |  |  | app.globalData.havePlayEd=true | 
		
	
		
			
			|  |  |  | let num = wx.getStorageSync('couponNum'); | 
		
	
		
			
			|  |  |  | if (num == 'couponNum') { | 
		
	
		
			
			|  |  |  | wx.showTabBarRedDot({ | 
		
	
		
			
			|  |  |  | index: 2 | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | }; | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | onLoad(options) { | 
		
	
		
			
			|  |  |  | console.log(options,999999999) | 
		
	
		
			
			|  |  |  | if (options.share){ | 
		
	
	
		
			
				|  |  | @@ -46,8 +56,8 @@ Page({ | 
		
	
		
			
			|  |  |  | //     console.log(res.data, 333); | 
		
	
		
			
			|  |  |  | //   }) | 
		
	
		
			
			|  |  |  | this.setData({ | 
		
	
		
			
			|  |  |  | // url: options.url + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id, | 
		
	
		
			
			|  |  |  | url: "http://10.11.195.31:8080/luckCard/" + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id, | 
		
	
		
			
			|  |  |  | url: options.url + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id, | 
		
	
		
			
			|  |  |  | // url: "http://10.11.195.31:8080/luckCard/" + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id, | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | } |