diff --git a/app/(dashboard)/dashboard/page.tsx b/app/(dashboard)/dashboard/page.tsx index 432248b..50a9b44 100644 --- a/app/(dashboard)/dashboard/page.tsx +++ b/app/(dashboard)/dashboard/page.tsx @@ -23,7 +23,7 @@ export default function DashboardPage() {

概览

- + 总订单 @@ -34,7 +34,7 @@ export default function DashboardPage() {
- + 评分 @@ -43,7 +43,7 @@ export default function DashboardPage() {
{isOwner ? shop.rating : player.rating}
- + {isOwner ? "签约打手" : "完成率"} {isOwner ? ( @@ -65,7 +65,7 @@ export default function DashboardPage() { )} - + {isOwner ? "本月收入" : "服务数"} {isOwner ? ( @@ -82,7 +82,7 @@ export default function DashboardPage() { - + 最近订单 - + 已发布的服务 diff --git a/app/(dashboard)/dashboard/shop/employees/page.tsx b/app/(dashboard)/dashboard/shop/employees/page.tsx index c52f7de..ba83bd0 100644 --- a/app/(dashboard)/dashboard/shop/employees/page.tsx +++ b/app/(dashboard)/dashboard/shop/employees/page.tsx @@ -83,7 +83,7 @@ export default function EmployeesPage() { - +
签约打手 ({shopPlayers.length}) diff --git a/app/(dashboard)/dashboard/shop/income/page.tsx b/app/(dashboard)/dashboard/shop/income/page.tsx index 6c06e06..2f33e07 100644 --- a/app/(dashboard)/dashboard/shop/income/page.tsx +++ b/app/(dashboard)/dashboard/shop/income/page.tsx @@ -58,7 +58,7 @@ export default function ShopIncomePage() {

收入统计

- + 总收入 @@ -67,7 +67,7 @@ export default function ShopIncomePage() {
¥{totalIncome.toFixed(2)}
- + 本月收入 @@ -76,7 +76,7 @@ export default function ShopIncomePage() {
¥{thisMonthIncome.toFixed(2)}
- + 待结算 @@ -87,7 +87,7 @@ export default function ShopIncomePage() {
- + 交易明细 diff --git a/app/(dashboard)/dashboard/shop/orders/page.tsx b/app/(dashboard)/dashboard/shop/orders/page.tsx index 2a8cab6..8c1fa0b 100644 --- a/app/(dashboard)/dashboard/shop/orders/page.tsx +++ b/app/(dashboard)/dashboard/shop/orders/page.tsx @@ -44,7 +44,7 @@ export default function ShopOrdersPage() {
- + 总订单 @@ -53,7 +53,7 @@ export default function ShopOrdersPage() {
{totalOrders}
- + 进行中 @@ -62,7 +62,7 @@ export default function ShopOrdersPage() {
{activeOrders}
- + 已完成 @@ -71,7 +71,7 @@ export default function ShopOrdersPage() {
{completedOrders}
- + 争议订单 @@ -82,7 +82,7 @@ export default function ShopOrdersPage() {
- + 订单列表 diff --git a/app/(dashboard)/dashboard/shop/page.tsx b/app/(dashboard)/dashboard/shop/page.tsx index 81d2983..8df8019 100644 --- a/app/(dashboard)/dashboard/shop/page.tsx +++ b/app/(dashboard)/dashboard/shop/page.tsx @@ -65,7 +65,7 @@ function ShopManagementContent({
- + 总订单 @@ -74,7 +74,7 @@ function ShopManagementContent({
{shop.totalOrders}
- + 评分 @@ -83,7 +83,7 @@ function ShopManagementContent({
{shop.rating}
- + 签约打手 @@ -92,7 +92,7 @@ function ShopManagementContent({
{shop.playerCount}
- + 抽成比例 @@ -107,7 +107,7 @@ function ShopManagementContent({
- + 基本信息 @@ -139,7 +139,7 @@ function ShopManagementContent({ - + 公告管理 @@ -184,7 +184,7 @@ function ShopManagementContent({ - + 运营设置 diff --git a/app/(dashboard)/dashboard/shop/rules/page.tsx b/app/(dashboard)/dashboard/shop/rules/page.tsx index 6344e85..208a6a5 100644 --- a/app/(dashboard)/dashboard/shop/rules/page.tsx +++ b/app/(dashboard)/dashboard/shop/rules/page.tsx @@ -66,7 +66,7 @@ function ShopRulesForm({
- + 员工权限 @@ -100,7 +100,7 @@ function ShopRulesForm({ - + 派单设置 @@ -126,7 +126,7 @@ function ShopRulesForm({ - + 抽成设置 diff --git a/app/(dashboard)/dashboard/shop/templates/page.tsx b/app/(dashboard)/dashboard/shop/templates/page.tsx index 95adcd3..c5fc836 100644 --- a/app/(dashboard)/dashboard/shop/templates/page.tsx +++ b/app/(dashboard)/dashboard/shop/templates/page.tsx @@ -141,7 +141,7 @@ function ShopTemplatesEditor({
- + 页面组件 @@ -184,7 +184,7 @@ function ShopTemplatesEditor({ - + 提示 diff --git a/app/(main)/help/page.tsx b/app/(main)/help/page.tsx index 9d71e7d..bc0a7cc 100644 --- a/app/(main)/help/page.tsx +++ b/app/(main)/help/page.tsx @@ -5,7 +5,7 @@ export default function HelpPage() { return (

帮助中心

- + 常见流程 diff --git a/app/(main)/page.tsx b/app/(main)/page.tsx index d880e3e..4e7d274 100644 --- a/app/(main)/page.tsx +++ b/app/(main)/page.tsx @@ -37,7 +37,7 @@ export default function HomePage() { type="text" name="q" placeholder="搜索陪玩、店铺、游戏..." - className="w-full border-border bg-card shadow-[0_4px_16px_-2px_rgba(0,0,0,0.08),0_8px_24px_-4px_rgba(0,0,0,0.1)] transition-shadow focus:shadow-[0_8px_30px_-4px_rgba(0,0,0,0.12),0_12px_40px_-8px_rgba(0,0,0,0.14)]" + className="w-full border-border bg-card shadow-card transition-shadow focus:shadow-card-hover" />
diff --git a/app/(main)/player/[id]/page.tsx b/app/(main)/player/[id]/page.tsx index c5e06f4..ba49907 100644 --- a/app/(main)/player/[id]/page.tsx +++ b/app/(main)/player/[id]/page.tsx @@ -34,7 +34,7 @@ export default async function PlayerDetailPage({ params }: { params: Promise<{ i
- + {player.user.nickname[0]} diff --git a/app/(main)/post/[id]/page.tsx b/app/(main)/post/[id]/page.tsx index 153fdfe..f532779 100644 --- a/app/(main)/post/[id]/page.tsx +++ b/app/(main)/post/[id]/page.tsx @@ -30,7 +30,7 @@ export default async function PostDetailPage({ params }: { params: Promise<{ id: 返回社区 - +
diff --git a/app/(main)/post/new/page.tsx b/app/(main)/post/new/page.tsx index c9e2f85..5e3be75 100644 --- a/app/(main)/post/new/page.tsx +++ b/app/(main)/post/new/page.tsx @@ -101,7 +101,7 @@ export default function NewPostPage() { 返回社区 - + 发布帖子 diff --git a/app/(main)/privacy/page.tsx b/app/(main)/privacy/page.tsx index f184cfd..75c2291 100644 --- a/app/(main)/privacy/page.tsx +++ b/app/(main)/privacy/page.tsx @@ -4,7 +4,7 @@ export default function PrivacyPage() { return (

隐私政策摘要

- + 数据使用范围 diff --git a/app/(main)/search/page.tsx b/app/(main)/search/page.tsx index 7b504ff..4fd51f1 100644 --- a/app/(main)/search/page.tsx +++ b/app/(main)/search/page.tsx @@ -567,7 +567,7 @@ function SearchPageContent() { icon={} type="search" placeholder="搜索陪玩、游戏、标签..." - className="border-border bg-card shadow-[var(--shadow-card)] transition-shadow focus:shadow-[var(--shadow-card-hover)]" + className="border-border bg-card shadow-card transition-shadow focus:shadow-card-hover" value={searchQuery} onChange={(e) => setSearchQuery(e.target.value)} /> diff --git a/app/(main)/terms/page.tsx b/app/(main)/terms/page.tsx index 9b18db7..a42bf79 100644 --- a/app/(main)/terms/page.tsx +++ b/app/(main)/terms/page.tsx @@ -5,7 +5,7 @@ export default function TermsPage() { return (

用户协议摘要

- + 平台规则 diff --git a/app/(main)/user/[id]/page.tsx b/app/(main)/user/[id]/page.tsx index 8dac74c..d35a9d7 100644 --- a/app/(main)/user/[id]/page.tsx +++ b/app/(main)/user/[id]/page.tsx @@ -35,7 +35,7 @@ export default async function UserProfilePage({ params }: { params: Promise<{ id return (
- + {user.nickname[0]} diff --git a/app/(order)/chat/[id]/page.tsx b/app/(order)/chat/[id]/page.tsx index 6ec4d0d..0b3b977 100644 --- a/app/(order)/chat/[id]/page.tsx +++ b/app/(order)/chat/[id]/page.tsx @@ -62,7 +62,7 @@ export default function ChatDetailPage({ params }: { params: Promise<{ id: strin return (
- +
diff --git a/app/(order)/chat/page.tsx b/app/(order)/chat/page.tsx index e57f867..5fe9071 100644 --- a/app/(order)/chat/page.tsx +++ b/app/(order)/chat/page.tsx @@ -58,7 +58,7 @@ export default function ChatListPage() { })} {sessions.length === 0 && ( - + 暂无消息 diff --git a/app/(order)/dispute/[id]/page.tsx b/app/(order)/dispute/[id]/page.tsx index a420e2b..d537f3e 100644 --- a/app/(order)/dispute/[id]/page.tsx +++ b/app/(order)/dispute/[id]/page.tsx @@ -159,7 +159,7 @@ export default function DisputePage({ params }: { params: Promise<{ id: string } 返回订单 - +
争议详情 @@ -393,7 +393,7 @@ export default function DisputePage({ params }: { params: Promise<{ id: string } 返回订单 - + diff --git a/app/(order)/orders/page.tsx b/app/(order)/orders/page.tsx index c211fc3..85e9f78 100644 --- a/app/(order)/orders/page.tsx +++ b/app/(order)/orders/page.tsx @@ -126,14 +126,14 @@ function OrderListContent({ {filtered.length === 0 ? ( - + 暂无订单 ) : ( filtered.map((order) => ( - +
{order.service.title} diff --git a/app/(order)/review/[id]/page.tsx b/app/(order)/review/[id]/page.tsx index 2ae801e..8782fed 100644 --- a/app/(order)/review/[id]/page.tsx +++ b/app/(order)/review/[id]/page.tsx @@ -86,7 +86,7 @@ export default function ReviewPage({ params }: { params: Promise<{ id: string }> 返回订单 - + 评价服务

diff --git a/app/globals.css b/app/globals.css index 1b1e990..49159cf 100644 --- a/app/globals.css +++ b/app/globals.css @@ -46,6 +46,8 @@ --radius-2xl: calc(var(--radius) + 8px); --radius-3xl: calc(var(--radius) + 12px); --radius-4xl: calc(var(--radius) + 16px); + --shadow-card: var(--card-shadow); + --shadow-card-hover: var(--card-shadow-hover); } :root { @@ -82,8 +84,9 @@ --sidebar-accent-foreground: oklch(0.36 0.1 46.65); --sidebar-border: oklch(0.94 0 0); --sidebar-ring: oklch(0.701 0.189 46.65); - --shadow-card: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 2px 8px -1px rgba(0, 0, 0, 0.04); - --shadow-card-hover: 0 2px 8px -2px rgba(0, 0, 0, 0.06), 0 6px 20px -4px rgba(0, 0, 0, 0.08); + --card-shadow: 0 1px 3px 0 rgba(30, 40, 55, 0.04), 0 4px 12px -2px rgba(30, 40, 55, 0.06); + --card-shadow-hover: + 0 4px 16px -2px rgba(30, 40, 55, 0.07), 0 8px 24px -4px rgba(30, 40, 55, 0.09); } .dark { @@ -119,8 +122,8 @@ --sidebar-accent-foreground: oklch(0.98 0.01 46.65); --sidebar-border: oklch(0.23 0 0); --sidebar-ring: oklch(0.701 0.189 46.65); - --shadow-card: 0 1px 2px 0 rgba(255, 255, 255, 0.02), 0 2px 8px -1px rgba(0, 0, 0, 0.15); - --shadow-card-hover: 0 2px 8px -2px rgba(0, 0, 0, 0.12), 0 6px 20px -4px rgba(0, 0, 0, 0.18); + --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.12); + --card-shadow-hover: 0 4px 16px -2px rgba(0, 0, 0, 0.14), 0 8px 24px -4px rgba(0, 0, 0, 0.18); } @layer base { diff --git a/components/ui/card.tsx b/components/ui/card.tsx index 83b49b9..2c0b19d 100644 --- a/components/ui/card.tsx +++ b/components/ui/card.tsx @@ -7,7 +7,7 @@ function Card({ className, ...props }: React.ComponentProps<"div">) {