Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
修改价格
daoyiand77fc8b774d7
diff --git a/@types/resources.d.ts b/@types/resources.d.tsindex 61a9b485..e592d3e3 100644--- a/@types/resources.d.ts+++ b/@types/resources.d.ts@@ -886,6 +886,7 @@ interface Resources {"subtitle": "选择最适合您需求的套餐,开始您的AI创作之旅","monthly": "月付","yearly": "年付",+ "save25": "省25%","save50": "省50%","month": "月","credits": "积分",@@ -930,28 +931,34 @@ interface Resources {},"faq": {"title": "常见问题",- "items": [- {- "question": "如何选择合适的套餐?",- "answer": "如果您是个人用户或刚开始使用AI创作,建议选择Free套餐体验。如果您需要更多功能和更高的使用限制,Plus套餐是更好的选择。"- },- {- "question": "可以随时升级或降级套餐吗?",- "answer": "是的,您可以随时升级到更高套餐。降级将在当前计费周期结束后生效。"- },- {- "question": "积分是如何计算的?",- "answer": "积分根据您生成的内容类型和复杂度计算。视频生成消耗更多积分,图片生成消耗较少积分。"- },- {- "question": "支持哪些支付方式?",- "answer": "我们支持信用卡、借记卡、PayPal等多种支付方式,确保安全便捷的支付体验。"- },- {- "question": "有退款政策吗?",- "answer": "我们提供7天无理由退款保证。如果您对服务不满意,可以在购买后7天内申请全额退款。"- }- ]+ "paymentMethods": {+ "question": "你们支持哪些支付方式?",+ "answer": "我们支持多种支付方式,包括主要的信用卡(Visa、MasterCard、American Express)以及支付宝等。如果您在中国使用我们的服务,可以通过支付宝购买一次性服务。"+ },+ "creditDeduction": {+ "question": "图片和视频生成时,积分是如何扣除的?",+ "answer": "我们的图片和视频生成定价与官方渠道保持一致。通常情况下,如果官方渠道有大额采购折扣,我们也会同步将这些优惠让利给您。"+ },+ "creditExpiry": {+ "question": "我的积分会过期吗?",+ "answer": "我们的积分过期机制非常宽松。积分自获取之日起 12 个自然月后才会过期,您有充足的时间使用。"+ },+ "moreCredits": {+ "question": "如果我需要更多积分怎么办?",+ "answer": "您可以通过每天发布内容来获取免费积分。同时,也可以通过开通会员或直接购买积分的方式获得更多积分。"+ },+ "checkCredits": {+ "question": "如何查看我的积分情况?",+ "answer": "点击您的积分余额,即可查看积分的变更明细。"+ },+ "hiddenFees": {+ "question": "是否存在隐藏费用?",+ "answer": "没有。您所看到的价格就是您最终支付的价格,不会有任何额外的隐性收费。"+ },+ "refundPolicy": {+ "question": "有退款政策吗?",+ "answer": "我们提供7天无理由退款保证。如果您对服务不满意,可以在购买后7天内申请全额退款。"+ }}},"profile": {diff --git a/src/app/[lng]/page.tsx b/src/app/[lng]/page.tsxindex d88235c3..96a5aede 100644--- a/src/app/[lng]/page.tsx+++ b/src/app/[lng]/page.tsx@@ -2,6 +2,7 @@import { useEffect, useRef, useState } from "react";import styles from "./styles/difyHome.module.scss";+import pricingStyles from "./styles/pricing.module.scss";import { useTransClient } from "../i18n/client";import logo from '@/assets/images/logo.png';@@ -46,8 +47,8 @@ import dataCenter from '@/assets/images/data_center.png';import Link from "next/link";import Image from "next/image";import { useRouter } from "next/navigation";-import { Button } from "antd";-import { GlobalOutlined } from "@ant-design/icons";+import { Button, Collapse } from "antd";+import { GlobalOutlined, CheckOutlined, CloseOutlined } from "@ant-design/icons";import { useUserStore } from "@/store/user";import { useParams } from "next/navigation";import { AndroidOutlined } from '@ant-design/icons';@@ -70,7 +71,7 @@ function ReleaseBanner() {}// Header 顶部导航-function Header() {+function Header({ currentModule, onModuleChange }: { currentModule: string, onModuleChange: (module: string) => void }) {const { t } = useTransClient('home');const router = useRouter();const userStore = useUserStore();@@ -87,15 +88,22 @@ function Header() {return (<header className={styles.header}><div className={styles.headerContainer}>- <Link href="/">- <div className={styles.logo}>- <Image src={logo} alt="logo" width={50} />- <span className={styles.logoText}>{t('header.logo')}</span>- </div>- </Link>+ <div+ className={styles.logo}+ onClick={() => onModuleChange('home')}+ style={{ cursor: 'pointer' }}+ >+ <Image src={logo} alt="logo" width={50} />+ <span className={styles.logoText}>{t('header.logo')}</span>+ </div><nav className={styles.nav}>{/* <a href="#marketplace" className={styles.navLink}>{t('header.nav.marketplace')}</a> */}- <a href="/pricing" className={styles.navLink}>{t('header.nav.pricing')}</a>+ <button+ className={`${styles.navLink} ${currentModule === 'pricing' ? styles.active : ''}`}+ onClick={() => onModuleChange('pricing')}+ >+ {t('header.nav.pricing')}+ </button><a href="https://status.aitoearn.ai/" target="_blank" rel="noopener noreferrer" className={styles.navLink}>{t('header.nav.status' as any)}</a>{/* <a href="#docs" className={styles.navLink}>{t('header.nav.docs')}</a> */}{/* <a href="#blog" className={styles.navLink}>{t('header.nav.blog')}</a> */}@@ -123,6 +131,238 @@ function Header() {);}+// Pricing 模块+function PricingModule() {+ const { t } = useTransClient('pricing');+ const [billingCycle, setBillingCycle] = useState<'monthly' | 'yearly'>('yearly');++ const plans = [+ {+ name: t('plans.free.name'),+ price: 0,+ originalPrice: 0,+ credits: t('plans.free.credits'),+ videos: t('plans.free.videos'),+ images: t('plans.free.images'),+ features: [+ { text: t('features.textModeration'), included: false },+ { text: t('features.imageModeration'), included: false },+ { text: t('features.videoModeration'), included: false },+ { text: t('features.multiModel'), included: true },+ { text: t('features.textToVideo'), included: true },+ { text: t('features.imageToVideo'), included: true },+ { text: t('features.videoToVideo'), included: true },+ { text: t('features.consistentCharacter'), included: true },+ { text: t('features.aiAnimation'), included: true },+ { text: t('features.aiImage'), included: true },+ { text: t('features.voiceClone'), included: true },+ { text: t('features.voiceSynthesis'), included: true },+ { text: t('features.fasterSpeed'), included: false },+ { text: t('features.withWatermark'), included: true },+ { text: t('features.storage500M'), included: true },+ ],+ buttonText: t('plans.free.button'),+ buttonType: 'default' as const,+ popular: false,+ },+ {+ name: t('plans.plus.name'),+ price: billingCycle === 'yearly' ? 10 : 15,+ originalPrice: billingCycle === 'yearly' ? 20 : 15,+ credits: t('plans.plus.credits'),+ videos: t('plans.plus.videos'),+ images: t('plans.plus.images'),+ features: [+ { text: t('features.textModeration'), included: true },+ { text: t('features.imageModeration'), included: true },+ { text: t('features.videoModeration'), included: true },+ { text: t('features.multiModel'), included: true },+ { text: t('features.textToVideo'), included: true },+ { text: t('features.imageToVideo'), included: true },+ { text: t('features.videoToVideo'), included: true },+ { text: t('features.consistentCharacter'), included: true },+ { text: t('features.aiAnimation'), included: true },+ { text: t('features.aiImage'), included: true },+ { text: t('features.voiceClone'), included: true },+ { text: t('features.voiceSynthesis'), included: true },+ { text: t('features.fasterSpeed'), included: true },+ { text: t('features.noWatermark'), included: true },+ { text: t('features.storage5G'), included: true },+ ],+ buttonText: t('plans.plus.button'),+ buttonType: 'primary' as const,+ popular: true,+ },+ ];++ const faqItems = [+ {+ question: t('faq.paymentMethods.question'),+ answer: t('faq.paymentMethods.answer')+ },+ {+ question: t('faq.creditDeduction.question'),+ answer: t('faq.creditDeduction.answer')+ },+ {+ question: t('faq.creditExpiry.question'),+ answer: t('faq.creditExpiry.answer')+ },+ {+ question: t('faq.moreCredits.question'),+ answer: t('faq.moreCredits.answer')+ },+ {+ question: t('faq.checkCredits.question'),+ answer: t('faq.checkCredits.answer')+ },+ {+ question: t('faq.hiddenFees.question'),+ answer: t('faq.hiddenFees.answer')+ },+ {+ question: t('faq.refundPolicy.question'),+ answer: t('faq.refundPolicy.answer')+ }+ ];++ return (+ <div className={pricingStyles.pricingPage}>+ <div className={pricingStyles.container}>++ {/* Header */}+ <div className={pricingStyles.header}>+ <h1 className={pricingStyles.title}>{t('title')}</h1>+ <p className={pricingStyles.subtitle}>{t('subtitle')}</p>+ </div>++ {/* Billing Toggle */}+ <div className={pricingStyles.billingToggle}>+ <div className={pricingStyles.toggleContainer}>+ <button+ className={`${pricingStyles.toggleButton} ${billingCycle === 'monthly' ? pricingStyles.active : ''}`}+ onClick={() => setBillingCycle('monthly')}+ >+ {t('monthly')}+ {billingCycle === 'monthly' && (+ <span className={pricingStyles.saveBadge}>{t('save25')}</span>+ )}+ </button>+ <button+ className={`${pricingStyles.toggleButton} ${billingCycle === 'yearly' ? pricingStyles.active : ''}`}+ onClick={() => setBillingCycle('yearly')}+ >+ {t('yearly')}+ {billingCycle === 'yearly' && (+ <span className={pricingStyles.saveBadge}>{t('save50')}</span>+ )}+ </button>+ </div>+ </div>++ {/* Pricing Cards */}+ <div className={pricingStyles.pricingCards}>+ {plans.map((plan, index) => (+ <div+ key={plan.name}+ className={`${pricingStyles.pricingCard} ${plan.popular ? pricingStyles.popular : ''}`}+ >+ {plan.popular && (+ <div className={pricingStyles.popularBadge}>+ {billingCycle === 'yearly' ? t('flashSale50') : t('mostPopular')}+ </div>+ )}++ <div className={pricingStyles.cardHeader}>+ <h2 className={pricingStyles.planName}>{plan.name}</h2>+ <div className={pricingStyles.priceContainer}>+ {plan.originalPrice > plan.price && (+ <span className={pricingStyles.originalPrice}>+ ${plan.originalPrice} USD+ </span>+ )}+ <div className={pricingStyles.price}>+ <span className={pricingStyles.currency}>$</span>+ <span className={pricingStyles.amount}>{plan.price}</span>+ <span className={pricingStyles.period}>/{t('month')}</span>+ </div>+ {billingCycle === 'yearly' && plan.price > 0 && (+ <div className={pricingStyles.monthlyPrice}>+ ${(plan.price * 12).toFixed(0)} USD/{t('yearly')}+ </div>+ )}+ </div>+ </div>++ <div className={pricingStyles.planFeatures}>+ <div className={pricingStyles.mainFeatures}>+ <div className={pricingStyles.featureItem}>+ <span className={pricingStyles.featureLabel}>{t('credits')}</span>+ <span className={pricingStyles.featureValue}>{plan.credits}</span>+ </div>+ <div className={pricingStyles.featureItem}>+ <span className={pricingStyles.featureLabel}>{t('videos')}</span>+ <span className={pricingStyles.featureValue}>{plan.videos}</span>+ </div>+ <div className={pricingStyles.featureItem}>+ <span className={pricingStyles.featureLabel}>{t('images')}</span>+ <span className={pricingStyles.featureValue}>{plan.images}</span>+ </div>+ </div>++ <div className={pricingStyles.featuresList}>+ {plan.features.map((feature, featureIndex) => (+ <div key={featureIndex} className={pricingStyles.featureRow}>+ {feature.included ? (+ <CheckOutlined className={pricingStyles.checkIcon} />+ ) : (+ <CloseOutlined className={pricingStyles.closeIcon} />+ )}+ <span className={`${pricingStyles.featureText} ${!feature.included ? pricingStyles.disabled : ''}`}>+ {feature.text}+ </span>+ </div>+ ))}+ </div>+ </div>++ <Button+ type={plan.buttonType}+ size="large"+ className={pricingStyles.ctaButton}+ onClick={() => {+ if (plan.name === t('plans.free.name')) {+ // 跳转到注册页面+ window.location.href = '/vip';+ } else {+ // 跳转到支付页面+ window.location.href = '/vip';+ }+ }}+ >+ {plan.buttonText}+ </Button>+ </div>+ ))}+ </div>++ {/* FAQ Section */}+ <div className={pricingStyles.faqSection}>+ <h2 className={pricingStyles.faqTitle}>{t('faq.title')}</h2>+ <Collapse+ className={pricingStyles.faqCollapse}+ items={faqItems.map((faq, index) => ({+ key: index,+ label: faq.question,+ children: <p>{faq.answer}</p>+ }))}+ />+ </div>+ </div>+ </div>+ );+}+// Hero 主标题区function Hero() {const { t } = useTransClient('home');@@ -1431,23 +1671,54 @@ function Footer() {}export default function Home() {+ const [currentModule, setCurrentModule] = useState('home');+ const { lng } = useParams();+ const router = useRouter();++ // 检查URL参数来决定显示哪个模块+ useEffect(() => {+ const urlParams = new URLSearchParams(window.location.search);+ const module = urlParams.get('module');+ if (module === 'pricing') {+ setCurrentModule('pricing');+ } else {+ setCurrentModule('home');+ }+ }, []);++ // 处理模块切换+ const handleModuleChange = (module: string) => {+ setCurrentModule(module);+ if (module === 'pricing') {+ router.push(`/${lng}?module=pricing`);+ } else {+ router.push(`/${lng}`);+ }+ };+return (<div className={styles.difyHome}>{/* <ReleaseBanner /> */}- <Header />- <Hero />- <BrandBar />- <ContentPublishingSection />- <ContentHotspotSection />- <ContentSearchSection />- <CommentsSearchSection />- <ContentEngagementSection />- <UpcomingFeaturesSection />- <DownloadSection />- {/*<EnterpriseSection />- <StatsSection /> */}- {/* <CommunitySection /> */}- <Footer />+ <Header currentModule={currentModule} onModuleChange={handleModuleChange} />+ {currentModule === 'pricing' ? (+ <PricingModule />+ ) : (+ <>+ <Hero />+ <BrandBar />+ <ContentPublishingSection />+ <ContentHotspotSection />+ <ContentSearchSection />+ <CommentsSearchSection />+ <ContentEngagementSection />+ <UpcomingFeaturesSection />+ <DownloadSection />+ {/*<EnterpriseSection />+ <StatsSection /> */}+ {/* <CommunitySection /> */}+ <Footer />+ </>+ )}</div>);}diff --git a/src/app/[lng]/pricing/page.tsx b/src/app/[lng]/pricing/page.tsxdeleted file mode 100644index d5e9b73a..00000000--- a/src/app/[lng]/pricing/page.tsx+++ /dev/null@@ -1,203 +0,0 @@-"use client";--import { useState } from "react";-import { useTransClient } from "@/app/i18n/client";-import styles from "./pricing.module.scss";-import { Button } from "antd";-import { CheckOutlined, CloseOutlined } from "@ant-design/icons";--export default function PricingPage() {- const { t } = useTransClient('pricing');- const [billingCycle, setBillingCycle] = useState<'monthly' | 'yearly'>('yearly');-- const plans = [- {- name: t('plans.free.name'),- price: 0,- originalPrice: 0,- credits: t('plans.free.credits'),- videos: t('plans.free.videos'),- images: t('plans.free.images'),- features: [- { text: t('features.textModeration'), included: false },- { text: t('features.imageModeration'), included: false },- { text: t('features.videoModeration'), included: false },- { text: t('features.multiModel'), included: true },- { text: t('features.textToVideo'), included: true },- { text: t('features.imageToVideo'), included: true },- { text: t('features.videoToVideo'), included: true },- { text: t('features.consistentCharacter'), included: true },- { text: t('features.aiAnimation'), included: true },- { text: t('features.aiImage'), included: true },- { text: t('features.voiceClone'), included: true },- { text: t('features.voiceSynthesis'), included: true },- { text: t('features.fasterSpeed'), included: false },- { text: t('features.withWatermark'), included: true },- { text: t('features.storage500M'), included: true },- ],- buttonText: t('plans.free.button'),- buttonType: 'default' as const,- popular: false,- },- {- name: t('plans.plus.name'),- price: billingCycle === 'yearly' ? 14.5 : 29,- originalPrice: billingCycle === 'yearly' ? 29 : 29,- credits: t('plans.plus.credits'),- videos: t('plans.plus.videos'),- images: t('plans.plus.images'),- features: [- { text: t('features.textModeration'), included: true },- { text: t('features.imageModeration'), included: true },- { text: t('features.videoModeration'), included: true },- { text: t('features.multiModel'), included: true },- { text: t('features.textToVideo'), included: true },- { text: t('features.imageToVideo'), included: true },- { text: t('features.videoToVideo'), included: true },- { text: t('features.consistentCharacter'), included: true },- { text: t('features.aiAnimation'), included: true },- { text: t('features.aiImage'), included: true },- { text: t('features.voiceClone'), included: true },- { text: t('features.voiceSynthesis'), included: true },- { text: t('features.fasterSpeed'), included: true },- { text: t('features.noWatermark'), included: true },- { text: t('features.storage5G'), included: true },- ],- buttonText: t('plans.plus.button'),- buttonType: 'primary' as const,- popular: true,- },- ];-- return (- <div className={styles.pricingPage}>- <div className={styles.container}>- {/* Header */}- <div className={styles.header}>- <h1 className={styles.title}>{t('title')}</h1>- <p className={styles.subtitle}>{t('subtitle')}</p>- </div>-- {/* Billing Toggle */}- <div className={styles.billingToggle}>- <div className={styles.toggleContainer}>- <button- className={`${styles.toggleButton} ${billingCycle === 'monthly' ? styles.active : ''}`}- onClick={() => setBillingCycle('monthly')}- >- {t('monthly')}- </button>- <button- className={`${styles.toggleButton} ${billingCycle === 'yearly' ? styles.active : ''}`}- onClick={() => setBillingCycle('yearly')}- >- {t('yearly')}- {billingCycle === 'yearly' && (- <span className={styles.saveBadge}>{t('save50')}</span>- )}- </button>- </div>- </div>-- {/* Pricing Cards */}- <div className={styles.pricingCards}>- {plans.map((plan, index) => (- <div- key={plan.name}- className={`${styles.pricingCard} ${plan.popular ? styles.popular : ''}`}- >- {plan.popular && (- <div className={styles.popularBadge}>- {billingCycle === 'yearly' ? t('flashSale50') : t('mostPopular')}- </div>- )}-- <div className={styles.cardHeader}>- <h2 className={styles.planName}>{plan.name}</h2>- <div className={styles.priceContainer}>- {plan.originalPrice > plan.price && (- <span className={styles.originalPrice}>- ${plan.originalPrice} USD- </span>- )}- <div className={styles.price}>- <span className={styles.currency}>$</span>- <span className={styles.amount}>{plan.price}</span>- <span className={styles.period}>/{t('month')}</span>- </div>- {billingCycle === 'yearly' && plan.price > 0 && (- <div className={styles.monthlyPrice}>- ${(plan.price * 12).toFixed(0)} USD/{t('yearly')}- </div>- )}- </div>- </div>-- <div className={styles.planFeatures}>- <div className={styles.mainFeatures}>- <div className={styles.featureItem}>- <span className={styles.featureLabel}>{t('credits')}</span>- <span className={styles.featureValue}>{plan.credits}</span>- </div>- <div className={styles.featureItem}>- <span className={styles.featureLabel}>{t('videos')}</span>- <span className={styles.featureValue}>{plan.videos}</span>- </div>- <div className={styles.featureItem}>- <span className={styles.featureLabel}>{t('images')}</span>- <span className={styles.featureValue}>{plan.images}</span>- </div>- </div>-- <div className={styles.featuresList}>- {plan.features.map((feature, featureIndex) => (- <div key={featureIndex} className={styles.featureRow}>- {feature.included ? (- <CheckOutlined className={styles.checkIcon} />- ) : (- <CloseOutlined className={styles.closeIcon} />- )}- <span className={`${styles.featureText} ${!feature.included ? styles.disabled : ''}`}>- {feature.text}- </span>- </div>- ))}- </div>- </div>-- <Button- type={plan.buttonType}- size="large"- className={styles.ctaButton}- onClick={() => {- if (plan.name === t('plans.free.name')) {- // 跳转到注册页面- window.location.href = '/vip';- } else {- // 跳转到支付页面- window.location.href = '/vip';- }- }}- >- {plan.buttonText}- </Button>- </div>- ))}- </div>-- {/* FAQ Section */}- {/* <div className={styles.faqSection}>- <h2 className={styles.faqTitle}>{t('faq.title')}</h2>- <div className={styles.faqList}>- {t('faq.items', { returnObjects: true }).map((faq: any, index: number) => (- <div key={index} className={styles.faqItem}>- <h3 className={styles.faqQuestion}>{faq.question}</h3>- <p className={styles.faqAnswer}>{faq.answer}</p>- </div>- ))}- </div>- </div> */}- </div>- </div>- );-}diff --git a/src/app/[lng]/pricing/pricing.module.scss b/src/app/[lng]/pricing/pricing.module.scssdeleted file mode 100644index 7fddecc0..00000000--- a/src/app/[lng]/pricing/pricing.module.scss+++ /dev/null@@ -1,393 +0,0 @@-.pricingPage {- background: #ffffff;- padding: 20px 0;- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;-}--.container {- max-width: 1200px;- margin: 0 auto;- padding: 0 20px;-}--.header {- text-align: center;- margin-bottom: 60px;-- .title {- font-size: 2.5rem;- font-weight: 700;- color: #1f2937;- margin-bottom: 16px;- letter-spacing: -0.025em;- }-- .subtitle {- font-size: 1.125rem;- color: #6b7280;- max-width: 600px;- margin: 0 auto;- line-height: 1.6;- }-}--.billingToggle {- display: flex;- justify-content: center;- margin-bottom: 60px;-- .toggleContainer {- background: #f3f4f6;- border-radius: 8px;- padding: 4px;- display: flex;- border: 1px solid #e5e7eb;-- .toggleButton {- background: transparent;- border: none;- color: #6b7280;- padding: 12px 24px;- border-radius: 6px;- cursor: pointer;- font-size: 1rem;- font-weight: 600;- transition: all 0.2s ease;- position: relative;- display: flex;- align-items: center;- gap: 8px;-- &.active {- background: #ffffff;- color: #1f2937;- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);- }-- &:hover:not(.active) {- background: #e5e7eb;- color: #374151;- }-- .saveBadge {- background: #C026D2;- color: white;- padding: 2px 8px;- border-radius: 6px;- font-size: 0.75rem;- font-weight: 600;- margin-left: 4px;- }- }- }-}--.pricingCards {- display: grid;- grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));- gap: 24px;- margin-bottom: 60px;-}--.pricingCard {- background: #ffffff;- border-radius: 16px;- padding: 32px;- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);- position: relative;- transition: all 0.3s ease;- border: 1px solid #e5e7eb;-- &:hover {- transform: translateY(-2px);- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);- }-- &.popular {- border-color: #C026D2;- box-shadow: 0 4px 12px rgba(192, 38, 210, 0.15);-- .popularBadge {- position: absolute;- top: -12px;- right: 20px;- background: #C026D2;- color: white;- padding: 6px 12px;- border-radius: 12px;- font-size: 0.75rem;- font-weight: 600;- }- }-}--.cardHeader {- text-align: center;- margin-bottom: 32px;-- .planName {- font-size: 1.5rem;- font-weight: 700;- color: #1f2937;- margin-bottom: 16px;- }-- .priceContainer {- .originalPrice {- display: block;- font-size: 1rem;- color: #9ca3af;- text-decoration: line-through;- margin-bottom: 8px;- }-- .price {- display: flex;- align-items: baseline;- justify-content: center;- gap: 2px;- margin-bottom: 8px;-- .currency {- font-size: 1.5rem;- font-weight: 600;- color: #C026D2;- }-- .amount {- font-size: 3rem;- font-weight: 800;- color: #1f2937;- line-height: 1;- letter-spacing: -0.025em;- }-- .period {- font-size: 1rem;- color: #6b7280;- font-weight: 500;- }- }-- .monthlyPrice {- font-size: 0.875rem;- color: #6b7280;- font-weight: 500;- margin-top: 4px;- text-align: center;- }- }-}--.planFeatures {- .mainFeatures {- margin-bottom: 32px;- padding: 20px;- background: #f8fafc;- border-radius: 12px;- border: 1px solid #e2e8f0;-- .featureItem {- display: flex;- justify-content: space-between;- align-items: center;- margin-bottom: 12px;-- &:last-child {- margin-bottom: 0;- }-- .featureLabel {- font-weight: 600;- color: #374151;- font-size: 0.875rem;- }-- .featureValue {- font-weight: 700;- color: #1f2937;- font-size: 0.875rem;- }- }- }-- .featuresList {- margin-bottom: 32px;-- .featureRow {- display: flex;- align-items: center;- margin-bottom: 10px;- gap: 10px;-- .checkIcon {- color: #10b981;- font-size: 1rem;- flex-shrink: 0;- background: #ecfdf5;- padding: 2px;- border-radius: 4px;- }-- .closeIcon {- color: #ef4444;- font-size: 1rem;- flex-shrink: 0;- background: #fef2f2;- padding: 2px;- border-radius: 4px;- }-- .featureText {- font-size: 0.875rem;- color: #374151;- line-height: 1.5;- font-weight: 500;-- &.disabled {- color: #9ca3af;- text-decoration: line-through;- font-weight: 400;- }- }- }- }-}--.ctaButton {- width: 100%;- height: 48px;- border-radius: 8px;- font-size: 1rem;- font-weight: 600;- border: none;- transition: all 0.2s ease;-- &.ant-btn-primary {- background: #C026D2;- color: white;-- &:hover {- background: #a21caf;- transform: translateY(-1px);- box-shadow: 0 2px 8px rgba(192, 38, 210, 0.25);- }-- &:active {- transform: translateY(0);- }- }-- &.ant-btn-default {- background: #ffffff;- color: #374151;- border: 1px solid #d1d5db;-- &:hover {- background: #f9fafb;- border-color: #C026D2;- color: #C026D2;- transform: translateY(-1px);- }-- &:active {- transform: translateY(0);- }- }-}--// 响应式设计-@media (max-width: 768px) {- .pricingPage {- padding: 40px 0;- }-- .container {- padding: 0 16px;- }-- .header {- margin-bottom: 40px;-- .title {- font-size: 2rem;- }-- .subtitle {- font-size: 1rem;- }- }-- .billingToggle {- margin-bottom: 40px;-- .toggleContainer {- .toggleButton {- padding: 10px 16px;- font-size: 0.875rem;- }- }- }-- .pricingCards {- grid-template-columns: 1fr;- gap: 20px;- margin-bottom: 40px;- }-- .pricingCard {- padding: 24px 20px;-- &.popular {- transform: none;- }-- .cardHeader {- .planName {- font-size: 1.25rem;- }-- .priceContainer {- .price {- .currency {- font-size: 1.25rem;- }-- .amount {- font-size: 2.5rem;- }-- .period {- font-size: 0.875rem;- }- }- }- }-- .planFeatures {- .mainFeatures {- padding: 16px;- }- }- }-}--@media (max-width: 480px) {- .pricingCard {- padding: 20px 16px;-- .cardHeader {- .priceContainer {- .price {- .currency {- font-size: 1rem;- }-- .amount {- font-size: 2rem;- }- }- }- }- }-}diff --git a/src/app/[lng]/pricing/redme.txt b/src/app/[lng]/pricing/redme.txtdeleted file mode 100644index 37e95a78..00000000--- a/src/app/[lng]/pricing/redme.txt+++ /dev/null@@ -1,41 +0,0 @@-Frequently Asked Questions (FAQ)-1. What payment methods do you support?- We support multiple payment methods, including major credit cards (Visa, MasterCard, American Express) as well as Alipay.-2. Can I use Alipay?- Yes. If you are using our services in China, you can purchase one-time services with Alipay.-3. How are credits deducted for image and video generation?- Our pricing for image and video generation is aligned with the official channels. If bulk purchases from the official channels come with discounts, we will also pass those discounts on to you.-AI视频模块升级-4. Do my credits expire?- Our credit expiration policy is very flexible. Credits will only expire 12 calendar months after they are acquired, giving you plenty of time to use them.-5. What if I need more credits?- You can earn free credits by publishing content daily.- In addition, you can get more credits by subscribing to a membership or purchasing credits directly.-6. How can I check my credit status?- Simply click on your credit balance to view detailed changes and usage history.-7. Are there any hidden fees?- No. The price you see is the price you pay. There are no hidden charges beyond the plan you select.----------常见问题(FAQ)-1. 你们支持哪些支付方式?- 我们支持多种支付方式,包括主要的信用卡(Visa、MasterCard、American Express)以及支付宝等。-2. 可以使用支付宝吗?- 可以。如果您在中国使用我们的服务,可以通过支付宝购买一次性服务。-3. 图片和视频生成时,积分是如何扣除的?- 我们的图片和视频生成定价与官方渠道保持一致。通常情况下,如果官方渠道有大额采购折扣,我们也会同步将这些优惠让利给您。-把积分详情表展示给用户看-AI视频模块升级-4. 我的积分会过期吗?- 我们的积分过期机制非常宽松。积分自获取之日起 12 个自然月后才会过期,您有充足的时间使用。-5. 如果我需要更多积分怎么办?- 您可以通过每天发布内容来获取免费积分。- 同时,也可以通过开通会员或直接购买积分的方式获得更多积分。-6. 如何查看我的积分情况?- 点击您的积分余额,即可查看积分的变更明细。-7. 是否存在隐藏费用?- 没有。您所看到的价格就是您最终支付的价格,不会有任何额外的隐性收费。\ No newline at end of filediff --git a/src/app/[lng]/styles/difyHome.module.scss b/src/app/[lng]/styles/difyHome.module.scssindex fe16beac..a2d57fb0 100644--- a/src/app/[lng]/styles/difyHome.module.scss+++ b/src/app/[lng]/styles/difyHome.module.scss@@ -94,10 +94,32 @@font-weight: 500;font-size: 16px;transition: color 0.2s ease;+ background: none;+ border: none;+ cursor: pointer;+ font-family: inherit;+ padding: 0;&:hover {color: #4f46e5;}++ &.active {+ color: #4f46e5;+ font-weight: 600;+ position: relative;++ &::after {+ content: '';+ position: absolute;+ bottom: -4px;+ left: 0;+ right: 0;+ height: 2px;+ background: #4f46e5;+ border-radius: 1px;+ }+ }}.getStartedBtn {@@ -1907,4 +1929,425 @@60% {transform: translateY(-5px);}-}\ No newline at end of file+}+++++++++++++.pricingPage {+ min-height: 100vh;+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);+ padding: 2rem 0;+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;++ .container {+ max-width: 1200px;+ margin: 0 auto;+ padding: 0 1rem;+ }++ .backToHome {+ display: flex;+ justify-content: flex-start;+ margin-bottom: 2rem;++ .backButton {+ display: flex;+ align-items: center;+ gap: 8px;+ background: rgba(255, 255, 255, 0.1);+ border: 1px solid rgba(255, 255, 255, 0.2);+ color: white;+ padding: 12px 20px;+ border-radius: 8px;+ font-size: 14px;+ font-weight: 500;+ cursor: pointer;+ transition: all 0.3s ease;+ backdrop-filter: blur(10px);++ &:hover {+ background: rgba(255, 255, 255, 0.2);+ border-color: rgba(255, 255, 255, 0.3);+ transform: translateY(-1px);+ }++ svg {+ transition: transform 0.2s ease;+ }++ &:hover svg {+ transform: translateX(-2px);+ }+ }+ }++ .header {+ text-align: center;+ margin-bottom: 3rem;++ .title {+ font-size: 3.5rem;+ font-weight: 700;+ color: white;+ margin-bottom: 1rem;+ line-height: 1.2;+ }++ .subtitle {+ font-size: 1.4rem;+ color: rgba(255, 255, 255, 0.9);+ max-width: 600px;+ margin: 0 auto;+ line-height: 1.5;+ }+ }++ .billingToggle {+ display: flex;+ justify-content: center;+ margin-bottom: 3rem;++ .toggleContainer {+ display: flex;+ background: rgba(255, 255, 255, 0.1);+ border-radius: 12px;+ padding: 4px;+ backdrop-filter: blur(10px);+ border: 1px solid rgba(255, 255, 255, 0.2);++ .toggleButton {+ position: relative;+ padding: 1rem 2rem;+ border: none;+ background: transparent;+ color: rgba(255, 255, 255, 0.8);+ font-size: 1.1rem;+ font-weight: 600;+ border-radius: 8px;+ cursor: pointer;+ transition: all 0.3s ease;+ min-width: 120px;++ &:hover {+ color: white;+ }++ &.active {+ background: white;+ color: #667eea;+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);+ }++ .saveBadge {+ position: absolute;+ top: -8px;+ right: -8px;+ background: #ff6b6b;+ color: white;+ font-size: 0.75rem;+ font-weight: 700;+ padding: 4px 8px;+ border-radius: 12px;+ white-space: nowrap;+ box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);+ }+ }+ }+ }++ .pricingCards {+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));+ gap: 2rem;+ margin-bottom: 4rem;++ .pricingCard {+ background: white;+ border-radius: 20px;+ padding: 2.5rem;+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);+ position: relative;+ transition: all 0.3s ease;+ border: 2px solid transparent;++ &:hover {+ transform: translateY(-8px);+ box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);+ }++ &.popular {+ border-color: #667eea;+ transform: scale(1.05);++ .popularBadge {+ position: absolute;+ top: -12px;+ left: 50%;+ transform: translateX(-50%);+ background: linear-gradient(135deg, #667eea, #764ba2);+ color: white;+ padding: 0.5rem 1.5rem;+ border-radius: 20px;+ font-size: 0.9rem;+ font-weight: 700;+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);+ }+ }++ .cardHeader {+ text-align: center;+ margin-bottom: 2rem;++ .planName {+ font-size: 2.2rem;+ font-weight: 700;+ color: #2d3748;+ margin-bottom: 1rem;+ }++ .priceContainer {+ .originalPrice {+ display: block;+ font-size: 1.1rem;+ color: #a0aec0;+ text-decoration: line-through;+ margin-bottom: 0.5rem;+ }++ .price {+ display: flex;+ align-items: baseline;+ justify-content: center;+ gap: 0.25rem;++ .currency {+ font-size: 1.5rem;+ font-weight: 600;+ color: #2d3748;+ }++ .amount {+ font-size: 3.5rem;+ font-weight: 700;+ color: #667eea;+ line-height: 1;+ }++ .period {+ font-size: 1.2rem;+ color: #718096;+ font-weight: 500;+ }+ }++ .monthlyPrice {+ font-size: 1rem;+ color: #718096;+ margin-top: 0.5rem;+ font-weight: 500;+ }+ }+ }++ .planFeatures {+ .mainFeatures {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 1rem;+ margin-bottom: 2rem;+ padding: 1.5rem;+ background: #f7fafc;+ border-radius: 12px;++ .featureItem {+ text-align: center;++ .featureLabel {+ display: block;+ font-size: 0.9rem;+ color: #718096;+ font-weight: 500;+ margin-bottom: 0.5rem;+ }++ .featureValue {+ display: block;+ font-size: 1.1rem;+ font-weight: 700;+ color: #2d3748;+ }+ }+ }++ .featuresList {+ .featureRow {+ display: flex;+ align-items: center;+ gap: 0.75rem;+ margin-bottom: 1rem;+ font-size: 1rem;++ .checkIcon {+ color: #48bb78;+ font-size: 1.1rem;+ flex-shrink: 0;+ }++ .closeIcon {+ color: #e53e3e;+ font-size: 1.1rem;+ flex-shrink: 0;+ }++ .featureText {+ color: #2d3748;+ font-weight: 500;++ &.disabled {+ color: #a0aec0;+ }+ }+ }+ }+ }++ .ctaButton {+ width: 100%;+ height: 3.5rem;+ font-size: 1.1rem;+ font-weight: 600;+ border-radius: 12px;+ margin-top: 2rem;+ transition: all 0.3s ease;++ &:hover {+ transform: translateY(-2px);+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);+ }+ }+ }+ }++ .faqSection {+ background: white;+ border-radius: 20px;+ padding: 3rem;+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);++ .faqTitle {+ font-size: 2.5rem;+ font-weight: 700;+ color: #2d3748;+ text-align: center;+ margin-bottom: 2.5rem;+ }++ .faqCollapse {+ max-width: 800px;+ margin: 0 auto;++ :global(.ant-collapse-item) {+ border: 1px solid #e2e8f0;+ border-radius: 12px;+ margin-bottom: 1rem;+ overflow: hidden;++ &:last-child {+ margin-bottom: 0;+ }+ }++ :global(.ant-collapse-header) {+ font-size: 1.1rem;+ font-weight: 600;+ color: #2d3748;+ padding: 1.5rem;+ background: #f7fafc;+ border-bottom: 1px solid #e2e8f0;++ &:hover {+ background: #edf2f7;+ }+ }++ :global(.ant-collapse-content) {+ background: white;+ }++ :global(.ant-collapse-content-box) {+ padding: 1.5rem;+ font-size: 1rem;+ line-height: 1.6;+ color: #4a5568;+ }+ }+ }+}++// 响应式设计+@media (max-width: 768px) {+ .pricingPage {+ padding: 1rem 0;++ .header {+ .title {+ font-size: 2.5rem;+ }++ .subtitle {+ font-size: 1.2rem;+ }+ }++ .pricingCards {+ grid-template-columns: 1fr;+ gap: 1.5rem;++ .pricingCard {+ padding: 2rem;++ &.popular {+ transform: none;+ }++ .cardHeader {+ .planName {+ font-size: 1.8rem;+ }++ .priceContainer {+ .price {+ .amount {+ font-size: 2.8rem;+ }+ }+ }+ }++ .planFeatures {+ .mainFeatures {+ grid-template-columns: 1fr;+ gap: 0.75rem;+ }+ }+ }+ }++ .faqSection {+ padding: 2rem;++ .faqTitle {+ font-size: 2rem;+ }+ }+ }+}diff --git a/src/app/[lng]/styles/pricing.module.scss b/src/app/[lng]/styles/pricing.module.scssnew file mode 100644index 00000000..d201535d--- /dev/null+++ b/src/app/[lng]/styles/pricing.module.scss@@ -0,0 +1,438 @@+.pricingPage {+ min-height: 100vh;+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);+ padding: 2rem 0;+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;+}++.container {+ max-width: 1200px;+ margin: 0 auto;+ padding: 0 2rem;+}++.header {+ text-align: center;+ margin-bottom: 3rem;+ color: white;+}++.title {+ font-size: 3.5rem;+ font-weight: 700;+ margin-bottom: 1rem;+ background: linear-gradient(45deg, #fff, #f0f0f0);+ -webkit-background-clip: text;+ -webkit-text-fill-color: transparent;+ background-clip: text;+}++.subtitle {+ font-size: 1.25rem;+ opacity: 0.9;+ max-width: 600px;+ margin: 0 auto;+ line-height: 1.6;+}++.billingToggle {+ display: flex;+ justify-content: center;+ margin-bottom: 3rem;+}++.toggleContainer {+ background: rgba(255, 255, 255, 0.1);+ border-radius: 50px;+ padding: 0.5rem;+ backdrop-filter: blur(10px);+ border: 1px solid rgba(255, 255, 255, 0.2);+}++.toggleButton {+ background: transparent;+ border: none;+ color: white;+ padding: 1rem 2rem;+ border-radius: 40px;+ font-size: 1rem;+ font-weight: 600;+ cursor: pointer;+ transition: all 0.3s ease;+ position: relative;+ margin: 0 0.25rem;+}++.toggleButton.active {+ background: rgba(255, 255, 255, 0.2);+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);+}++.saveBadge {+ position: absolute;+ top: -8px;+ right: -8px;+ background: #ff4757;+ color: white;+ font-size: 0.75rem;+ padding: 0.25rem 0.5rem;+ border-radius: 12px;+ font-weight: 600;+ animation: pulse 2s infinite;+}++@keyframes pulse {+ 0% { transform: scale(1); }+ 50% { transform: scale(1.05); }+ 100% { transform: scale(1); }+}++.pricingCards {+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));+ gap: 2rem;+ margin-bottom: 4rem;+}++.pricingCard {+ background: rgba(255, 255, 255, 0.95);+ border-radius: 24px;+ padding: 2.5rem;+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);+ backdrop-filter: blur(10px);+ border: 1px solid rgba(255, 255, 255, 0.2);+ transition: all 0.3s ease;+ position: relative;+ overflow: hidden;+}++.pricingCard:hover {+ transform: translateY(-10px);+ box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);+}++.pricingCard.popular {+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);+ color: white;+ transform: scale(1.05);+}++.pricingCard.popular::before {+ content: '';+ position: absolute;+ top: 0;+ left: 0;+ right: 0;+ height: 4px;+ background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);+ background-size: 300% 100%;+ animation: gradientShift 3s ease infinite;+}++@keyframes gradientShift {+ 0% { background-position: 0% 50%; }+ 50% { background-position: 100% 50%; }+ 100% { background-position: 0% 50%; }+}++.popularBadge {+ position: absolute;+ top: 1rem;+ right: 1rem;+ background: #ff4757;+ color: white;+ padding: 0.5rem 1rem;+ border-radius: 20px;+ font-size: 0.875rem;+ font-weight: 600;+ z-index: 1;+}++.cardHeader {+ text-align: center;+ margin-bottom: 2rem;+}++.planName {+ font-size: 1.75rem;+ font-weight: 700;+ margin-bottom: 1rem;+ color: #2c3e50;+}++.pricingCard.popular .planName {+ color: white;+}++.priceContainer {+ position: relative;+}++.originalPrice {+ display: block;+ font-size: 1rem;+ color: #95a5a6;+ text-decoration: line-through;+ margin-bottom: 0.5rem;+}++.pricingCard.popular .originalPrice {+ color: rgba(255, 255, 255, 0.7);+}++.price {+ display: flex;+ align-items: baseline;+ justify-content: center;+ gap: 0.25rem;+}++.currency {+ font-size: 1.5rem;+ font-weight: 600;+ color: #2c3e50;+}++.pricingCard.popular .currency {+ color: white;+}++.amount {+ font-size: 3.5rem;+ font-weight: 700;+ color: #2c3e50;+ line-height: 1;+}++.pricingCard.popular .amount {+ color: white;+}++.period {+ font-size: 1.25rem;+ color: #7f8c8d;+ font-weight: 500;+}++.pricingCard.popular .period {+ color: rgba(255, 255, 255, 0.8);+}++.monthlyPrice {+ font-size: 0.875rem;+ color: #7f8c8d;+ margin-top: 0.5rem;+}++.pricingCard.popular .monthlyPrice {+ color: rgba(255, 255, 255, 0.7);+}++.planFeatures {+ margin-bottom: 2rem;+}++.mainFeatures {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 1rem;+ margin-bottom: 2rem;+ padding: 1.5rem;+ background: rgba(0, 0, 0, 0.02);+ border-radius: 16px;+}++.pricingCard.popular .mainFeatures {+ background: rgba(255, 255, 255, 0.1);+}++.featureItem {+ text-align: center;+}++.featureLabel {+ display: block;+ font-size: 0.875rem;+ color: #7f8c8d;+ margin-bottom: 0.5rem;+ font-weight: 500;+}++.pricingCard.popular .featureLabel {+ color: rgba(255, 255, 255, 0.7);+}++.featureValue {+ display: block;+ font-size: 1.25rem;+ font-weight: 700;+ color: #2c3e50;+}++.pricingCard.popular .featureValue {+ color: white;+}++.featuresList {+ space-y: 1rem;+}++.featureRow {+ display: flex;+ align-items: center;+ gap: 0.75rem;+ padding: 0.75rem 0;+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);+}++.pricingCard.popular .featureRow {+ border-bottom-color: rgba(255, 255, 255, 0.1);+}++.featureRow:last-child {+ border-bottom: none;+}++.checkIcon {+ color: #27ae60;+ font-size: 1.125rem;+ flex-shrink: 0;+}++.pricingCard.popular .checkIcon {+ color: #2ecc71;+}++.closeIcon {+ color: #e74c3c;+ font-size: 1.125rem;+ flex-shrink: 0;+}++.pricingCard.popular .closeIcon {+ color: #ff6b6b;+}++.featureText {+ font-size: 0.95rem;+ color: #2c3e50;+ font-weight: 500;+}++.pricingCard.popular .featureText {+ color: white;+}++.featureText.disabled {+ color: #95a5a6;+ text-decoration: line-through;+}++.pricingCard.popular .featureText.disabled {+ color: rgba(255, 255, 255, 0.5);+}++.ctaButton {+ width: 100%;+ height: 3.5rem;+ font-size: 1.125rem;+ font-weight: 600;+ border-radius: 16px;+ border: none;+ cursor: pointer;+ transition: all 0.3s ease;+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);+ color: white;+}++.ctaButton:hover {+ transform: translateY(-2px);+ box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);+}++.pricingCard.popular .ctaButton {+ background: white;+ color: #667eea;+}++.pricingCard.popular .ctaButton:hover {+ background: #f8f9fa;+ box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);+}++.faqSection {+ background: rgba(255, 255, 255, 0.95);+ border-radius: 24px;+ padding: 3rem;+ backdrop-filter: blur(10px);+ border: 1px solid rgba(255, 255, 255, 0.2);+}++.faqTitle {+ text-align: center;+ font-size: 2.5rem;+ font-weight: 700;+ margin-bottom: 2rem;+ color: #2c3e50;+}++.faqCollapse {+ background: transparent;+ border: none;+}++.faqCollapse :global(.ant-collapse-item) {+ border: 1px solid rgba(0, 0, 0, 0.1);+ border-radius: 12px;+ margin-bottom: 1rem;+ overflow: hidden;+}++.faqCollapse :global(.ant-collapse-header) {+ font-size: 1.125rem;+ font-weight: 600;+ color: #2c3e50;+ padding: 1.5rem;+}++.faqCollapse :global(.ant-collapse-content) {+ border-top: 1px solid rgba(0, 0, 0, 0.1);+}++.faqCollapse :global(.ant-collapse-content-box) {+ padding: 1.5rem;+ color: #7f8c8d;+ line-height: 1.6;+}++@media (max-width: 768px) {+ .container {+ padding: 0 1rem;+ }++ .title {+ font-size: 2.5rem;+ }++ .pricingCards {+ grid-template-columns: 1fr;+ gap: 1.5rem;+ }++ .pricingCard {+ padding: 2rem;+ }++ .mainFeatures {+ grid-template-columns: 1fr;+ gap: 0.75rem;+ }++ .faqSection {+ padding: 2rem;+ }++ .faqTitle {+ font-size: 2rem;+ }+}diff --git a/src/app/i18n/locales/en/pricing.json b/src/app/i18n/locales/en/pricing.jsonindex 817c82b6..7fd73601 100644--- a/src/app/i18n/locales/en/pricing.json+++ b/src/app/i18n/locales/en/pricing.json@@ -1,10 +1,13 @@{- "title": "Plans & Pricing",+++ "title": "Pricing & Plans","subtitle": "Choose the plan that best fits your needs and start your AI creation journey","monthly": "Monthly","yearly": "Yearly",+ "save25": "Save 25%","save50": "Save 50%",- "month": "mo",+ "month": "month","credits": "Credits","videos": "Videos","images": "Images",@@ -47,27 +50,33 @@},"faq": {"title": "Frequently Asked Questions",- "items": [- {- "question": "How do I choose the right plan?",- "answer": "If you're an individual user or just starting with AI creation, we recommend trying the Free plan first. If you need more features and higher usage limits, the Plus plan is a better choice."- },- {- "question": "Can I upgrade or downgrade my plan anytime?",- "answer": "Yes, you can upgrade to a higher plan at any time. Downgrades will take effect at the end of your current billing cycle."- },- {- "question": "How are credits calculated?",- "answer": "Credits are calculated based on the type and complexity of content you generate. Video generation consumes more credits, while image generation uses fewer credits."- },- {- "question": "What payment methods do you support?",- "answer": "We support various payment methods including credit cards, debit cards, PayPal, and more to ensure a secure and convenient payment experience."- },- {- "question": "Do you have a refund policy?",- "answer": "We offer a 7-day money-back guarantee. If you're not satisfied with our service, you can request a full refund within 7 days of purchase."- }- ]+ "paymentMethods": {+ "question": "What payment methods do you support?",+ "answer": "We support multiple payment methods, including major credit cards (Visa, MasterCard, American Express) as well as Alipay. If you are using our services in China, you can purchase one-time services with Alipay."+ },+ "creditDeduction": {+ "question": "How are credits deducted for image and video generation?",+ "answer": "Our pricing for image and video generation is aligned with the official channels. If bulk purchases from the official channels come with discounts, we will also pass those discounts on to you."+ },+ "creditExpiry": {+ "question": "Do my credits expire?",+ "answer": "Our credit expiration policy is very flexible. Credits will only expire 12 calendar months after they are acquired, giving you plenty of time to use them."+ },+ "moreCredits": {+ "question": "What if I need more credits?",+ "answer": "You can earn free credits by publishing content daily. In addition, you can get more credits by subscribing to a membership or purchasing credits directly."+ },+ "checkCredits": {+ "question": "How can I check my credit status?",+ "answer": "Simply click on your credit balance to view detailed changes and usage history."+ },+ "hiddenFees": {+ "question": "Are there any hidden fees?",+ "answer": "No. The price you see is the price you pay. There are no hidden charges beyond the plan you select."+ },+ "refundPolicy": {+ "question": "What is your refund policy?",+ "answer": "We provide a 7-day money-back guarantee. If you are not satisfied with our service, you can request a full refund within 7 days of purchase."+ }}}diff --git a/src/app/i18n/locales/zh-CN/pricing.json b/src/app/i18n/locales/zh-CN/pricing.jsonindex 22c12275..5838e9bd 100644--- a/src/app/i18n/locales/zh-CN/pricing.json+++ b/src/app/i18n/locales/zh-CN/pricing.json@@ -3,6 +3,7 @@"subtitle": "选择最适合您需求的套餐,开始您的AI创作之旅","monthly": "月付","yearly": "年付",+ "save25": "省25%","save50": "省50%","month": "月","credits": "积分",@@ -47,27 +48,33 @@},"faq": {"title": "常见问题",- "items": [- {- "question": "如何选择合适的套餐?",- "answer": "如果您是个人用户或刚开始使用AI创作,建议选择Free套餐体验。如果您需要更多功能和更高的使用限制,Plus套餐是更好的选择。"- },- {- "question": "可以随时升级或降级套餐吗?",- "answer": "是的,您可以随时升级到更高套餐。降级将在当前计费周期结束后生效。"- },- {- "question": "积分是如何计算的?",- "answer": "积分根据您生成的内容类型和复杂度计算。视频生成消耗更多积分,图片生成消耗较少积分。"- },- {- "question": "支持哪些支付方式?",- "answer": "我们支持信用卡、借记卡、PayPal等多种支付方式,确保安全便捷的支付体验。"- },- {- "question": "有退款政策吗?",- "answer": "我们提供7天无理由退款保证。如果您对服务不满意,可以在购买后7天内申请全额退款。"- }- ]+ "paymentMethods": {+ "question": "你们支持哪些支付方式?",+ "answer": "我们支持多种支付方式,包括主要的信用卡(Visa、MasterCard、American Express)以及支付宝等。如果您在中国使用我们的服务,可以通过支付宝购买一次性服务。"+ },+ "creditDeduction": {+ "question": "图片和视频生成时,积分是如何扣除的?",+ "answer": "我们的图片和视频生成定价与官方渠道保持一致。通常情况下,如果官方渠道有大额采购折扣,我们也会同步将这些优惠让利给您。"+ },+ "creditExpiry": {+ "question": "我的积分会过期吗?",+ "answer": "我们的积分过期机制非常宽松。积分自获取之日起 12 个自然月后才会过期,您有充足的时间使用。"+ },+ "moreCredits": {+ "question": "如果我需要更多积分怎么办?",+ "answer": "您可以通过每天发布内容来获取免费积分。同时,也可以通过开通会员或直接购买积分的方式获得更多积分。"+ },+ "checkCredits": {+ "question": "如何查看我的积分情况?",+ "answer": "点击您的积分余额,即可查看积分的变更明细。"+ },+ "hiddenFees": {+ "question": "是否存在隐藏费用?",+ "answer": "没有。您所看到的价格就是您最终支付的价格,不会有任何额外的隐性收费。"+ },+ "refundPolicy": {+ "question": "有退款政策吗?",+ "answer": "我们提供7天无理由退款保证。如果您对服务不满意,可以在购买后7天内申请全额退款。"+ }}}