From c2e729838fca7a1812aab7211ff8cfc2c408cf5e Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Sat, 10 Jan 2026 19:05:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8C=B6=E5=AE=A4=E5=85=85?= =?UTF-8?q?=E5=80=BC=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pay.ts | 9 +- src/bundle/wallet/recharge.vue | 221 ++++++++++++++------------------- src/pages.json | 9 ++ 3 files changed, 113 insertions(+), 126 deletions(-) diff --git a/src/api/pay.ts b/src/api/pay.ts index b4ba380..a997287 100644 --- a/src/api/pay.ts +++ b/src/api/pay.ts @@ -58,4 +58,11 @@ export interface IRefundParams { export function refund(data: IRefundParams) { return http.Post('/api/pay/refund', data) -} \ No newline at end of file +} + +/** + * 充值活动创建顶订单 + */ +export function createRechargeOrder(data: {id: number}) { + return http.Post('/api/order/addRechargeOrder', data) +} diff --git a/src/bundle/wallet/recharge.vue b/src/bundle/wallet/recharge.vue index 5a0f2eb..580c23c 100644 --- a/src/bundle/wallet/recharge.vue +++ b/src/bundle/wallet/recharge.vue @@ -11,152 +11,105 @@ - diff --git a/src/pages.json b/src/pages.json index d1106e4..4a8071a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -351,6 +351,15 @@ "navigationStyle": "custom" } }, + { + "path": "wallet/recharge20260110_bck", + "type": "page", + "needLogin": true, + "layout": "default", + "style": { + "navigationStyle": "custom" + } + }, { "path": "wallet/wallet", "type": "page",