refactor(*): 用户工作台 - 统一画布、任务中心与设置页产品化交互

This commit is contained in:
ddCat
2026-08-14 23:44:55 +08:00
parent 4f28847543
commit d89a5a5b7b
29 changed files with 1662 additions and 2067 deletions

View File

@@ -9,13 +9,13 @@ type CanvasNodeSpec = {
};
export const NODE_DEFAULT_SIZE = {
[CanvasNodeType.Image]: { width: 420, height: 300, title: "New Generation" },
[CanvasNodeType.Image]: { width: 720, height: 405, title: "图片" },
[CanvasNodeType.Text]: { width: 340, height: 240, title: "Note" },
[CanvasNodeType.Drawing]: { width: 440, height: 300, title: "绘图" },
[CanvasNodeType.Script]: { width: 920, height: 360, title: "分镜脚本" },
[CanvasNodeType.Skill]: { width: 360, height: 220, title: "技能" },
[CanvasNodeType.Config]: { width: 340, height: 300, title: "生成配置" },
[CanvasNodeType.Video]: { width: 480, height: 270, title: "Video" },
[CanvasNodeType.Video]: { width: 720, height: 405, title: "视频" },
[CanvasNodeType.Audio]: { width: 340, height: 120, title: "Audio" },
[CanvasNodeType.Frame]: { width: 760, height: 520, title: "未命名背板" },
} satisfies Record<CanvasNodeType, { width: number; height: number; title: string }>;