diff --git a/package1/buyFood/buyFood.vue b/package1/buyFood/buyFood.vue index 9ab9b97..0518b41 100644 --- a/package1/buyFood/buyFood.vue +++ b/package1/buyFood/buyFood.vue @@ -788,7 +788,7 @@ }, fail: function(err) { uni.redirectTo({ - url: '/package1/order/orderDetail?id=' + that.currentOrderId + url: '/package1/order/orderConfirm?id=' + that.currentOrderId + '&amount=' + this.backendTotalAmount }); } }); @@ -818,7 +818,7 @@ handlePaymentSuccess() { if (!this.isGroupBuy) { uni.redirectTo({ - url: '/package1/order/orderDetail?id=' + this.currentOrderId + url: '/package1/order/orderConfirm?id=' + that.currentOrderId + '&amount=' + this.backendTotalAmount }); } else { let isInitiating = !this.groupItem.groupId; @@ -829,7 +829,7 @@ return; } else if (isJoining) { uni.redirectTo({ - url: '/package1/order/orderDetail?id=' + this.currentOrderId + url: '/package1/order/orderConfirm?id=' + that.currentOrderId + '&amount=' + this.backendTotalAmount }); } } @@ -837,7 +837,7 @@ onPintuanPopupChange(e) { if(!e.show){ uni.redirectTo({ - url: '/package1/order/orderDetail?id=' + this.currentOrderId + url: '/package1/order/orderConfirm?id=' + that.currentOrderId + '&amount=' + this.backendTotalAmount }); } }, diff --git a/package1/group/groupBuySingle.vue b/package1/group/groupBuySingle.vue index 594e463..7858ee8 100644 --- a/package1/group/groupBuySingle.vue +++ b/package1/group/groupBuySingle.vue @@ -1459,7 +1459,7 @@ }, false, false).then((res3) => { if(res3.code == 200){ uni.redirectTo({ - url: '/package1/order/orderDetail?id=' + that.currentOrderId + '&groupId=' + that.groupId + url: '/package1/order/orderConfirm?id=' + that.currentOrderId + '&groupId=' + that.groupId + '&amount=' + this.backendTotalAmount }); }else{ that.tui.toast("订单创建失败,请联系客服处理"); diff --git a/package1/order/orderConfirm.vue b/package1/order/orderConfirm.vue index d6343ff..a4a552f 100644 --- a/package1/order/orderConfirm.vue +++ b/package1/order/orderConfirm.vue @@ -1,5 +1,5 @@