diff --git a/apps/web/src/pages/viral-video/ViralVideoPage.css b/apps/web/src/pages/viral-video/ViralVideoPage.css index ab3966a36..f3d314d08 100644 --- a/apps/web/src/pages/viral-video/ViralVideoPage.css +++ b/apps/web/src/pages/viral-video/ViralVideoPage.css @@ -889,9 +889,22 @@ transform: translateY(-1px); } .vv-btn-primary:disabled { - opacity: 0.5; + opacity: 0.55; cursor: not-allowed; } +.vv-btn-primary.vv-btn-disabled-gray, +.vv-btn-primary:disabled.vv-btn-disabled-gray { + background: #d1d5db !important; + color: #6b7280 !important; + opacity: 1; + box-shadow: none !important; + transform: none !important; + cursor: not-allowed; +} +.vv-btn-primary.vv-btn-disabled-gray:hover { + box-shadow: none !important; + transform: none !important; +} .vv-btn-ghost { background: #fff; color: #6b7280; @@ -1180,13 +1193,29 @@ } /* 列禁用态 */ -.vv-col-disabled .vv-section { +.vv-col-disabled .vv-section-body, +.vv-col-disabled .vv-step-subhead, +.vv-col-disabled .vv-credits, +.vv-col-disabled .vv-preview, +.vv-col-disabled .vv-error, +.vv-col-disabled .vv-hint-gray, +.vv-col-disabled .vv-hint-yellow { opacity: 0.55; - pointer-events: none; } -.vv-col-disabled .vv-section .vv-btn-primary { - background: #d1d5db !important; - cursor: not-allowed; +.vv-col-disabled .vv-btn-primary, +.vv-col-disabled .vv-btn-primary:hover { + opacity: 1 !important; +} +.vv-col-disabled .vv-section .vv-form-row, +.vv-col-disabled .vv-section .vv-pill-row, +.vv-col-disabled .vv-section input, +.vv-col-disabled .vv-section textarea, +.vv-col-disabled .vv-section .ant-select, +.vv-col-disabled .vv-section .vv-pill, +.vv-col-disabled .vv-section .vv-action-btn, +.vv-col-disabled .vv-section .vv-audio-cell, +.vv-col-disabled .vv-section .vv-step-lock { + pointer-events: none; } /* Section 内小标题 */ @@ -1289,16 +1318,6 @@ } /* 列禁用态 */ -.vv-col-disabled .vv-section { - opacity: 0.55; -} -.vv-col-disabled .vv-section .vv-btn, -.vv-col-disabled .vv-section button, -.vv-col-disabled .vv-section input, -.vv-col-disabled .vv-section textarea, -.vv-col-disabled .vv-section .ant-select { - pointer-events: none; -} /* Section 内小标题 */ .vv-section-subtitle { diff --git a/apps/web/src/pages/viral-video/ViralVideoPage.tsx b/apps/web/src/pages/viral-video/ViralVideoPage.tsx index b059a7306..16c4a4808 100644 --- a/apps/web/src/pages/viral-video/ViralVideoPage.tsx +++ b/apps/web/src/pages/viral-video/ViralVideoPage.tsx @@ -1357,20 +1357,24 @@ const ViralVideoPage: React.FC = () => { )} - {/* STEP2 主按钮:✍️ 生成文案 */} - {step2Enabled && - task.uiStep !== "step2_copy_ready" && + {/* STEP2 主按钮:✍️ 生成文案(文案未确认前显示) */} + {task.uiStep !== "step2_copy_ready" && task.uiStep !== "step3_ready" && task.uiStep !== "step3_generating" && task.uiStep !== "step3_done" && ( - )} - {task.uiStep === "step3_generating" && ( - - )} - {task.uiStep === "step3_done" && outputUrl && ( - + ) : ( + outputUrl && ( + + ) )}