Procházet zdrojové kódy

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

tags/江西版6.1.0
meo před 6 roky
rodič
revize
70c2b360b3
2 změnil soubory, kde provedl 1 přidání a 21 odebrání
  1. +1
    -11
      pages/game/index.js
  2. +0
    -10
      pages/user/index.wxml

+ 1
- 11
pages/game/index.js Zobrazit soubor

@@ -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


+ 0
- 10
pages/user/index.wxml Zobrazit soubor

@@ -75,20 +75,10 @@
<view>
<image class='icons' src="{{wmintegral}}" mode='widthFix'></image>积分商城</view>
<view>
<text class="couponnum" wx:if="{{couponNum2=='couponNum2'}}"></text>
<text class="iconfont icon-right"></text>
</view>
</view>
</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">
<view class="user-btn app-border-bottom">


Načítá se…
Zrušit
Uložit