From e5b3833ba559637f831ad1054422a30e3345f20d Mon Sep 17 00:00:00 2001 From: seaislee1209 Date: Tue, 23 Jun 2026 01:43:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(pipeline):=20=E5=9F=BA=E7=A1=80=E8=B5=84?= =?UTF-8?q?=E4=BA=A7=E9=A1=B5=E5=8E=BB=E6=8E=89=E9=87=8D=E5=A4=8D=E3=80=8C?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=8F=90=E5=8F=96=E3=80=8D=E6=8C=89=E9=92=AE?= =?UTF-8?q?=20+=20=E7=95=99=E5=AD=98=E7=9A=84=E5=8D=87=E4=BA=8C=E7=BA=A7(?= =?UTF-8?q?=E5=AE=88=E5=8D=95=E6=A9=99=E9=94=9A=E7=82=B9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删顶栏右上浮动「重新提取」(pipeline-reextract,JSX + CSS)—— 它与左侧「重新提取角色/场景」 提取后同时出现、点的是同一动作(runExtract only),重复。 - 留左侧那个(上下文更贴、文案更清),并按 design.md §3 从三级 ghost 升二级(btn btn-sm, 白底+inside-border)—— 比 ghost 显眼一档,又不抢橙(单橙锚点仍归 生成三视图/确认资产)。 自检:用共享 .btn 类、无裸色值/无新阴影/未重写共享类;tsc 绿。 Co-Authored-By: Claude Opus 4.8 (1M context) --- core/frontend/src/pipeline-page.css | 2 -- core/frontend/src/routes/pipeline.tsx | 8 +------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/core/frontend/src/pipeline-page.css b/core/frontend/src/pipeline-page.css index 3d6853b..a4b4210 100644 --- a/core/frontend/src/pipeline-page.css +++ b/core/frontend/src/pipeline-page.css @@ -856,8 +856,6 @@ .rg-force { display: inline-flex; align-items: baseline; gap: 5px; } .rg-warn { font-size: 10px; font-family: var(--font-mono); color: var(--black-alpha-48); } -/* 基础资产页:右上角(头像正下方)重新提取按钮 */ -.pipeline-reextract { position: absolute; top: 14px; right: 28px; z-index: 5; } /* 提取闸门单按钮:醒目主 CTA */ .eg-extract-btn { margin-top: 24px; min-width: 220px; } diff --git a/core/frontend/src/routes/pipeline.tsx b/core/frontend/src/routes/pipeline.tsx index d34fd9c..060c2cb 100644 --- a/core/frontend/src/routes/pipeline.tsx +++ b/core/frontend/src/routes/pipeline.tsx @@ -2278,12 +2278,6 @@ export function PipelinePage(props: {
- {/* 基础资产页:右上角(头像正下方)重新提取角色/场景 —— 仅本阶段且已提取过时露出 */} - {viewStage === 2 && project.metadata?.entities_extracted === true && ( - - )} {notice && } {/* ============= STAGE 1 · 脚本 ============= */} @@ -2676,7 +2670,7 @@ export function PipelinePage(props: { // 场景 +¥0.15/张 商品图无成本(直接复用商品库) {(entitiesExtracted || hasAnyAsset) && ( - )}