fix(website): 价格按语言分币种 —— 英文版显示美元(P0)
PRICES 原为中英共用一份人民币值 → 英文页显示 ¥ 不专业。改为 Record<Lang,...>: - zh: ¥0 / ¥25(年¥20) / ¥99(年¥79) - en: $0 / $3.99(年$3.19) / $13.99(年$11.19) 年付沿用 8 折 Pricing.astro 接收 lang 按语言取价;Site.astro 传入 lang。 构建产物核实:EN 页 0 处 ¥、ZH 页 0 处 $;红线扫描 0 命中。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -193,9 +193,17 @@ export function createT(lang: Lang): T {
|
||||
};
|
||||
}
|
||||
|
||||
/** 价格表(月 / 年),与 ui_kits/website/site.js 的 PRICES 同步,对齐 design/CLAUDE.md §7。 */
|
||||
export const PRICES: Record<'free' | 'pro' | 'team', [string, string]> = {
|
||||
free: ['¥0', '¥0'],
|
||||
pro: ['¥25', '¥20'],
|
||||
team: ['¥99', '¥79'],
|
||||
/** 价格表(月 / 年·按月),按语言分币种:zh=人民币、en=美元。年付约 8 折。
|
||||
* 对齐 design/CLAUDE.md §7;收款走客户端内兑换激活码,网页价仅为展示。 */
|
||||
export const PRICES: Record<Lang, Record<'free' | 'pro' | 'team', [string, string]>> = {
|
||||
zh: {
|
||||
free: ['¥0', '¥0'],
|
||||
pro: ['¥25', '¥20'],
|
||||
team: ['¥99', '¥79'],
|
||||
},
|
||||
en: {
|
||||
free: ['$0', '$0'],
|
||||
pro: ['$3.99', '$3.19'],
|
||||
team: ['$13.99', '$11.19'],
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user