feat: integrate analytics and fragment receipt improvements

This commit is contained in:
hectorzhao
2026-08-03 15:34:41 +08:00
parent 3357ace7e1
commit 530a65de80
89 changed files with 1964 additions and 324 deletions
+6 -1
View File
@@ -98,7 +98,7 @@ export function ClientHome() {
</div>
</div>
<div className="dashboard-grid">
<div className="dashboard-grid dashboard-grid--four">
<div className="surface metric-card metric-card--featured">
<span></span>
<strong>¥{formatAmount(availableBalance)}</strong>
@@ -109,6 +109,11 @@ export function ClientHome() {
<strong>{(dashboard?.today.sent ?? 0).toLocaleString('zh-CN')}</strong>
<small> {dashboard?.today.successRate ?? 0}%</small>
</div>
<div className="surface metric-card">
<span></span>
<strong>¥{formatCents(dashboard?.today.spendCents)}</strong>
<small></small>
</div>
<div className="surface metric-card">
<span></span>
<strong>¥{formatCents(todayRefundCents)}</strong>