feat: route structure, providers, layouts, and placeholder pages
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export default function ChatDetailPage({ params: _params }: { params: Promise<{ id: string }> }) {
|
||||
return (
|
||||
<div className="container mx-auto py-8 px-4">
|
||||
<h1 className="text-2xl font-bold">聊天</h1>
|
||||
<p className="mt-2 text-muted-foreground">与打手沟通</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function ChatListPage() {
|
||||
return (
|
||||
<div className="container mx-auto py-8 px-4">
|
||||
<h1 className="text-2xl font-bold">消息</h1>
|
||||
<p className="mt-2 text-muted-foreground">咨询会话和订单会话</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function DisputePage({ params: _params }: { params: Promise<{ id: string }> }) {
|
||||
return (
|
||||
<div className="container mx-auto py-8 px-4">
|
||||
<h1 className="text-2xl font-bold">争议仲裁</h1>
|
||||
<p className="mt-2 text-muted-foreground">提交争议说明和证据</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export default function OrderLayout({ children }: { children: React.ReactNode }) {
|
||||
return <div className="min-h-screen bg-muted/30">{children}</div>
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function OrderDetailPage({ params: _params }: { params: Promise<{ id: string }> }) {
|
||||
return (
|
||||
<div className="container mx-auto py-8 px-4">
|
||||
<h1 className="text-2xl font-bold">订单详情</h1>
|
||||
<p className="mt-2 text-muted-foreground">订单状态、聊天、评价、争议</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function OrderListPage() {
|
||||
return (
|
||||
<div className="container mx-auto py-8 px-4">
|
||||
<h1 className="text-2xl font-bold">我的订单</h1>
|
||||
<p className="mt-2 text-muted-foreground">查看和管理订单</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
export default function ReviewPage({ params: _params }: { params: Promise<{ id: string }> }) {
|
||||
return (
|
||||
<div className="container mx-auto py-8 px-4">
|
||||
<h1 className="text-2xl font-bold">评价</h1>
|
||||
<p className="mt-2 text-muted-foreground">对本次服务进行评价</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user