diff --git a/components/canvas/EnhanceProWorkspace.tsx b/components/canvas/EnhanceProWorkspace.tsx index 7f91a35ea..aa993a3e1 100644 --- a/components/canvas/EnhanceProWorkspace.tsx +++ b/components/canvas/EnhanceProWorkspace.tsx @@ -88,7 +88,7 @@ const FALLBACK_CONFIG: EnhanceProClientConfig = { }; const PANEL_SHELL_CLASS = - "rounded-[28px] border border-[#e7e1d4] bg-white/78 shadow-[0_20px_50px_rgba(15,23,42,0.08)] backdrop-blur-xl"; + "pointer-events-auto rounded-[28px] border border-[#e7e1d4] bg-white/82 shadow-[0_20px_50px_rgba(15,23,42,0.08)] backdrop-blur-xl"; const SOLID_PANEL_FIELD_CLASS = "border-[#e8e2d8] bg-[#fffdfa] text-foreground shadow-[0_8px_20px_rgba(15,23,42,0.05)]"; const SOLID_PANEL_CARD_CLASS = @@ -300,6 +300,11 @@ export function EnhanceProWorkspace({ selectedGeneratedImage && selectedResultIndex >= 0 ? getActiveResultLabel(selectedResultIndex) : "原图"; + const actionHint = selectedGeneratedImage + ? `已选中 ${activePreviewLabel}` + : generatedImages.length > 0 + ? `已生成 ${generatedImages.length} 张候选结果` + : "生成后可直接发送回画布"; useEffect(() => { const imageSource = String(sourceImageUrl || "").trim(); @@ -512,7 +517,7 @@ export function EnhanceProWorkspace({ )} {sidePreviewItems.length > 0 ? ( -
+
{sidePreviewItems.map((item, index) => { const isActive = item.isSource @@ -546,8 +551,8 @@ export function EnhanceProWorkspace({ ) : null}
-
-
+
+
{isLoading ? (
) : null}
+
-
-
- - {generatedImages.length > 0 - ? `已生成 ${generatedImages.length} 张候选结果` - : "生成后可直接发送回画布"} - +
+
+ {selectedGeneratedImage ? ( - - - 已选中 {activePreviewLabel} - + ) : null} -
-
- - -
+ {actionHint} + +
+
+ +