From e5ad9ac4383041a58fed695306e0d4630c23cf27 Mon Sep 17 00:00:00 2001 From: abingyyds Date: Fri, 17 Apr 2026 14:04:56 +0800 Subject: [PATCH] feat: add per-distributor currency display setting (USD/CNY) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Distributors can now choose between USD ($) and CNY (¥) for frontend price and balance display. Only affects presentation — backend amounts remain in USD internally. Co-Authored-By: Claude Sonnet 4.6 --- dist/index.html | 4 ++-- src/context/SiteContext.jsx | 10 +++++++++- src/i18n/locales/en.json | 10 +++++----- src/i18n/locales/zh.json | 10 +++++----- src/pages/Packages.jsx | 13 +++++++------ src/pages/SubDistributor.jsx | 7 ++++--- src/themes/claude/Home.jsx | 6 +++--- src/themes/clean/Home.jsx | 6 +++--- src/themes/corporate/Home.jsx | 6 +++--- src/themes/dark/Home.jsx | 6 +++--- src/themes/default/Home.jsx | 6 +++--- src/themes/minimal/Home.jsx | 6 +++--- src/themes/starter/Home.jsx | 6 +++--- 13 files changed, 53 insertions(+), 43 deletions(-) diff --git a/dist/index.html b/dist/index.html index 5133fa2..f3c9dfb 100644 --- a/dist/index.html +++ b/dist/index.html @@ -7,8 +7,8 @@ AI Platform - - + +