From 2fdcfc8c3b4eec7b63f81c697dbe6e8bf97cf30c Mon Sep 17 00:00:00 2001
From: xingyy <64720302+Concur-max@users.noreply.github.com>
Date: Sun, 2 Mar 2025 09:54:41 +0800
Subject: [PATCH] 1212
---
app/pages/checkoutPage/index.vue | 395 +++++++++++++++++++++++++++++++
app/pages/payment/index.vue | 3 +-
2 files changed, 397 insertions(+), 1 deletion(-)
create mode 100644 app/pages/checkoutPage/index.vue
diff --git a/app/pages/checkoutPage/index.vue b/app/pages/checkoutPage/index.vue
new file mode 100644
index 0000000..819febb
--- /dev/null
+++ b/app/pages/checkoutPage/index.vue
@@ -0,0 +1,395 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/pages/payment/index.vue b/app/pages/payment/index.vue
index 20f6b08..f58d7d7 100644
--- a/app/pages/payment/index.vue
+++ b/app/pages/payment/index.vue
@@ -4,6 +4,7 @@ import {createBuyOrder} from "~/api/goods/index.js";
import {goodStore} from "~/stores/goods/index.js";
import { showLoadingToast ,closeToast} from 'vant';
import {authStore} from "~/stores/auth/index.js";
+
import {message} from "~/components/x-message/useMessage.js";
const {checkoutSessionUrl,payment,payUid,openRefreshResults}= authStore()
const payStatus=ref(0)
@@ -48,7 +49,7 @@ const confirmPay=async ()=>{
checkoutSessionUrl.value=res.data.checkoutSessionUrl
payUid.value=res.data.payUid
openRefreshResults()
- router.push('/payment/checkoutPage')
+ router.push('/checkoutPage')
}
}
const handleInput = (e) => {