From fa2f26bf97a54c4c8555b7a3e726e764c8191aac Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 16 May 2026 19:34:38 +0800 Subject: [PATCH] feat: align style pro UI with index prototype --- components/style-pro/StyleProWorkspace.tsx | 583 ++++++++++++--------- 1 file changed, 325 insertions(+), 258 deletions(-) diff --git a/components/style-pro/StyleProWorkspace.tsx b/components/style-pro/StyleProWorkspace.tsx index 6d34c3b42..3c81b24cf 100644 --- a/components/style-pro/StyleProWorkspace.tsx +++ b/components/style-pro/StyleProWorkspace.tsx @@ -16,7 +16,6 @@ import useSWR from "swr"; import { toast } from "sonner"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; -import { ScrollArea } from "@/components/ui/scroll-area"; import { imageGenerationService } from "@/services/canvas"; import { cn, fetcher } from "@/lib/utils"; import type { @@ -107,7 +106,7 @@ function ImagePreview({ return (
@@ -208,7 +207,7 @@ function BeforeAfterSlider({ if (!beforeUrl && !afterUrl) { return ( -
+
上传图片后开始生成
); @@ -216,14 +215,14 @@ function BeforeAfterSlider({ if (!afterUrl) { return ( -
+
); } return ( -
+
-