@
统一月付价格为 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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user