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 @@ 积分商城 - -