From d4a7e894910a933251d0e883898319aaf4ed9913 Mon Sep 17 00:00:00 2001 From: renjianbo0118 <18133922183> Date: Thu, 25 May 2023 08:24:02 +0800 Subject: [PATCH] AA --- pages/my/my.wxml | 6 ++---- pages/peizhen/peizhendetail.js | 32 ++++---------------------------- pages/peizhen/peizhendetail.wxml | 2 +- 3 files changed, 7 insertions(+), 33 deletions(-) diff --git a/pages/my/my.wxml b/pages/my/my.wxml index 979a229..84347cb 100644 --- a/pages/my/my.wxml +++ b/pages/my/my.wxml @@ -2,13 +2,11 @@ title="个人中心" left-text="" right-text="" - left-arrow bind:click-left="onClickLeft" bind:click-right="onClickRight" style=" position: fixed;left: 0;top: 0;width: 100%;z-index: 2;" /> - @@ -42,7 +40,7 @@ --> - + diff --git a/pages/peizhen/peizhendetail.js b/pages/peizhen/peizhendetail.js index 38e954b..e86aca6 100644 --- a/pages/peizhen/peizhendetail.js +++ b/pages/peizhen/peizhendetail.js @@ -58,10 +58,10 @@ Page({ // 确认支付 confirm_payy: async function () { - wx.showToast({ - title: '点击了', - icon: 'none' - }); + // wx.showToast({ + // title: '点击了', + // icon: 'none' + // }); var that = this; if (!this.data.is_ok_click) { that.setData({ @@ -163,30 +163,6 @@ Page({ wx.navigateTo({ url: '/shopping/pages/paysuccess/paysuccess?' + "order_id=" + that.data.order_id, }); - - - // console.log('timeStamp==' + res.data.data.timeStamp) - // console.log('nonceStr==' + res.data.data.nonceStr) - // console.log('package==' + res.data.data.package) - // console.log('signType==' + res.data.data.signType) - // console.log('paySign==' + res.data.data.paySign) - // wx.requestPayment({ - // timeStamp: res.data.data.timeStamp, - // nonceStr: res.data.data.nonceStr, - // package: res.data.data.package, - // signType: res.data.data.signType, - // paySign: res.data.data.paySign, - // success(res) { - // console.log('支付成功'); - // app.console(that.data.order_id + "======要传的order_id") - // wx.navigateTo({ - // url: '/shopping/pages/paysuccess/paysuccess?' + "order_id=" + that.data.order_id, - // }); - // }, - // fail(res) { - // console.log('支付失败'); - // } - // }) } else { wx.showToast({ title: res.data.msg, diff --git a/pages/peizhen/peizhendetail.wxml b/pages/peizhen/peizhendetail.wxml index 2bb1145..32d4923 100644 --- a/pages/peizhen/peizhendetail.wxml +++ b/pages/peizhen/peizhendetail.wxml @@ -95,7 +95,7 @@ -