feat: P0d 会员定价页重构 — 用量可视化 + 方案对比

- 三栏定价卡片(免费/月卡/年卡),参考 opencode Go 页面风格
- 日配额用量进度条
- 功能对比表(沙盒/模型/提示词/课程/广告)
- 当前方案标记 + 最受欢迎标记
- useT 全量翻译
- 补充中/英 30+ 定价相关翻译 key
This commit is contained in:
yuzhiran-dev
2026-05-18 10:37:58 +08:00
parent a4c7d71931
commit 0fdad71c57
3 changed files with 147 additions and 84 deletions
+32
View File
@@ -97,6 +97,38 @@ const en: Translations = {
orderHistory: 'Order History',
noOrders: 'No orders yet',
processing: 'Processing...',
planFree: 'Free',
planMonthly: 'Monthly',
planYearly: 'Yearly',
priceMonthly: '¥29.9',
priceYearly: '¥199',
perMonth: '/mo',
perYear: '/yr',
popular: 'Most Popular',
featureSandbox: 'AI Sandbox',
featureSandboxFree: '10/day',
featureSandboxPro: '100/day',
featureSandboxUnlimited: 'Unlimited',
featureModels: 'Models',
featureModelsFree: '1 model',
featureModelsPro: '2 models',
featureModelsPremium: 'All models',
featurePrompts: 'Prompts',
featurePromptsFree: 'Basic',
featurePromptsPro: 'All',
featurePromptsPremium: 'All + Exclusive',
featureCourses: 'Courses',
featureCoursesFree: 'Some free',
featureCoursesPro: 'All',
featureCoursesPremium: 'All',
featureAds: 'Ads',
featureAdsFree: 'Yes',
featureAdsPro: 'Ad-free',
featureAdsPremium: 'Ad-free',
dailyQuota: 'Daily Quota Usage',
used: '{n} used',
subscribe: 'Subscribe',
currentPlan_badge: 'Current Plan',
},
compare: {
title: 'Compare Lab',
+32
View File
@@ -95,6 +95,38 @@ const zh = {
orderHistory: '订单记录',
noOrders: '暂无订单记录',
processing: '处理中...',
planFree: '免费',
planMonthly: '月卡',
planYearly: '年卡',
priceMonthly: '¥29.9',
priceYearly: '¥199',
perMonth: '/月',
perYear: '/年',
popular: '最受欢迎',
featureSandbox: 'AI 沙盒',
featureSandboxFree: '10 次/日',
featureSandboxPro: '100 次/日',
featureSandboxUnlimited: '不限次',
featureModels: '模型选择',
featureModelsFree: '1 个模型',
featureModelsPro: '2 个模型',
featureModelsPremium: '全部模型',
featurePrompts: '提示词库',
featurePromptsFree: '基础',
featurePromptsPro: '全部',
featurePromptsPremium: '全部 + 专属',
featureCourses: '课程学习',
featureCoursesFree: '部分免费',
featureCoursesPro: '全部',
featureCoursesPremium: '全部',
featureAds: '广告',
featureAdsFree: '有广告',
featureAdsPro: '去广告',
featureAdsPremium: '去广告',
dailyQuota: '日配额用量',
used: '已用 {n} 次',
subscribe: '开通',
currentPlan_badge: '当前方案',
},
compare: {
title: '对比实验室',