fix: restore search mixed results and order entry links

This commit is contained in:
zetaloop
2026-02-21 15:42:33 +08:00
parent e975f1aa03
commit e2e0b5a06a
3 changed files with 186 additions and 26 deletions
+4
View File
@@ -5,6 +5,7 @@ import { notFound } from "next/navigation"
import { FavoriteButton } from "@/components/favorite-button"
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
import { Badge } from "@/components/ui/badge"
import { Button } from "@/components/ui/button"
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
import { Separator } from "@/components/ui/separator"
import { mockFavorites, mockPlayers, mockReviews, mockServices, mockShops } from "@/lib/mock"
@@ -155,6 +156,9 @@ export default async function ShopPage({ params }: PageProps) {
{service.rankRange}
</div>
)}
<Button className="w-full mt-3" size="sm" asChild>
<Link href={`/order/new?serviceId=${service.id}`}></Link>
</Button>
</CardContent>
</Card>
))}