feat(ui): unify content shell layout
This commit is contained in:
@@ -167,7 +167,7 @@ export default function OrderDetailPage({ params }: { params: Promise<{ id: stri
|
||||
})()
|
||||
|
||||
return (
|
||||
<div className="container mx-auto py-8 px-4 max-w-3xl">
|
||||
<div className="container mx-auto py-8 px-4 max-w-2xl">
|
||||
<Link
|
||||
href="/orders"
|
||||
className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground mb-4"
|
||||
|
||||
@@ -95,7 +95,7 @@ export default function NewOrderPage() {
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="container mx-auto max-w-lg px-4 py-8">
|
||||
<div className="container mx-auto max-w-2xl px-4 py-8">
|
||||
<EmptyState title="加载中" description="正在读取服务信息..." icon={CreditCard} />
|
||||
</div>
|
||||
)
|
||||
@@ -103,7 +103,7 @@ export default function NewOrderPage() {
|
||||
|
||||
if (!service || !player) {
|
||||
return (
|
||||
<div className="container mx-auto max-w-lg px-4 py-8">
|
||||
<div className="container mx-auto max-w-2xl px-4 py-8">
|
||||
<EmptyState title="服务不存在" description="该服务可能已下架或暂不可访问。" />
|
||||
</div>
|
||||
)
|
||||
@@ -113,7 +113,7 @@ export default function NewOrderPage() {
|
||||
|
||||
if (submitted) {
|
||||
return (
|
||||
<div className="container mx-auto max-w-lg px-4 py-8">
|
||||
<div className="container mx-auto max-w-2xl px-4 py-8">
|
||||
<EmptyState
|
||||
title="下单成功"
|
||||
description="订单已创建,等待打手接单。你可以在订单列表中查看进度。"
|
||||
|
||||
Reference in New Issue
Block a user