From df5d7aa94e402137f6677fca006970b983e9edb1 Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Tue, 23 Dec 2025 17:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/store.ts | 7 +++++++ src/pages/index/index.vue | 39 ++++++++++++++++++++++++++++----------- src/pages/login/login.vue | 4 ++-- 3 files changed, 37 insertions(+), 13 deletions(-) diff --git a/src/api/store.ts b/src/api/store.ts index 4bff7a9..967f005 100644 --- a/src/api/store.ts +++ b/src/api/store.ts @@ -217,4 +217,11 @@ export interface IGetStoreIncomeListParams { export function getStoreIncomeList(data: IGetStoreIncomeListParams) { return http.Post('/storeapi/user/checkStoreAccountList', data) +} + +/** + * 扫码验券 + */ +export function scanVerifyCoupon(qr_sn: string, store_id: number) { + return http.Post('/storeapi/group/cancelCode', { qr_sn, store_id }) } \ No newline at end of file diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index a98ae65..dc8837e 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -27,19 +27,20 @@ - - 本月收入 - - + + + 本月收入 + + + + + + - - - - - + 下单金额 @@ -48,7 +49,7 @@ - + 核销金额 @@ -125,8 +126,9 @@