diff --git a/components/agents/AgentGenerationWorkspaceDarkV2.tsx b/components/agents/AgentGenerationWorkspaceDarkV2.tsx index d1b2a014c..4b8a6ee5f 100644 --- a/components/agents/AgentGenerationWorkspaceDarkV2.tsx +++ b/components/agents/AgentGenerationWorkspaceDarkV2.tsx @@ -3256,6 +3256,221 @@ export function AgentGenerationWorkspaceDarkV2({ })); }, [updateSkuReplacementState]); + const aiDetailWorkbenchPanel = isDetailAiGenerationMethod ? ( +
+
+
+

+ + AI详情工作台 +

+

+ 复用无限画布中的 AI详情生成链路,直接完成分镜规划和逐屏详情生图。 +

+
+
+
+ {detailGenerationProgress.status === "running" + ? "生成中" + : detailGenerationProgress.status === "done" + ? "已完成" + : detailGenerationProgress.status === "error" + ? "异常" + : "待启动"} +
+
+ 经典详情 +
+
+
+ +
+
+
生成进度
+
+ {detailGenerationProgress.current}/{detailGenerationProgress.total || 0} +
+
+
+
0 + ? Math.min( + 100, + Math.round( + (detailGenerationProgress.current / detailGenerationProgress.total) * 100 + ) + ) + : 0 + }%`, + }} + /> +
+
+ {detailGenerationProgress.stage || "请先补齐核心参数和素材后开始生成"} +
+ {detailGenerationValidationIssues.length > 0 ? ( +
+ {detailGenerationValidationIssues.map((issue) => ( + + {issue} + + ))} +
+ ) : null} +
+ +
+
+
核心参数
+
+ {([ + ["productSpu", "商品SPU"], + ["productName", "产品名称"], + ["targetAudience", "主购买人群 *"], + ["usageScenario", "需求场景 *"], + ["coreNeed", "核心需求 *"], + ["priceBand", "价格带"], + ["demandType", "需求类型"], + ["brandTone", "品牌语气"], + ] as Array<[keyof AgentDetailBriefForm, string]>).map(([key, label]) => ( +
+ + + updateDetailGenerationBriefField(key, event.target.value) + } + placeholder={AGENT_DETAIL_FIELD_EXAMPLES[key]} + className="h-10 rounded-[18px] border-white/10 bg-black text-sm text-white placeholder:text-white/22 focus:border-emerald-400/30" + /> +
+ ))} +
+ + + updateDetailGenerationBriefField("coreSellingPoint", event.target.value) + } + placeholder={AGENT_DETAIL_FIELD_EXAMPLES.coreSellingPoint} + className="h-10 rounded-[18px] border-white/10 bg-black text-sm text-white placeholder:text-white/22 focus:border-emerald-400/30" + /> +
+
+ + + updateDetailGenerationBriefField("competitorReference", event.target.value) + } + placeholder={AGENT_DETAIL_FIELD_EXAMPLES.competitorReference} + className="h-10 rounded-[18px] border-white/10 bg-black text-sm text-white placeholder:text-white/22 focus:border-emerald-400/30" + /> +
+
+ +