替换圆形商品窗中的位图,核对遮罩和效果没有被重建
本页展示随包原生输入和验收参考。目标产品运行状态:未运行。表格与图片不代表产品已经生成的结果。
input.csv / practice-data.json


本课实际输入字段
| asset | mask_radius_px | frame_width_px | border_px | layer_identity |
|---|---|---|---|---|
| lavender-glass.png | 180 | 360 | 8 | existing-product-window |
| sage-bottle.png | 180 | 360 | 8 | existing-product-window |
| title:轻装出发 | 0 | 600 | 0 | independent-title |
替换位图
reference.csv:作者验收映射,不是目标API回包
| item | expected | identity |
|---|---|---|
| 蒙版半径 | 180 | author_acceptance_reference |
| 边框 | 8 | author_acceptance_reference |
| 替换后图层 | 原product-window而非新增图片 | author_acceptance_reference |
应当保留的约束
| item | expected | identity |
|---|---|---|
| 蒙版半径 | 180 | author_acceptance_reference |
| 边框 | 8 | author_acceptance_reference |
| 替换后图层 | 原product-window而非新增图片 | author_acceptance_reference |
故意构造的错误样例
| case | bad_value | why_reject |
|---|---|---|
| 落点错 | 拖空白新增图层 | 未替换原对象 |
| 越界 | 图片盖住圆窗外标题 | 蒙版/填充错误 |
先保存真实产品输出,再逐项对照。actualOutput / actualResult 在未执行时保持 not_run,不能把这里的期望值复制成已测结果。