订阅付费中心
选择最适合你的方案,解锁 AI 无限可能
{(['month', 'quarter', 'year'] as const).map((cycle) => (
))}
{subscribeMsg &&
{subscribeMsg}
}
{plans.map((plan: any, idx: number) => {
const isCurrent = currentPlanLevel === plan.level;
const price = getPrice(plan, billingCycle);
const isPopular = idx === 1;
return (
{isPopular && (
最受欢迎
)}
{isCurrent &&
当前方案
}
{plan.name}
${price === 0 ? '0' : formatYuan(price)}
{getCycleLabel(billingCycle)}
日赠 {formatYuan(plan.daily_free_tokens)} Tokens
{(plan.features || []).map((feat: string, i: number) => (
{feat}
))}
);
})}
{/* 增值服务 - 四大类 */}
增值服务
{services.map((svc) => {
const config = SERVICE_TYPE_CONFIG[svc.type] || SERVICE_TYPE_CONFIG.app_custom;
const actionInfo = getServiceAction(svc);
return (
{config.icon}
{config.label}
{svc.name}
{svc.description}
{(svc.features && svc.features.length > 0) && (
{svc.features.map((feat: string, i: number) => (
{feat}
))}
)}
{svc.price > 0 ? (
{formatYuan(svc.price)} 元起
) : (
免费咨询
)}
);
})}
{services.length === 0 &&
暂无增值服务
}
{/* 优惠券 */}
优惠券
{coupons.map((cp) => {
const isPercent = cp.type === 'percent';
return (
{isPercent ? `${cp.value}%` : `$${cp.value}`}
{isPercent ? '折扣券' : '立减券'}
{cp.code}
满 {formatYuan(cp.min_amount || 0)} 元可用
有效期至 {cp.expire_at || '--'}
{cp.status === 'active' ? '可使用' : cp.status}
);
})}
{coupons.length === 0 &&
暂无可用优惠券
}
{/* 支付方式 */}
{/* ===== Modal - 应用定制服务 ===== */}
{showModal && showModal.startsWith('app_custom_') && (
setShowModal(null)}>
e.stopPropagation()}>
应用定制服务
请选择您需要的定制类型
{[
{ type: 'skill', label: 'Skills', desc: '自定义技能开发,扩展AI能力边界' },
{ type: 'agent', label: 'Agent', desc: '智能体定制,构建专属AI助手' },
{ type: 'mcp', label: 'MCP', desc: 'MCP协议开发,连接外部数据源' },
].map((item) => (
setAppCustomType(item.type)}
>
{item.label}
{item.desc}
))}
)}
{/* ===== Modal - 平台代理申请 ===== */}
{showModal && showModal.startsWith('platform_proxy_') && (
setShowModal(null)}>
e.stopPropagation()}>
平台代理申请
填写以下信息,提交代理申请
)}
{/* ===== Modal - 数据定制服务 ===== */}
{showModal && showModal.startsWith('data_custom_') && (
setShowModal(null)}>
e.stopPropagation()}>
数据定制服务
请描述您的数据定制需求
setDataRequestForm({ ...dataRequestForm, title: e.target.value })}
/>
)}
{/* ===== Modal - 私有化项目服务 ===== */}
{showModal && showModal.startsWith('private_project_') && (
setShowModal(null)}>
e.stopPropagation()}>
私有化项目服务
请描述您的私有化部署需求,我们将为您提供专业方案
setPrivateProjectForm({ ...privateProjectForm, title: e.target.value })}
/>
)}
);
};
export default PricingPage;