From be81b63b0e5df034d1274a0268ce71fe89102db5 Mon Sep 17 00:00:00 2001 From: Austin Date: Tue, 14 Jul 2026 20:37:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 11 +- README.md | 6 +- api/auth.ts | 55 +++- api/cashier.ts | 15 +- config/index.ts | 20 +- manifest.json | 10 +- mini.project.json | 11 + package.json | 6 +- pages.json | 2 +- pages/cashier/result.vue | 4 +- pages/mine/index.vue | 57 +++- pages/mine/score-records.vue | 10 +- pages/pay/checkout.vue | 22 +- pages/{cashier/index.vue => pay/pay.vue} | 390 ++++++++++++++++++++--- scripts/alipay-es-compat.js | 93 ++++++ utils/auth.ts | 27 +- utils/merchant-context.ts | 95 ++++++ utils/wxpay.ts | 112 ++++++- vite.config.ts | 142 ++++++--- 19 files changed, 937 insertions(+), 151 deletions(-) create mode 100644 mini.project.json rename pages/{cashier/index.vue => pay/pay.vue} (72%) create mode 100644 scripts/alipay-es-compat.js diff --git a/App.vue b/App.vue index f3776dc..c3ef3d7 100644 --- a/App.vue +++ b/App.vue @@ -1,6 +1,7 @@