feat(ui): 站点货币单位由美元改为人民币
release / release (release) Canceled after 0s

- currency.ts: formatCurrency/formatPrice/formatBalance/getCurrencySymbol 默认币种
  USD→CNY,Intl locale en-US→zh-CN,显示为 ¥ 而非 CN¥
- 平台配置与管理后台默认 currency: USD→CNY
- 硬编码 $ 符号处(商品价格/余额表/充值弹窗/控制台营收/主题 Demo)全部改 ¥
- i18n: 'Minimum recharge amount is $1' key 改为 ¥1(中英同步)
- 说明: 易支付 exchange_rate=1,余额数值即人民币,仅改显示符号不改数值
This commit is contained in:
jinghui committed 2026-11-13 18:53:57 +08:00
1 parent 8f0796c031
commit b7a10ca678
12 files changed
+32 -32

No files matched your search

@@ -36,7 +36,7 @@ export const RechargeModal: React.FC<RechargeModalProps> = ({
// payment channels arrive asynchronously -- fall back to the first one so the
// confirm button is not stuck disabled on a modal opened before they load.
const effectiveChannel = selectedPaymentChannel || paymentChannels[0]?.id || "";
const currencySymbol = effectiveChannel === "epay" ? "¥" : "$";
const currencySymbol = effectiveChannel === "epay" ? "¥" : "¥";
const channelLabel = (id: string, name: string) => {
if (id === "epay") return t("Epay (Alipay / WeChat)");
@@ -55,7 +55,7 @@ export const RechargeModal: React.FC<RechargeModalProps> = ({
}
if (numAmount < 1) {
setError(t("Minimum recharge amount is $1"));
setError(t("Minimum recharge amount is ¥1"));
return;
}