feat: 重构开奖模块导航与面包屑,优化期号详情与列表展示
This commit is contained in:
@@ -4,11 +4,13 @@ import type { ReactNode } from "react";
|
||||
|
||||
import { AdminAppSidebar } from "@/components/admin/admin-sidebar";
|
||||
import { ShellToolbar } from "@/components/admin/toolbar";
|
||||
import { AdminBreadcrumb } from "@/components/admin/admin-breadcrumb";
|
||||
import {
|
||||
SidebarInset,
|
||||
SidebarProvider,
|
||||
SidebarTrigger,
|
||||
} from "@/components/ui/sidebar";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
|
||||
export function AdminShell({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
@@ -17,9 +19,8 @@ export function AdminShell({ children }: { children: ReactNode }) {
|
||||
<SidebarInset className="max-md:overflow-x-hidden">
|
||||
<header className="sticky top-0 z-30 flex min-h-12 items-center gap-3 border-b border-border bg-background/80 px-4 py-2 backdrop-blur-md">
|
||||
<SidebarTrigger />
|
||||
<span className="text-sm font-medium text-muted-foreground md:hidden">
|
||||
彩票后台
|
||||
</span>
|
||||
<Separator orientation="vertical" className="mr-2 h-4" />
|
||||
<AdminBreadcrumb />
|
||||
<div className="ml-auto flex shrink-0 items-center">
|
||||
<ShellToolbar />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user