From 70c2b360b3fb4333a63187921afcb870b1982a54 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Mon, 6 May 2019 13:33:46 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=B8=B8=E6=88=8F=E5=92=8C=E6=88=91=E7=9A=84]?= =?UTF-8?q?[=E5=88=A0=E9=99=A4]:[=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/game/index.js | 12 +----------- pages/user/index.wxml | 10 ---------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/pages/game/index.js b/pages/game/index.js index 855b599..99443bb 100644 --- a/pages/game/index.js +++ b/pages/game/index.js @@ -6,8 +6,6 @@ Page({ token:'', url:'' }, - bindGetMsg(e){ - }, onShareAppMessage: function (res) { let _this=this; return { @@ -22,18 +20,10 @@ Page({ } }, onShow: function () { - app.globalData.havePlayEd=true - let num = wx.getStorageSync('couponNum'); - if (num == 'couponNum') { - wx.showTabBarRedDot({ - index: 2 - }) - }; + app.globalData.havePlayEd=true; }, onLoad(options) { - console.log(options,999) if (options.share){ - // wx.onShareAppMessage(); }else{ this.setData({ url: options.url + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id diff --git a/pages/user/index.wxml b/pages/user/index.wxml index 5352587..2112034 100644 --- a/pages/user/index.wxml +++ b/pages/user/index.wxml @@ -75,20 +75,10 @@ 积分商城 - -