From 2f8fa0cc3e060907d5ca812616dd8e1f16034877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com> Date: Fri, 24 Sep 2021 18:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=89=AB=E7=A0=81=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E7=9B=B8=E5=85=B3=E6=89=80=E6=9C=89=E6=B6=89=E5=8F=8A?= =?UTF-8?q?=E5=88=B0=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/sandBox.js | 7 +- components/lf-payPassword/lf-payPassword.vue | 6 +- pages.json | 6 +- pages/aboutpay/confirmcash.vue | 54 +++++- pages/aboutpay/paystate.vue | 18 +- pages/business/center/center.vue | 33 +++- pages/business/payment/money.vue | 22 ++- pages/business/payment/paystate.vue | 20 ++- pages/business/payment/wait.vue | 65 ++++++- pages/user/member/code.vue | 171 ++++++++++++++++--- pages/user/my/setPassword.vue | 2 +- 11 files changed, 344 insertions(+), 60 deletions(-) diff --git a/common/js/sandBox.js b/common/js/sandBox.js index 47d1d21..127fc84 100644 --- a/common/js/sandBox.js +++ b/common/js/sandBox.js @@ -95,14 +95,17 @@ export const sandBox = { showCancel: false, success:(res)=>{ if (res.confirm) { - wx.navigateTo({ + // wx.navigateTo 邓平艺 于2021.09.24修改, + // 原因:未登录点击后跳转到登录页,当登录成功, + // 再次跳转回来时,用户点击页面返回,原有页面和弹窗还存在 + uni.redirectTo({ url:`/pages/user/register/register?url=${url}` }) return; } }, cancel:()=>{ - wx.navigateTo({ + uni.redirectTo({ url:`/pages/user/register/register?url=${url}` }) return; diff --git a/components/lf-payPassword/lf-payPassword.vue b/components/lf-payPassword/lf-payPassword.vue index 22346d0..de3e85e 100644 --- a/components/lf-payPassword/lf-payPassword.vue +++ b/components/lf-payPassword/lf-payPassword.vue @@ -21,7 +21,7 @@ - + @@ -41,6 +41,10 @@ showCountdown: { type: Boolean, default: false + }, + buttonText: { + type: String, + default: '确认' } }, data(){ diff --git a/pages.json b/pages.json index d786023..3361ac6 100644 --- a/pages.json +++ b/pages.json @@ -21,13 +21,15 @@ { "path": "pages/aboutpay/paystate", "style": { - "navigationStyle": "custom" + "navigationStyle": "custom", + "navigationBarTitleText":"支付结果" } }, { "path": "pages/aboutpay/confirmcash", "style": { - "navigationStyle": "custom" + "navigationStyle": "custom", + "navigationBarTitleText":"确认金额" } }, { diff --git a/pages/aboutpay/confirmcash.vue b/pages/aboutpay/confirmcash.vue index 4540ca2..b488f93 100644 --- a/pages/aboutpay/confirmcash.vue +++ b/pages/aboutpay/confirmcash.vue @@ -6,7 +6,7 @@ 请核对支付金额 - ¥478.50 + ¥{{ amount }} 剩余支付时间 @@ -23,7 +23,7 @@ - + @@ -33,18 +33,62 @@ diff --git a/pages/aboutpay/paystate.vue b/pages/aboutpay/paystate.vue index d428265..1bdc95e 100644 --- a/pages/aboutpay/paystate.vue +++ b/pages/aboutpay/paystate.vue @@ -1,6 +1,6 @@