完善购买产品二级路由页面

This commit is contained in:
Eamon
2026-08-12 13:49:04 +08:00
parent 4c9953ab57
commit 115ee3bfeb
13 changed files with 1376 additions and 26 deletions

View File

@@ -116,7 +116,7 @@ function AdminMenuItem({
role="button"
tabIndex={-1}
className={cn(
"fixed transition-all duration-200 z-[9999]",
"fixed transition-all duration-200 z-9999",
isOpen
? "opacity-100 visible translate-y-0"
: "opacity-0 invisible -translate-y-2 pointer-events-none",
@@ -129,7 +129,7 @@ function AdminMenuItem({
onMouseEnter={handleMouseEnter}
onMouseLeave={handleMouseLeave}
>
<div className="bg-white rounded-xl shadow-2xl border border-gray-100/80 p-4 w-[560px]">
<div className="bg-white rounded-xl shadow-2xl border border-gray-100/80 p-4 w-140">
{children}
</div>
</div>,
@@ -159,13 +159,13 @@ function ProductDropdown() {
title="新HTTP/S5"
desc="IP可用时长从数小时到365天全覆盖"
tag="稳定"
onClick={() => handleClick("/product?tab=long")}
onClick={() => window.open("https://lanhuip.com", "_blank")}
/>
<ProductCard
title="HTTP/S5"
desc="海量全球住宅优质IP,4G/5G真实手机IP"
tag="全球"
onClick={() => handleClick("/product?tab=global")}
onClick={() => handleClick("/product?tab=http")}
/>
<ProductCard
title="软路由成本价"
@@ -175,12 +175,7 @@ function ProductDropdown() {
<ProductCard
title="动态Vps"
desc="IP独享,高带宽,灵活控制存活周期"
onClick={() => handleClick("/product?tab=exclusive")}
/>
<ProductCard
title="静态独享IP"
desc="纯净IP,更符合跨境卖家需求的云主机"
onClick={() => handleClick("/product?tab=static")}
onClick={() => window.open("http://vps.juip.com", "_blank")}
/>
</div>