From 99b48e1a1ec462ccc26284fdd0d3a05526f68347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Wed, 15 Jan 2025 09:54:09 +0800 Subject: [PATCH] tijiao --- package.json | 1 + src/api/index.js | 4 +- .../pendingPayment/OrderConfirmation.vue | 94 ++++++++++++++----- 3 files changed, 74 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 6d7f01f..05a41fd 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "vue-cli-service build" }, "dependencies": { + "@stripe/stripe-js": "^5.5.0", "@tinymce/tinymce-vue": "^3.0.1", "axios": "^0.18.0", "babel-polyfill": "^6.26.0", diff --git a/src/api/index.js b/src/api/index.js index 0b11630..170e883 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -19,8 +19,8 @@ const service = axios.create({ // baseURL: 'https://submission.tmrjournals.com/', //正式 记得切换 // baseURL: 'http://www.tougao.com/', //测试本地 记得切换 // baseURL: 'http://192.168.110.110/tougao/public/index.php/', - // baseURL: '/api', //本地 - baseURL: '/', //正式 + baseURL: '/api', //本地 + // baseURL: '/', //正式 }); diff --git a/src/components/page/components/pendingPayment/OrderConfirmation.vue b/src/components/page/components/pendingPayment/OrderConfirmation.vue index bc77837..614615b 100644 --- a/src/components/page/components/pendingPayment/OrderConfirmation.vue +++ b/src/components/page/components/pendingPayment/OrderConfirmation.vue @@ -1,6 +1,5 @@