feat: 接入形态图库与 Seedream 生图操作

展示已有主图、候选图和失败记录,支持单图及批量生成、主图选择。
补充正式 ID 校验、费用确认、图片加载占位和回归测试。
依赖后端 eac8dc3 的项目形态图库只读接口。
This commit is contained in:
GouJ committed 2026-08-28 15:16:25 +08:00
1 parent bae69c3c62
commit 47443c0efe
26 files changed
+1338 -25

No files matched your search

+2 -1
View File
@@ -11,7 +11,7 @@ import {
import { X } from '@lucide/vue'
/** 统一弹窗容器,Reka UI 负责焦点锁定、Escape 和无障碍语义。 */
defineProps<{ title: string; description: string; busy?: boolean }>()
defineProps<{ title: string; description: string; busy?: boolean; wide?: boolean }>()
const open = defineModel<boolean>('open', { default: false })
</script>
@@ -22,6 +22,7 @@ const open = defineModel<boolean>('open', { default: false })
<DialogOverlay class="dialog-overlay" />
<DialogContent
class="dialog-content"
:class="{ 'dialog-wide': wide }"
@interact-outside="busy && $event.preventDefault()"
@escape-key-down="busy && $event.preventDefault()"
>