Sfoglia il codice sorgente

[游戏和我的][删除]:[删除无用的代码]

tags/江西版6.1.0
meo 6 anni fa
parent
commit
70c2b360b3
2 ha cambiato i file con 1 aggiunte e 21 eliminazioni
  1. +1
    -11
      pages/game/index.js
  2. +0
    -10
      pages/user/index.wxml

+ 1
- 11
pages/game/index.js Vedi File

@@ -6,8 +6,6 @@ Page({
token:'', token:'',
url:'' url:''
}, },
bindGetMsg(e){
},
onShareAppMessage: function (res) { onShareAppMessage: function (res) {
let _this=this; let _this=this;
return { return {
@@ -22,18 +20,10 @@ Page({
} }
}, },
onShow: function () { onShow: function () {
app.globalData.havePlayEd=true
let num = wx.getStorageSync('couponNum');
if (num == 'couponNum') {
wx.showTabBarRedDot({
index: 2
})
};
app.globalData.havePlayEd=true;
}, },
onLoad(options) { onLoad(options) {
console.log(options,999)
if (options.share){ if (options.share){
// wx.onShareAppMessage();
}else{ }else{
this.setData({ this.setData({
url: options.url + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id url: options.url + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id


+ 0
- 10
pages/user/index.wxml Vedi File

@@ -75,20 +75,10 @@
<view> <view>
<image class='icons' src="{{wmintegral}}" mode='widthFix'></image>积分商城</view> <image class='icons' src="{{wmintegral}}" mode='widthFix'></image>积分商城</view>
<view> <view>
<text class="couponnum" wx:if="{{couponNum2=='couponNum2'}}"></text>
<text class="iconfont icon-right"></text> <text class="iconfont icon-right"></text>
</view> </view>
</view> </view>
</navigator> </navigator>
<!-- <navigator url="/pages/passCar/passCar" open-type="switchTab">
<view class="user-btn app-border-bottom">
<view>
<image class='icons' src="{{cheUrl}}" mode='widthFix'></image>智能停车</view>
<view>
<text class="iconfont icon-right"></text>
</view>
</view>
</navigator> -->
<!-- 当商场开启使用折扣按钮的时候, --> <!-- 当商场开启使用折扣按钮的时候, -->
<navigator url="/pages/specialcourtesy/specialcourtesy"> <navigator url="/pages/specialcourtesy/specialcourtesy">
<view class="user-btn app-border-bottom"> <view class="user-btn app-border-bottom">


Caricamento…
Annulla
Salva