feat(product-suite): enable direct generation flow
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
| [tab6-ai-studio-v3.svg](tab6-ai-studio-v3.svg) | AI工场(需求定稿·v3):合并提示词、完整模板 CRUD、异步任务照片池、部分导出与终选排序 |
|
||||
| [tab6-suite-package-v1.svg](tab6-suite-package-v1.svg) | 商品套图(T-622 已实现):从「虾皮圈电商图生成器」商品套餐交互迁移并替换主界面 AI工场入口;单一套图类型,多任务标签,商品原图,平台/国家/语言/比例,AI 帮写,白底/场景/卖点及自定义分类,结果历史、重试、删除撤销与生成进度 |
|
||||
| [tab6-suite-prompt-dialog-T637.svg](tab6-suite-prompt-dialog-T637.svg) | 商品套图(T-637 提案):标题行「AI帮写/取消」紧随 label、最右新增「提示词设置」;提示词设置弹窗——左编辑基础模板(行序对齐调研笔记组装顺序,套图名称+补充描述、插入变量菜单、占位符校验、只读规则占位符内联)、右只读实时最终预览(预览分类下拉)、保存/恢复默认共用原子写盘;第一版不做同类多张序号/差异化 |
|
||||
| [tab6-suite-gateway-T679b.svg](tab6-suite-gateway-T679b.svg) | 商品套图(T-679b 已实现):自定义网关生成确认展示主图/参考图、近似比例尺寸、服务商费用与主体一致性边界;生成中锁定当前任务输入,停止等待已发出同步请求返回,同时仍可切换其它任务与查看历史/结果 |
|
||||
| [workbench-redesign-v1.html](workbench-redesign-v1.html) | 工作台视觉提案(HTML 可交互原型):以当前 6 Tab 信息架构为基础,统一「数据准备区→表格命令区→表格→状态反馈区→完成任务区」页面骨架;命令按作用域分区(导入/筛选/选择集/工作流完成),表格补齐当前行、选择集、三态全选与排序契约;范围确认、部分成功、取消中间态和破坏性确认按干扰层级分配到对话框、信息条与 Toast;覆盖浅色/深色/高对比度近似、键盘(Tab/方向键/F6/Ctrl+F/F5)与 Windows 断点。商品状态相关交互已对齐 T-662b/c/d、T-663~T-665、T-667 定稿(无状态列与状态下拉筛选,③无强制更新入口)。颜色 Token 取自 `app/gui/widgets.py`。使用模拟数据,不接生产接口;页脚「原型说明与验收边界」列出假设与不可仅靠 HTML 验收的项。 |
|
||||
|
||||
应用图标(非效果图,是随程序发布的资源):`app/assets/cmshopee-logo.svg` 是可编辑母版,`cmshopee.ico`(16–256 共 9 档)用于 exe 图标和 GUI 窗口左上角,`cmshopee-256.png` 为预览与非 Windows 回退。三者由 `py -3.10 scripts/gen_logo.py` 从同一份几何定义生成,改样式请改脚本后重新生成,不要单独手改某一个文件。
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="720" viewBox="0 0 1120 720" font-family="'Segoe UI','Microsoft YaHei',sans-serif">
|
||||
<defs>
|
||||
<style>
|
||||
.window{fill:#f5f7fa;stroke:#cfd6df}.header{fill:#203451}.title{fill:#fff;font-size:16px;font-weight:600}.tab{fill:#eef1f5}.tabText{fill:#556477;font-size:13px}.tabActive{fill:#fff;stroke:#d9e0e8}.tabActiveText{fill:#2167c9;font-size:13px;font-weight:600}.panel{fill:#fff;stroke:#d9e0e8}.h{fill:#1f2937;font-size:15px;font-weight:600}.label{fill:#39475a;font-size:12px}.muted{fill:#6b7788;font-size:11px}.field{fill:#fff;stroke:#bcc8d6}.fieldText{fill:#2d3a4a;font-size:12px}.primary{fill:#2468c8}.primaryText{fill:#fff;font-size:13px;font-weight:600}.secondary{fill:#fff;stroke:#aebdcd}.secondaryText{fill:#31506f;font-size:12px}.notice{fill:#fff7e8;stroke:#e5bc73}.noticeText{fill:#875a16;font-size:12px}.dialog{fill:#fff;stroke:#9caab9}.dialogTitle{fill:#172b4d;font-size:17px;font-weight:600}.dialogText{fill:#34465a;font-size:13px}.divider{stroke:#e1e6ec}.thumb{fill:#e7eef7;stroke:#b8c8db}.success{fill:#e8f5ec;stroke:#a9d7b3}.successText{fill:#24713d;font-size:11px}.lock{fill:#eef2f6;stroke:#d4dce6}.lockText{fill:#607085;font-size:11px}
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="window" x=".5" y=".5" width="1119" height="719" rx="8"/>
|
||||
<rect class="header" x=".5" y=".5" width="1119" height="44" rx="8"/><rect class="header" x=".5" y="22" width="1119" height="22"/>
|
||||
<text class="title" x="20" y="28">蝦皮圈優化助手</text><text x="1015" y="28" fill="#d9e5f4" font-size="12">自定义网关 · 已保存</text>
|
||||
<rect class="tab" x=".5" y="44" width="1119" height="40"/>
|
||||
<text class="tabText" x="26" y="69">① 导入采集</text><text class="tabText" x="152" y="69">② AI生成</text><text class="tabText" x="257" y="69">③ 更新蝦皮</text><text class="tabText" x="392" y="69">账号管理</text><text class="tabText" x="496" y="69">设置</text>
|
||||
<rect class="tabActive" x="580" y="48" width="130" height="36" rx="4"/><text class="tabActiveText" x="603" y="70">商品套图</text>
|
||||
<rect class="panel" x="18" y="103" width="1084" height="47" rx="5"/>
|
||||
<text class="label" x="33" y="132">套图任务 1</text><rect class="secondary" x="129" y="114" width="79" height="26" rx="3"/><text class="secondaryText" x="145" y="132">历史生成</text>
|
||||
<text class="label" x="658" y="132">账号</text><rect class="field" x="696" y="114" width="118" height="26" rx="3"/><text class="fieldText" x="706" y="132">主店(papa)⌄</text>
|
||||
<text class="label" x="832" y="132">商品ID</text><rect class="field" x="882" y="114" width="108" height="26" rx="3"/><text class="fieldText" x="896" y="132">51513423876</text><rect class="secondary" x="1000" y="114" width="85" height="26" rx="3"/><text class="secondaryText" x="1011" y="132">拉取主图</text>
|
||||
<rect class="panel" x="18" y="162" width="470" height="534" rx="5"/><text class="h" x="35" y="193">商品原图</text><text class="muted" x="103" y="193">已下载 4 张 · 生成中已锁定</text><rect class="lock" x="360" y="178" width="105" height="22" rx="3"/><text class="lockText" x="372" y="193">当前任务已冻结</text>
|
||||
<g><rect class="thumb" x="35" y="211" width="93" height="78" rx="4"/><rect class="thumb" x="139" y="211" width="93" height="78" rx="4"/><rect class="thumb" x="243" y="211" width="93" height="78" rx="4"/><rect class="thumb" x="347" y="211" width="93" height="78" rx="4"/><text class="muted" x="55" y="255">主商品图</text><text class="muted" x="156" y="255">参考图 1</text><text class="muted" x="260" y="255">参考图 2</text><text class="muted" x="364" y="255">参考图 3</text></g>
|
||||
<line class="divider" x1="35" y1="310" x2="470" y2="310"/><text class="h" x="35" y="338">生成设置</text><text class="label" x="35" y="366">比例</text><rect class="field" x="72" y="348" width="92" height="28" rx="3"/><text class="fieldText" x="84" y="367">3:4 ⌄</text><text class="label" x="188" y="366">逐图主图</text><rect class="field" x="250" y="348" width="96" height="28" rx="3"/><text class="fieldText" x="262" y="367">未开启</text><text class="label" x="35" y="407">商品卖点与要求</text><rect class="lock" x="35" y="417" width="417" height="91" rx="3"/><text class="lockText" x="49" y="443">当前任务生成中,提示词、分类和比例已冻结</text><text class="lockText" x="49" y="463">切换其他任务、查看历史和结果不受影响</text><text class="h" x="35" y="546">套图结构配置</text><text class="label" x="35" y="573">白底图 1张 场景图 2张 卖点图 2张</text><rect x="35" y="606" width="417" height="42" rx="4" fill="#c53b3b"/><text class="primaryText" x="162" y="633">正在停止...</text><text class="noticeText" x="42" y="676">正在停止,等待当前图片返回后结束</text>
|
||||
<rect class="panel" x="500" y="162" width="602" height="534" rx="5"/><text class="h" x="520" y="193">生成结果</text><rect class="success" x="618" y="176" width="148" height="24" rx="10"/><text class="successText" x="636" y="193">成功 2 张 · 生成中</text><text class="muted" x="520" y="224">自定义网关 · 不计点数 · 当前图片请求完成后会保存</text>
|
||||
<rect class="thumb" x="520" y="243" width="132" height="112" rx="5"/><rect class="thumb" x="670" y="243" width="132" height="112" rx="5"/><rect x="820" y="243" width="132" height="112" rx="5" fill="#f2f4f7" stroke="#d8dee7"/><text class="muted" x="850" y="303">正在请求</text><rect x="970" y="243" width="105" height="112" rx="5" fill="#f2f4f7" stroke="#d8dee7"/><text class="muted" x="988" y="303">等待中</text><rect x="520" y="622" width="376" height="10" rx="5" fill="#d9e8fa"/><rect x="520" y="622" width="188" height="10" rx="5" fill="#2468c8"/><text class="label" x="915" y="632">套图 2/5(46秒)</text>
|
||||
<rect x="0" y="0" width="1120" height="720" fill="#16253a" opacity=".28"/>
|
||||
<rect class="dialog" x="300" y="144" width="520" height="438" rx="7"/>
|
||||
<text class="dialogTitle" x="331" y="182">确认生成商品套图</text><line class="divider" x1="300" y1="202" x2="820" y2="202"/>
|
||||
<text class="dialogText" x="331" y="234">店铺:主店(papa)</text><text class="dialogText" x="331" y="258">商品ID:51513423876</text><text class="dialogText" x="331" y="292">逐图主图:未开启</text><text class="dialogText" x="331" y="316">第1张为主图,另有3张参考图随每次请求一同提交。</text><text class="dialogText" x="331" y="350">白底图:1张 场景图:2张 卖点图:2张</text><text class="dialogText" x="331" y="384">图片比例:3:4 输出尺寸:1024x1536(接近比例生成)</text><text class="dialogText" x="331" y="418">本次生成总数:5张</text>
|
||||
<rect class="notice" x="331" y="438" width="458" height="74" rx="4"/><text class="noticeText" x="347" y="465">自定义网关不计点数,实际费用以服务商为准。</text><text class="noticeText" x="347" y="488">首图作为主要商品参考;主体一致性可能弱于默认网关。</text>
|
||||
<rect class="secondary" x="592" y="531" width="92" height="31" rx="4"/><text class="secondaryText" x="613" y="552">返回修改</text><rect class="primary" x="696" y="531" width="93" height="31" rx="4"/><text class="primaryText" x="716" y="552">确认生成</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.2 KiB |
Reference in New Issue
Block a user