diff --git a/components/agents/AgentGenerationWorkspaceDarkV2.tsx b/components/agents/AgentGenerationWorkspaceDarkV2.tsx index bfc29ab96..961e30fc9 100644 --- a/components/agents/AgentGenerationWorkspaceDarkV2.tsx +++ b/components/agents/AgentGenerationWorkspaceDarkV2.tsx @@ -690,30 +690,34 @@ export function AgentGenerationWorkspaceDarkV2({ -
-
-
Step Flow
-

第二步:生图模式执行流程

-

- 将原来的侧边栏工具整合为顶部流程切换,按步骤逐项完成配置后再生成。 +

+
+
+ + Step Flow + +

第二步:生图模式执行流程

+
+

+ 顶部流程切换中完成模式、选图、槽位和参数配置,再进入生成。

-
+
第一步:风格选择 → 第二步:生图模式
-
+
当前步骤 {activeToolStepIndex + 1} / {toolSteps.length}
-
-
+
+
{toolSteps.map((step, index) => { const Icon = step.icon; const isActive = activeToolStep === step.key; @@ -724,7 +728,7 @@ export function AgentGenerationWorkspaceDarkV2({ onClick={() => handleToolStepChange(step.key)} disabled={step.disabled} className={cn( - "flex min-w-[210px] items-center gap-3 rounded-[24px] border px-4 py-3 text-left transition-all", + "flex min-w-[178px] items-center gap-2.5 rounded-[22px] border px-3 py-2.5 text-left transition-all lg:min-w-[188px]", isActive ? "border-emerald-400/55 bg-emerald-500/[0.10] shadow-[0_0_0_1px_rgba(16,185,129,0.2)]" : step.completed @@ -735,7 +739,7 @@ export function AgentGenerationWorkspaceDarkV2({ >
- +
-
- {step.label} +
+ {step.label} {step.optional ? ( - + 可选 ) : null}
-
{step.description}
+
+ {step.description} +
{index < toolSteps.length - 1 ? (