From 88ae90eaf990174b57199c060c2265af57cb4f5e Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Tue, 9 Jan 2024 20:41:06 +0800 Subject: [PATCH] 1111 --- App.vue | 81 ++++++++++++++++++------------------ pages/cloud/optionalCard.vue | 12 ++++-- pages/home/cloudCard.vue | 1 + pages/home/pickUpCard.vue | 5 ++- pages/home/recordList.vue | 8 ++-- pages/home/recordList2.vue | 8 ++-- 6 files changed, 62 insertions(+), 53 deletions(-) diff --git a/App.vue b/App.vue index 9f424f8..737b05f 100644 --- a/App.vue +++ b/App.vue @@ -41,46 +41,47 @@ this.globalData.navInfo = navParams() - let _this = this; - wx.login({ - success: function(res) { - uni.request({ - // 组装请求地址 - url:_this.globalData.wxSilentLoginURL + "?wxCode=" + res.code, - method: "GET", - header: { - 'content-type': "application/x-www-form-urlencoded" - }, - data: { - "wxCode": res.code - }, - success: res => { - if (res.statusCode == 200) { - if (!res.data.success) { - if (res.data.code == "110") { - // 需要绑定手机号 - uni.reLaunch({ - url: '/pages/index/BindPhone?openid=' + - res.data.data.wxMpOpenid - }) - } else { - // _this.status = 'more' - } - } else { - // 成功后跳转主页 - _this.globalData.sid = res.data.data.sid - console.log("用户sid",_this.globalData.sid) - } - } else { - } - }, - fail: (err) => { - } - }); - }, - fail: function(res) { - } - }); + + // let _this = this; + // wx.login({ + // success: function(res) { + // uni.request({ + // // 组装请求地址 + // url:_this.globalData.wxSilentLoginURL + "?wxCode=" + res.code, + // method: "GET", + // header: { + // 'content-type': "application/x-www-form-urlencoded" + // }, + // data: { + // "wxCode": res.code + // }, + // success: res => { + // if (res.statusCode == 200) { + // if (!res.data.success) { + // if (res.data.code == "110") { + // // 需要绑定手机号 + // uni.reLaunch({ + // url: '/pages/index/BindPhone?openid=' + + // res.data.data.wxMpOpenid + // }) + // } else { + // // _this.status = 'more' + // } + // } else { + // // 成功后跳转主页 + // _this.globalData.sid = res.data.data.sid + // console.log("用户sid",_this.globalData.sid) + // } + // } else { + // } + // }, + // fail: (err) => { + // } + // }); + // }, + // fail: function(res) { + // } + // }); }, onShow: function() { console.log('App Show') diff --git a/pages/cloud/optionalCard.vue b/pages/cloud/optionalCard.vue index f62a985..ed30c63 100644 --- a/pages/cloud/optionalCard.vue +++ b/pages/cloud/optionalCard.vue @@ -1,6 +1,7 @@