diff --git a/src/home/product/shuidiPools.tsx b/src/home/product/shuidiPools.tsx
new file mode 100644
index 0000000..2ebfc39
--- /dev/null
+++ b/src/home/product/shuidiPools.tsx
@@ -0,0 +1,82 @@
+import { Button } from "@/components/ui/button"
+
+export type PoolModule = {
+ id: string
+ title: string
+ features: string[]
+ canBuy?: boolean
+}
+
+const POOLS: PoolModule[] = [
+ {
+ id: "house",
+ title: "纯住宅池",
+ features: [
+ "分散式真实住宅IP",
+ "带宽充足,IP段优质分布广",
+ "适合对IP要求高的业务",
+ "IP3-7天周期性变化",
+ "线路切换每天20次",
+ ],
+ },
+ {
+ id: "dial",
+ title: "多拨池",
+ features: [
+ "集中拨号住宅,带宽较高",
+ "IP段较多、稳定性较高",
+ "IP3-7天周期性变化",
+ "线路切换每天20次",
+ ],
+ canBuy: true,
+ },
+ {
+ id: "fixed",
+ title: "固定池",
+ features: [
+ "天翼云节点",
+ "IP长久有效IP不变化,稳定性高",
+ "线路切换单日限制为20次",
+ ],
+ },
+]
+
+type ShuidiPoolsProps = {
+ onBuy: (pool: PoolModule) => void
+}
+
+export default function ShuidiPools({ onBuy }: ShuidiPoolsProps) {
+ return (
+
+ {POOLS.map(pool => (
+
+
+ {pool.title}
+
+
+
+ {pool.features.map((feature, index) => (
+
+ {feature}
+
+ ))}
+
+
+
+
+
+
+ ))}
+
+ )
+}
diff --git a/src/lib/models/product.ts b/src/lib/models/product.ts
index 7bad630..88ceef0 100644
--- a/src/lib/models/product.ts
+++ b/src/lib/models/product.ts
@@ -136,11 +136,10 @@ export function transformToTabs(sources: TabSource[]): Tab[] {
tabs.push({ id: source.id, label: source.label, brands })
}
- const firstTab = tabs[0]
- if (firstTab) {
- firstTab.brands.push({
+ for (const tab of tabs) {
+ tab.brands.push({
id: "info",
- name: "购买须知",
+ name: "购买说明",
products: [],
})
}
diff --git a/src/routers/index.tsx b/src/routers/index.tsx
index 30aefa9..069062c 100644
--- a/src/routers/index.tsx
+++ b/src/routers/index.tsx
@@ -21,6 +21,7 @@ import LayoutPage from "@/home/layout"
import LoginPage from "@/home/login"
import ProductPage from "@/home/product"
import BuyPage from "@/home/product/buy"
+import BuyStaticPage from "@/home/product/buyStatic"
import HttpPage from "@/home/product/http"
import RouterosPage from "@/home/product/routeros"
import SoftDownloadPage from "@/home/softDownload"
@@ -32,6 +33,7 @@ export const router = createBrowserRouter([
{ index: true, element:
},
{ path: "product", element:
},
{ path: "product/buy", element:
},
+ { path: "product/buy-static", element:
},
{ path: "product/http", element:
},
{ path: "product/routeros", element:
},
{ path: "ipline", element:
},