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