From 5ed3d8af084b3002d2de4d62d16eccf78f677deb Mon Sep 17 00:00:00 2001
From: Enzo <1284707383@qq.com>
Date: Thu, 16 Sep 2021 16:01:23 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E6=A0=B8?=
=?UTF-8?q?=E9=94=80=E7=A0=81=E4=BC=98=E5=8C=96=20=E6=90=9C=E7=B4=A2?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=20=E7=A1=AE=E8=AE=A4=E8=AE=A2=E5=8D=95?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8F=90=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/lf-nav/lf-nav.vue | 2 +-
pages/order/confirm_atonce.vue | 27 ++++++++++----
pages/order/order_details.vue | 67 ++++++++++++----------------------
pages/search/search.vue | 7 ++--
pages/search/searchList.vue | 2 +-
5 files changed, 48 insertions(+), 57 deletions(-)
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 @@