feat: add shop dashboard order overview, income stats, and rule settings pages

This commit is contained in:
zetaloop
2026-02-20 23:04:38 +08:00
parent 1362a29755
commit 7e632ce092
4 changed files with 386 additions and 1 deletions
+14 -1
View File
@@ -1,6 +1,16 @@
"use client"
import { Gamepad2, LayoutDashboard, ListOrdered, Palette, Store, Users } from "lucide-react"
import {
ClipboardList,
Gamepad2,
LayoutDashboard,
ListOrdered,
Palette,
Settings,
Store,
TrendingUp,
Users,
} from "lucide-react"
import Link from "next/link"
import { usePathname } from "next/navigation"
import { cn } from "@/lib/utils"
@@ -15,6 +25,9 @@ const ownerLinks = [
{ href: "/dashboard", label: "概览", icon: LayoutDashboard },
{ href: "/dashboard/services", label: "服务管理", icon: ListOrdered },
{ href: "/dashboard/shop", label: "店铺管理", icon: Store },
{ href: "/dashboard/shop/orders", label: "订单总览", icon: ClipboardList },
{ href: "/dashboard/shop/income", label: "收入统计", icon: TrendingUp },
{ href: "/dashboard/shop/rules", label: "规则设置", icon: Settings },
{ href: "/dashboard/shop/employees", label: "员工管理", icon: Users },
{ href: "/dashboard/shop/templates", label: "模板编辑", icon: Palette },
]