diff --git a/components/lf-nav/lf-nav.vue b/components/lf-nav/lf-nav.vue index aacc359..b988266 100644 --- a/components/lf-nav/lf-nav.vue +++ b/components/lf-nav/lf-nav.vue @@ -85,7 +85,7 @@ methods: { goSearch() { console.log(1) - uni.redirectTo({ + uni.navigateTo({ url: '/pages/search/search' }) }, diff --git a/pages/order/confirm_atonce.vue b/pages/order/confirm_atonce.vue index 0ab6664..8c02dd5 100644 --- a/pages/order/confirm_atonce.vue +++ b/pages/order/confirm_atonce.vue @@ -78,20 +78,31 @@ }) }, fail: (err) => { - wx.navigateBackMiniProgram({ - extraData: { - backPayState: false, - payorder_id: that.order_id - }, - success(res) {} - }) + uni.showModal({ + title: '提示', + content: JSON.stringify(err), + confirmColor: '#1998FE', + showCancel: false, + success(res2) { + if (res2.confirm) { + wx.navigateBackMiniProgram({ + extraData: { + backPayState: false, + payorder_id: that.order_id + }, + success(res) {} + }) + } + } + }); }, }) }).catch(err => { uni.showModal({ title: '提示', - content: '支付获取订单失败', + content: JSON.stringify(err), showCancel: false, + confirmColor: '#1998FE', success(res2) { if (res2.confirm) { wx.navigateBackMiniProgram({ diff --git a/pages/order/order_details.vue b/pages/order/order_details.vue index cc4694b..dc8ec1c 100644 --- a/pages/order/order_details.vue +++ b/pages/order/order_details.vue @@ -56,28 +56,16 @@ {{orderDetails.mobile}} - - - - - + + + + 核销码生成中 + @@ -89,31 +77,14 @@ 待使用 已使用 - - - - + 实付款 - - - @@ -122,10 +93,6 @@ 支付尾款 - - @@ -145,10 +112,6 @@ - - @@ -252,6 +215,24 @@