收口大鱼关卡元信息标签

将大鱼吃小鱼关卡元信息迁移到 PlatformPillBadge

补充关卡元信息公共胶囊断言

更新 PlatformUiKit 文档和 Hermes 决策记录
This commit is contained in:
2026-06-10 13:48:09 +08:00
parent 11193112b6
commit 448b0697ee
4 changed files with 25 additions and 9 deletions

View File

@@ -210,6 +210,14 @@ describe('BigFishResultView', () => {
findNearestClassName(screen.getByText('荧潮幼体'), 'platform-subpanel')
?.className,
).toContain('rounded-[1.5rem]');
for (const label of ['猎物 1', '威胁 2', '主图 已生成']) {
const badge = screen.getByText(label);
expect(badge.className).toContain('rounded-full');
expect(badge.className).toContain(
'bg-[var(--platform-subpanel-fill)]',
);
}
expect(
findNearestClassName(screen.getByText('场地背景'), 'platform-subpanel')
?.className,