统一月付价格为 10 USDC 并清理所有 trial 文案

- 默认月付 fallback 从 5U 改为 10U(contract_checkout.py、AccountCenter.tsx)
- 移除 LoginClient / HeaderBar / AccountCenter / UnlockProOverlay 中的试用推广文案
- VPS 同步: PLAN_CATALOG_JSON、GROUP_MEMBER_PRICE_USDC 更新为 10
- SIGNUP_TRIAL_ENABLED=false 保持关闭
@
This commit is contained in:
2569718930@qq.com
2026-05-20 11:12:29 +08:00
parent 6e3b7f60a2
commit 60093d3162
5 changed files with 24 additions and 59 deletions
+6 -17
View File
@@ -76,9 +76,6 @@ export function HeaderBar({
proAccess.subscriptionActive &&
proAccess.subscriptionQueuedDays > 0,
);
const isTrialPlan = /trial/i.test(
String(proAccess.subscriptionPlanCode || ""),
);
const showRenewReminder =
isAuthenticated &&
!proAccess.loading &&
@@ -90,20 +87,12 @@ export function HeaderBar({
const renewReminderLabel = !showRenewReminder
? ""
: !proAccess.subscriptionActive
? isTrialPlan
? locale === "en-US"
? "Trial ended"
: "试用已结束"
: locale === "en-US"
? "Pro expired"
: "Pro 已到期"
: isTrialPlan
? locale === "en-US"
? `Trial ${Math.max(expiryInfo?.daysLeft || 0, 0)}d left`
: `试用剩余 ${Math.max(expiryInfo?.daysLeft || 0, 0)}`
: locale === "en-US"
? `Pro ${Math.max(expiryInfo?.daysLeft || 0, 0)}d left`
: `Pro 还剩 ${Math.max(expiryInfo?.daysLeft || 0, 0)}`;
? locale === "en-US"
? "Pro expired"
: "Pro 已到期"
: locale === "en-US"
? `Pro ${Math.max(expiryInfo?.daysLeft || 0, 0)}d left`
: `Pro 还剩 ${Math.max(expiryInfo?.daysLeft || 0, 0)}`;
useEffect(() => {
const savedTheme =