diff --git a/app/(order)/chat/[id]/page.tsx b/app/(order)/chat/[id]/page.tsx
index bb3a9ca..4180d15 100644
--- a/app/(order)/chat/[id]/page.tsx
+++ b/app/(order)/chat/[id]/page.tsx
@@ -7,6 +7,7 @@ import { use, useMemo, useRef, useState } from "react"
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
import { Badge } from "@/components/ui/badge"
import { Button } from "@/components/ui/button"
+import { Card } from "@/components/ui/card"
import { Input } from "@/components/ui/input"
import { ScrollArea } from "@/components/ui/scroll-area"
import { sendImageMessage, sendTextMessage } from "@/lib/api/chat"
@@ -60,11 +61,12 @@ export default function ChatDetailPage({ params }: { params: Promise<{ id: strin
const other = session.participants.find((p) => p.id !== userId) ?? session.participants[0]
return (
-
-
-
-
-
+
+
+
+
+
+
{other.name[0]}
@@ -86,7 +88,7 @@ export default function ChatDetailPage({ params }: { params: Promise<{ id: strin
-
+
{messages.map((msg) => {
if (msg.type === "system") {
return (
@@ -138,7 +140,7 @@ export default function ChatDetailPage({ params }: { params: Promise<{ id: strin
{!session.readonly ? (
-
+
) : (
-
)
}
diff --git a/app/(order)/chat/page.tsx b/app/(order)/chat/page.tsx
index b8e0b66..a6adec1 100644
--- a/app/(order)/chat/page.tsx
+++ b/app/(order)/chat/page.tsx
@@ -13,17 +13,17 @@ export default function ChatListPage() {
const userId = useAuthStore((state) => state.user?.id)
return (
-
-
消息
+
+
消息
-
+
{sessions.map((session) => {
const other =
session.participants.find((participant) => participant.id !== userId) ??
session.participants[0]
return (
-
+
@@ -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 a757d77..ca616f6 100644
--- a/app/(order)/dispute/[id]/page.tsx
+++ b/app/(order)/dispute/[id]/page.tsx
@@ -150,16 +150,16 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
isParticipant && existingDispute.status === "resolved" && !existingDispute.appealedAt
return (
-
+
返回订单
-
+
争议详情
@@ -384,16 +384,16 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
}
return (
-
+
返回订单
-
+
diff --git a/app/(order)/orders/page.tsx b/app/(order)/orders/page.tsx
index 417f2ad..e8c9d9d 100644
--- a/app/(order)/orders/page.tsx
+++ b/app/(order)/orders/page.tsx
@@ -103,8 +103,8 @@ function OrderListContent({
})
return (
-
-
+
+
我的订单
{currentRole === "consumer"
@@ -124,16 +124,16 @@ 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 e7a112a..ed7fcd9 100644
--- a/app/(order)/review/[id]/page.tsx
+++ b/app/(order)/review/[id]/page.tsx
@@ -77,16 +77,16 @@ export default function ReviewPage({ params }: { params: Promise<{ id: string }>
}
return (
-