two-cloudwebsite/.next/static/chunks/pages/pricing-20dc30b818da4890.js
2025-07-16 17:42:25 +08:00

1 line
5.1 KiB
JavaScript

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18],{2309:(e,r,a)=>{"use strict";a.r(r),a.d(r,{default:()=>i});var s=a(7876),t=a(8139);function n(){return(0,s.jsx)("section",{className:"px-6 py-section bg-background",children:(0,s.jsx)("div",{className:"max-w-screen-lg mx-auto grid grid-cols-1 md:grid-cols-3 gap-8",children:[{name:"基础版",price:"\xa5100/月",features:["全球节点接入","社区支持"],recommended:!1},{name:"专业版",price:"\xa5300/月",features:["智能路由","高级面板","邮件支持"],recommended:!0},{name:"企业版",price:"\xa5800/月",features:["专属线路","24/7 支持","定制 SLA"],recommended:!1}].map(e=>(0,s.jsxs)("div",{className:"border p-6 rounded-lg flex flex-col justify-between ".concat(e.recommended?"border-accent shadow-lg":"border-gray-200"),children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-2xl font-medium mb-2",children:e.name}),(0,s.jsx)("p",{className:"text-3xl font-semibold mb-4",children:e.price}),(0,s.jsx)("ul",{className:"list-disc list-inside space-y-2 text-sm",children:e.features.map(e=>(0,s.jsx)("li",{children:e},e))})]}),(0,s.jsx)("a",{href:"/contact",className:"mt-6 px-4 py-2 rounded-lg text-center font-medium transition ".concat(e.recommended?"bg-accent text-white hover:opacity-90":"bg-transparent border border-primary hover:bg-primary hover:text-white"),children:e.recommended?"推荐":"选择"})]},e.name))})})}var c=a(4518);function i(){return(0,s.jsxs)("div",{className:"pt-16 pb-12 bg-background",children:[(0,s.jsx)(t.A,{}),(0,s.jsx)("main",{children:(0,s.jsx)(n,{})}),(0,s.jsx)(c.A,{})]})}},4518:(e,r,a)=>{"use strict";a.d(r,{A:()=>t});var s=a(7876);function t(){return(0,s.jsx)("footer",{className:"fixed bottom-0 left-0 w-full bg-background border-t py-4",children:(0,s.jsxs)("div",{className:"container mx-auto flex justify-between items-center text-sm text-primary",children:[(0,s.jsx)("p",{children:"\xa9 2025 CloudProxy 服务"}),(0,s.jsxs)("div",{className:"space-x-4",children:[(0,s.jsx)("a",{href:"#","aria-label":"Twitter",children:"Twitter"}),(0,s.jsx)("a",{href:"#","aria-label":"GitHub",children:"GitHub"}),(0,s.jsx)("a",{href:"#","aria-label":"LinkedIn",children:"LinkedIn"})]})]})})}},6152:(e,r,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/pricing",function(){return a(2309)}])},8139:(e,r,a)=>{"use strict";a.d(r,{A:()=>o});var s=a(7876),t=a(4232),n=a(8230),c=a.n(n),i=a(8447);function l(e){let{open:r,onClose:a}=e;return(0,s.jsxs)("aside",{className:"fixed inset-y-0 right-0 w-64 bg-background shadow-lg transform transition-transform duration-300 "+(r?"translate-x-0":"translate-x-full"),children:[(0,s.jsx)("button",{onClick:a,className:"p-4 focus:outline-none text-primary",children:"✕ 关闭"}),(0,s.jsxs)("nav",{className:"flex flex-col p-6 gap-6 font-medium",children:[(0,s.jsx)(c(),{href:"/features",legacyBehavior:!0,children:(0,s.jsx)("a",{onClick:a,className:"hover:text-accent",children:"特性"})}),(0,s.jsx)(c(),{href:"/pricing",legacyBehavior:!0,children:(0,s.jsx)("a",{onClick:a,className:"hover:text-accent",children:"定价"})}),(0,s.jsx)(c(),{href:"/contact",legacyBehavior:!0,children:(0,s.jsx)("a",{onClick:a,className:"hover:text-accent",children:"联系我们"})})]})]})}function o(){let[e,r]=(0,t.useState)(!1);return(0,s.jsxs)("header",{className:"fixed top-0 left-0 w-full bg-background shadow-sm z-50",children:[(0,s.jsxs)("div",{className:"container mx-auto flex items-center justify-between h-16 px-4",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)("button",{className:"md:hidden p-2 focus:outline-none",onClick:()=>r(!0),children:(0,s.jsx)(i.A,{className:"h-6 w-6 text-primary"})}),(0,s.jsx)(c(),{href:"/",children:(0,s.jsx)("img",{src:"/logo.png",alt:"CloudProxy",className:"h-8 w-8"})}),(0,s.jsxs)("nav",{className:"hidden md:flex items-center space-x-4",children:[(0,s.jsx)(c(),{href:"/",className:"text-primary font-semibold",children:"首页"}),(0,s.jsx)(c(),{href:"/features",className:"text-gray-600 hover:text-primary",children:"产品与服务"}),(0,s.jsx)(c(),{href:"/news",className:"text-gray-600 hover:text-primary",children:"新闻资讯"}),(0,s.jsx)(c(),{href:"/cases",className:"text-gray-600 hover:text-primary",children:"客户案例"}),(0,s.jsx)(c(),{href:"/about",className:"text-gray-600 hover:text-primary",children:"关于我们"})]})]}),(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)(c(),{href:"/login",className:"px-4 py-1 border border-primary rounded-full text-primary hover:bg-primary hover:text-white transition",children:"Log in"}),(0,s.jsx)("a",{href:"https://instagram.com",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)("i",{className:"fab fa-instagram text-gray-600 hover:text-primary"})}),(0,s.jsx)("a",{href:"https://facebook.com",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)("i",{className:"fab fa-facebook text-gray-600 hover:text-primary"})}),(0,s.jsx)("a",{href:"https://twitter.com",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)("i",{className:"fab fa-twitter text-gray-600 hover:text-primary"})})]})]}),(0,s.jsx)(l,{open:e,onClose:()=>r(!1)})]})}}},e=>{e.O(0,[752,636,593,792],()=>e(e.s=6152)),_N_E=e.O()}]);