完善样片管理列表、详情与上传页 UI 交互。

对齐 Android 样片模块布局与加载状态,补充共享 UI 组件与图片资源,并增强列表解析容错与单元测试覆盖。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-13 15:00:18 +08:00
parent cbf2db649e
commit afcd412f11
16 changed files with 862 additions and 134 deletions

View File

@ -0,0 +1,5 @@
{
"images" : [{ "filename" : "sample_img_error.svg", "idiom" : "universal" }],
"info" : { "author" : "xcode", "version" : 1 },
"properties" : { "preserves-vector-representation" : true }
}

View File

@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" width="594" height="594" viewBox="0 0 594 594">
<rect width="594" height="594" fill="#F7F7F7"/>
<g fill="none" stroke="#DEDEDE" stroke-width="8" stroke-linejoin="round" stroke-linecap="round">
<path d="M242 201l58-4-18 21 22 21-25 26 22 22-47 5-12-91Z"/>
<path d="M306 197l55 5-6 91-65-5 18-19-21-21 24-26-18-18 13-7Z"/>
<circle cx="334" cy="226" r="9" fill="#DEDEDE" stroke="none"/>
</g>
<text x="297" y="410" text-anchor="middle" font-family="PingFang SC, sans-serif" font-size="38" fill="#C9C9C9">加载失败...</text>
</svg>

After

Width:  |  Height:  |  Size: 590 B

View File

@ -0,0 +1,5 @@
{
"images" : [{ "filename" : "sample_img_loading.svg", "idiom" : "universal" }],
"info" : { "author" : "xcode", "version" : 1 },
"properties" : { "preserves-vector-representation" : true }
}

View File

@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" width="594" height="594" viewBox="0 0 594 594">
<rect width="594" height="594" fill="#F7F7F7"/>
<g fill="none" stroke="#DEDEDE" stroke-width="7" stroke-linecap="round">
<path d="M250 188h94M244 314h106"/>
<path d="M252 192c0 45 13 67 45 82 32-15 45-37 45-82M252 310c0-45 13-67 45-82 32 15 45 37 45 82"/>
<path d="M297 274v35"/>
</g>
<text x="297" y="410" text-anchor="middle" font-family="PingFang SC, sans-serif" font-size="38" fill="#C9C9C9">加载中...</text>
</svg>

After

Width:  |  Height:  |  Size: 531 B