PageSourceSearch

https://wodeapp.ai/assets/PricingPage-v1CFRG9J.js

js wodeapp.ai collected 2026-09-24 14:07:53 UTC 8,451 bytes, 1 lines download raw bytes

1import{r as c,j as e}from"./react-vendor-BxoUhqX6.js";import{b as f,u as j,a as b,E as y,y as h,C as N,k as v}from"./index-CR94Sc3y.js";import{A as w}from"./arrow-left-tmmVnOsc.js";import{C as P}from"./chevron-down-vJuovLQF.js";import{C}from"./chevron-up-BhPjtVsF.js";import{C as S}from"./circle-check-CtIO4ZQT.js";import{u as q}from"./usePageMeta-C94jjl0E.js";import{P as k}from"./PricingContent-C66bF2CD.js";import"./clsx-B-dksMZM.js";import"./i18n-vendor-Coo-X0AG.js";import"./check-DJEGI8P0.js";import"./external-link-BN1OQuTi.js";import"./imageCredits-B_TbiSbG.js";const E=["q1","q2","q3","q4","q5"],K=()=>{const{t:r}=f();q({title:r("pricing.title"),description:r("seo.pricingDescription")});const p=j(),[o,u]=c.useState(null),[l]=b(),i=l.get("success")==="true",x=l.get("canceled")==="true",d=l.get("session_id"),m=l.get("out_trade_no"),[g,t]=c.useState("idle"),a=y();return c.useEffect(()=>{!i||g!=="idle"||(d&&!a&&(t("syncing"),h("/mainserver/api/stripe/sync-session",{method:"POST",body:JSON.stringify({sessionId:d})}).then(s=>s.json()).then(s=>{s.success?(t("synced"),console.log("[PricingPage] Stripe session synced:",s.data)):(t("error"),console.warn("[PricingPage] Stripe sync failed:",s.error))}).catch(s=>{t("error"),console.error("[PricingPage] Stripe sync error:",s)})),m&&a&&(t("syncing"),h("/mainserver/api/alipay/sync-order",{method:"POST",body:JSON.stringify({outTradeNo:m})}).then(s=>s.json()).then(s=>{s.success?(t("synced"),console.log("[PricingPage] Alipay order synced:",s.data)):(t("error"),console.warn("[PricingPage] Alipay sync failed:",s.error))}).catch(s=>{t("error"),console.error("[PricingPage] Alipay sync error:",s)})))},[i,d,m,g,a]),c.useEffect(()=>{if(i||x){const s=setTimeout(()=>{window.history.replaceState({},"","/pricing")},8e3);return()=>clearTimeout(s)}},[i,x]),e.jsxs("div",{className:"min-h-screen pb-16",children:[i&&e.jsxs("div",{className:"fixed top-4 left-1/2 -translate-x-1/2 z-50 bg-green-600 text-white px-6 py-3 rounded-xl shadow-lg flex items-center gap-3 animate-scale-in",children:[e.jsx(S,{className:"w-5 h-5"}),e.jsx("span",{className:"font-medium",children:r("pricing.paymentSuccess")})]}),x&&e.jsxs("div",{className:"fixed top-4 left-1/2 -translate-x-1/2 z-50 bg-gray-700 text-white px-6 py-3 rounded-xl shadow-lg flex items-center gap-3 animate-scale-in",children:[e.jsx(N,{className:"w-5 h-5"}),e.jsx("span",{className:"font-medium",children:r("pricing.paymentCanceled")})]}),e.jsxs("div",{className:"max-w-5xl mx-auto px-6 pt-8 pb-2",children:[e.jsxs(v,{to:"/",className:"inline-flex items-center gap-2 text-gray-500 hover:text-gray-900 mb-6 transition-colors",children:[e.jsx(w,{className:"w-4 h-4"}),r("pricing.backToHome")]}),e.jsx("h1",{className:"text-2xl font-semibold text-gray-900",children:r("pricing.title")}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 max-w-xl",children:r("pricing.subtitle")})]}),e.jsx("div",{className:"max-w-5xl mx-auto px-6 mt-6",children:e.jsx(k,{})}),a&&e.jsxs("div",{className:"max-w-4xl mx-auto px-6 mt-16",children:[e.jsx("h2",{className:"text-lg font-bold text-gray-800 text-center mb-6",children:"服务说明"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"bg-blue-50 border border-blue-100 rounded-2xl p-5",children:[e.jsx("div",{className:"flex items-center gap-2 mb-3",children:e.jsx("h3",{className:"font-semibold text-blue-900",children:"商品性质"})}),e.jsxs("p",{className:"text-sm text-blue-800 leading-relaxed",children:["本平台销售虚拟数字商品——",e.jsx("strong",{children:"AI 积分"}),"和",e.jsx("strong",{children:"订阅服务"}),"。 积分用于调用平台上的 AI 大模型能力(文本生成、图像创作、视频合成、语音合成等), 
1订阅服务提供按月/年的积分配额及增值功能。"]}),e.jsx("p",{className:"text-xs text-blue-600 mt-2 font-medium",children:"商品类型:虚拟服务 / 软件服务"})]}),e.jsxs("div",{className:"bg-green-50 border border-green-100 rounded-2xl p-5",children:[e.jsx("div",{className:"flex items-center gap-2 mb-3",children:e.jsx("h3",{className:"font-semibold text-green-900",children:"交付方式"})}),e.jsxs("p",{className:"text-sm text-green-800 leading-relaxed",children:["支付成功后,积分",e.jsx("strong",{children:"立即到账"}),",无需等待,可在账户页面实时查看余额。 订阅服务激活后,权益功能立即生效。"]}),e.jsx("p",{className:"text-xs text-green-700 mt-2 bg-green-100 inline-block px-2 py-0.5 rounded-full font-medium",children:"付款成功 → 积分/权益立即到账"})]}),e.jsxs("div",{className:"bg-purple-50 border border-purple-100 rounded-2xl p-5",children:[e.jsx("div",{className:"flex items-center gap-2 mb-3",children:e.jsx("h3",{className:"font-semibold text-purple-900",children:"使用说明"})}),e.jsxs("ul",{className:"text-sm text-purple-800 space-y-1.5",children:[e.jsx("li",{children:"• 积分按使用的 AI 能力消耗,不同模型消耗不同"}),e.jsx("li",{children:"• 未订阅用户每日自动刷新 50 点试用积分,当日有效"}),e.jsx("li",{children:"• 购买的积分长期有效,不设使用期限"}),e.jsx("li",{children:"• 订阅制积分每月/年初自动发放"})]})]}),e.jsxs("div",{className:"bg-orange-50 border border-orange-100 rounded-2xl p-5",children:[e.jsx("div",{className:"flex items-center gap-2 mb-3",children:e.jsx("h3",{className:"font-semibold text-orange-900",children:"退款政策"})}),e.jsx("p",{className:"text-sm text-orange-800 leading-relaxed",children:"虚拟商品(积分/订阅)一经充值,即开始提供服务。 如因平台原因导致服务不可用,可申请退款;用户个人原因不予退款。"}),e.jsx("a",{href:"/refund",className:"text-xs text-orange-600 hover:text-orange-700 underline mt-2 inline-block font-medium",children:"查看完整退款政策 →"})]})]}),e.jsx("div",{className:"mt-4 bg-gray-50 border border-gray-200 rounded-2xl p-5",children:e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold text-gray-700 mb-1",children:"经营主体"}),e.jsx("p",{className:"text-sm text-gray-600",children:"杭州凤鸣云上信息科技有限公司"}),e.jsxs("p",{className:"text-xs text-gray-400 mt-0.5",children:["ICP 备案号:",e.jsx("a",{href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-gray-600 underline",children:"浙ICP备2026015769号-1"})]})]}),e.jsxs("div",{className:"flex flex-col gap-1 text-sm text-gray-600",children:[e.jsx("p",{className:"font-semibold text-gray-700",children:"联系方式"}),e.jsx("a",{href:`mailto:${p.supportEmail||"[email protected]"}`,className:"hover:text-indigo-600 transition-colors",children:p.supportEmail||"[email protected]"}),e.jsx("p",{className:"text-xs text-gray-400",children:"工作日 10:00–18:00(北京时间)"})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("a",{href:"/terms",className:"text-xs text-gray-500 hover:text-gray-700 underline block mb-1",children:"服务条款"}),e.jsx("a",{href:"/privacy",className:"text-xs text-gray-500 hover:text-gray-700 underline block mb-1",children:"隐私政策"}),e.jsx("a",{href:"/refund",className:"text-xs text-gray-500 hover:text-gray-700 underline block",children:"退款政策"})]})]})})]}),e.jsxs("div",{className:"max-w-2xl mx-auto px-6 mt-20",children:[e.jsx("h2",{className:"text-2xl font-bold text-gray-900 text-center mb-8",children:r("pricing.faq.title")}),e.jsx("div",{className:"space-y-3",children:E.map((s,n)=>e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 overflow-hidden transition-all",children:[e.jsxs("button",{onClick:()=>u(o===n?null:n),className:"w-full flex items-center justify-between p-4 text-left hover:bg-gray-50 transition-colors",children:[e.jsx("span",{className:"font-medium text-gray-800",children:r(`pricing.faq.${s}`)}),o===n?e.jsx(C,{className:"w-4 h-4 text-gray-400"}):e.jsx(P,{className:"w-4 h-4 text-gray-400"})]}),o===n&&e.jsx("div",{className:"px-4 pb-4 text-sm text-gray-600 border-t border-gray-100 pt-3",children:r(a&&s==="q4"?"pricing.faq.a4cn":`pricing.faq.a${n+1}`)})]},n))})]}),!a&&e.jsx("div",{className:"max-w-2xl mx-auto px-6 mt-16 text-center",children:e.jsx("p",{className:"text-sm text-gray-400",children:r("pricing.footer")})})]})};export{K as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.