From de06660108d47aa7d90d670da5b6f42cb1228971 Mon Sep 17 00:00:00 2001 From: Timi Date: Sat, 22 Aug 2026 11:51:48 +0800 Subject: [PATCH] add totalConsumed --- src/pages/point/PointAccount.vue | 9 ++++----- src/types/Point.ts | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/point/PointAccount.vue b/src/pages/point/PointAccount.vue index 51704cd..28bb69b 100644 --- a/src/pages/point/PointAccount.vue +++ b/src/pages/point/PointAccount.vue @@ -48,6 +48,7 @@ + @@ -318,16 +319,14 @@ onMounted(async () => { } } + .account-card { + color: #FFF; margin: 0 1rem; padding: 1rem; background: rgba(255, 255, 255, .92); box-shadow: var(--td-shadow-1); border-radius: 1.4rem; - } - - .account-card { - color: #FFF; background: linear-gradient(135deg, #0f766e, #0f4c5c); .header { @@ -337,7 +336,7 @@ onMounted(async () => { .balance { gap: 1rem; - margin: .5rem 0; + margin: 2rem 0 1rem 0; display: flex; align-items: center; justify-content: end; diff --git a/src/types/Point.ts b/src/types/Point.ts index 1754c60..201a5f6 100644 --- a/src/types/Point.ts +++ b/src/types/Point.ts @@ -43,6 +43,7 @@ export type PointAccount = { customerId?: string; balance?: number; totalEarned?: number; + totalConsumed?: number; totalRevoked?: number; totalAdjusted?: number; version?: number;