diff --git a/src/components/layout/player-app-shell.tsx b/src/components/layout/player-app-shell.tsx index 0278657..0bfaf96 100644 --- a/src/components/layout/player-app-shell.tsx +++ b/src/components/layout/player-app-shell.tsx @@ -1,13 +1,9 @@ "use client"; -import Link from "next/link"; import type { ReactNode } from "react"; -import { useTranslation } from "react-i18next"; -import { LanguageSwitcher } from "@/components/language-switcher"; import { NetworkStatusBanner } from "@/components/network-status-banner"; import { PlayerBottomNav } from "@/components/layout/player-bottom-nav"; -import { PlayerSessionBar } from "@/features/player/player-session-bar"; type PlayerAppShellProps = { children: ReactNode; @@ -21,25 +17,10 @@ type PlayerAppShellProps = { * 这里的 NetworkStatusBanner 仅用于 WebSocket 状态显示 */ export function PlayerAppShell({ children }: PlayerAppShellProps): ReactNode { - const { t } = useTranslation("layout"); - return ( -
- {/* WebSocket 连接状态横幅(降级模式提示) */} +
-
-
- - {t("brand.title")} - - - -
-
-
+
{children}
diff --git a/src/components/layout/player-bottom-nav.tsx b/src/components/layout/player-bottom-nav.tsx index c5eb907..3bf5419 100644 --- a/src/components/layout/player-bottom-nav.tsx +++ b/src/components/layout/player-bottom-nav.tsx @@ -3,30 +3,30 @@ import Link from "next/link"; import { usePathname } from "next/navigation"; -import { LayoutGrid, Receipt, Trophy, Wallet } from "lucide-react"; +import { BarChart3, ClipboardList, Home, Wallet } from "lucide-react"; import { cn } from "@/lib/utils"; const tabs = [ - { href: "/hall", label: "大厅", icon: LayoutGrid, match: (p: string) => p === "/hall" }, + { href: "/hall", label: "Home", icon: Home, match: (p: string) => p === "/hall" }, + { + href: "/results", + label: "Results", + icon: BarChart3, + match: (p: string) => p === "/results" || p.startsWith("/results/"), + }, { href: "/orders", - label: "注单", - icon: Receipt, + label: "My Bets", + icon: ClipboardList, match: (p: string) => p === "/orders" || p.startsWith("/orders/"), }, { href: "/wallet", - label: "钱包", + label: "Wallet", icon: Wallet, match: (p: string) => p === "/wallet" || p.startsWith("/wallet/"), }, - { - href: "/results", - label: "开奖", - icon: Trophy, - match: (p: string) => p === "/results" || p.startsWith("/results/"), - }, ] as const; /** @@ -37,10 +37,10 @@ export function PlayerBottomNav() { return (