From 74ace9b2c829fa260796f58c1d52bbdd27bc7c3f Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Mon, 22 Apr 2019 20:25:22 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E7=94=A8=E6=88=B7][=E4=BF=AE?= =?UTF-8?q?=E6=94=B9]:[=E6=96=B0=E7=94=A8=E6=88=B7=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E6=89=AB=E7=A0=81=E8=BF=9B=E5=85=A5=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/getuserinfo/index.js | 4 +--- pages/main/index.js | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/getuserinfo/index.js b/pages/getuserinfo/index.js index 3724b26..339b969 100755 --- a/pages/getuserinfo/index.js +++ b/pages/getuserinfo/index.js @@ -77,8 +77,6 @@ Page({ }) .then( function (res) { - console.log(res, that.data,6666666666) - // console.log(options && options.id && app.globalData.type == 'td',55555) if (that.data.optionData.orderGroupId){ wx.reLaunch({ url: `/pages/joinFrDpell/index?couponId=${that.data.optionData.couponId}&orderGroupId=${that.data.optionData.orderGroupId}&couponChannelId=${that.data.optionData.couponChannelId}&orderId=${that.data.optionData.orderId}&avatarUrl=${that.data.optionData.avatarUrl}&nickName=${that.data.optionData.nickName}` @@ -94,7 +92,7 @@ Page({ if (that.data.couponChannelId && !that.data.cuserId&&app.globalData.type == 'cd') { // 跳转普通券/消费卡/限时秒杀/砍价详情 wx.navigateTo({ - url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelId}}` + url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelId}` }); } else if (that.data.couponChannelId && that.data.cuserId) { // 来自转赠 diff --git a/pages/main/index.js b/pages/main/index.js index 909fac0..77d7c3e 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -51,6 +51,7 @@ Page({ display: 'none', display1:'none', optionsData:null, + credit:0, score: '0', page: 1 // 刷新进入页面时已经加载了第一页数据,onReachBottom时 page++,从第2页开始加载 },