把横版商品说明改为竖版,检查标题与商品的相对布局
本页展示随包原生输入和验收参考。目标产品运行状态:未运行。表格与图片不代表产品已经生成的结果。
input.csv / practice-data.json

本课实际输入字段
| object | source_xy | target_xy | target_size | role |
|---|---|---|---|---|
| title | 80,60 | 90,220 | 900×160 | readable text |
| product | 700,80 | 240,490 | 600×950 | preserve aspect |
| capacity | 80,560 | 90,1550 | 900×100 | above bottom safe area |
横版尺寸调整输入
horizontal-source.svg实际画布1200×675,title坐标80,60,product坐标700,80,capacity坐标80,560,与input.csv的source_xy一致。竖版坐标是作者验收目标,尚无Auto Resize产品结果。
使用Auto Resize
reference.csv:作者验收映射,不是目标API回包
| item | expected | identity |
|---|---|---|
| 目标尺寸 | 1080×1920 | author_acceptance_reference |
| 安全区 | 顶部180px/底部240px作者约定 | author_acceptance_reference |
| 形体 | 水壶不可横向拉伸 | author_acceptance_reference |
应当保留的约束
| item | expected | identity |
|---|---|---|
| 目标尺寸 | 1080×1920 | author_acceptance_reference |
| 安全区 | 顶部180px/底部240px作者约定 | author_acceptance_reference |
| 形体 | 水壶不可横向拉伸 | author_acceptance_reference |
故意构造的错误样例
| case | bad_value | why_reject |
|---|---|---|
| 比例错 | image scaleX=0.5 scaleY=1 | 商品压扁 |
| 遮挡 | 容量y=1810 | 进入底部240px区 |
先保存真实产品输出,再逐项对照。actualOutput / actualResult 在未执行时保持 not_run,不能把这里的期望值复制成已测结果。