From 7d28d31c75be15e9a755dbe3e02ab42d5bf01b61 Mon Sep 17 00:00:00 2001 From: 3970260761 <3970260761@qq.com> Date: Thu, 12 Nov 2026 23:58:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(ai-gen):=20=E9=94=99=E8=AF=AF=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=A7=BB=E5=88=B0=E7=BB=93=E6=9E=9C=E5=8C=BA=E6=AD=A3?= =?UTF-8?q?=E4=B8=AD=E5=A4=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 生成失败的错误从左侧列底部移到中间结果区(flex 居中容器内,几何验证 dx=0/dy=0) - 错误框改为醒目样式:红边框+浅红底+15px 居中文本,max-width 520px - 成功路径不变(实测 6s 出图) --- src/tools/ai-gen/ai-gen.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/tools/ai-gen/ai-gen.vue b/src/tools/ai-gen/ai-gen.vue index d31a7b2..7e249d2 100644 --- a/src/tools/ai-gen/ai-gen.vue +++ b/src/tools/ai-gen/ai-gen.vue @@ -313,12 +313,12 @@ async function generate() { -
⚠️ {{ error }}
-
+
⚠️ {{ error }}
+
生成结果
⬇ 下载图片 @@ -702,8 +702,15 @@ async function generate() { } .gen-err { - font-size: 13px; + max-width: 520px; + padding: 20px 28px; + border: 1px solid rgba(208, 48, 80, 0.45); + border-radius: 12px; + background: rgba(208, 48, 80, 0.08); color: #d03050; + font-size: 15px; + line-height: 1.8; + text-align: center; word-break: break-all; }