新增终端城市大洲分组设计文档
覆盖桌面端 9 列分区分组表格、移动端 Tab+卡片流布局方案。所有数据字段已就绪,无需后端改动。
This commit is contained in:
@@ -4,7 +4,6 @@ import clsx from "clsx";
|
||||
import Link from "next/link";
|
||||
import type { Dispatch, SetStateAction } from "react";
|
||||
import { LogIn, UserRound } from "lucide-react";
|
||||
import { ProFeaturePaywall } from "@/components/dashboard/ProFeaturePaywall";
|
||||
import { LoadingSignal } from "@/components/dashboard/scan-terminal/LoadingSignal";
|
||||
import type { Locale } from "@/lib/i18n";
|
||||
|
||||
@@ -137,27 +136,3 @@ export function ScanTerminalTopBar({
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function ScanPaywallModal({
|
||||
isEn,
|
||||
onClose,
|
||||
}: {
|
||||
isEn: boolean;
|
||||
onClose: () => void;
|
||||
}) {
|
||||
return (
|
||||
<div
|
||||
className="modal-overlay"
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
aria-label={isEn ? "Unlock market scan" : "解锁市场扫描"}
|
||||
onClick={(event) => {
|
||||
if (event.target === event.currentTarget) {
|
||||
onClose();
|
||||
}
|
||||
}}
|
||||
>
|
||||
<ProFeaturePaywall feature="scan" onClose={onClose} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user