fix: replace placeholder text with actual image rendering in dispute detail

This commit is contained in:
zetaloop
2026-02-20 20:06:54 +08:00
parent 1329b75806
commit 2fd3796a83
+3 -2
View File
@@ -1,6 +1,7 @@
"use client" "use client"
import { AlertTriangle, ArrowLeft, Clock, FileText } from "lucide-react" import { AlertTriangle, ArrowLeft, Clock, FileText } from "lucide-react"
import Image from "next/image"
import Link from "next/link" import Link from "next/link"
import { use, useState } from "react" import { use, useState } from "react"
import { Badge } from "@/components/ui/badge" import { Badge } from "@/components/ui/badge"
@@ -76,9 +77,9 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
{existingDispute.evidence.map((url) => ( {existingDispute.evidence.map((url) => (
<div <div
key={url} key={url}
className="h-20 w-20 rounded border bg-muted flex items-center justify-center text-xs text-muted-foreground" className="relative h-20 w-20 rounded border overflow-hidden bg-muted"
> >
<Image src={url} alt="证据截图" fill className="object-cover" />
</div> </div>
))} ))}
</div> </div>