收口运行态状态提示组件

新增 PlatformRuntimeStatusToast 统一运行态短错误、成功和反馈 toast
迁移跳一跳、拼图、敲木鱼、方洞和宝贝爱画运行态状态 chip
补充公共组件与运行态回归测试,并更新 PlatformUiKit 文档和 Hermes 决策记录
This commit is contained in:
2026-06-10 11:24:40 +08:00
parent 43c66d31a2
commit b601b3b57e
16 changed files with 291 additions and 48 deletions

View File

@@ -3506,11 +3506,6 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
backdrop-filter: blur(12px);
}
.puzzle-runtime-error-chip {
background: var(--puzzle-runtime-danger-fill);
color: var(--puzzle-runtime-danger-text);
}
.puzzle-runtime-modal-overlay {
background: var(--puzzle-runtime-backdrop-fill);
}
@@ -4816,33 +4811,21 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
background: linear-gradient(90deg, #ffcf56, #6ed5ff, #c986ff);
}
.baby-love-drawing-runtime__error,
.baby-love-drawing-runtime__saved {
.baby-love-drawing-runtime__status {
position: absolute;
z-index: 14;
left: 50%;
transform: translateX(-50%);
border-radius: 999px;
padding: 0.64rem 1rem;
font-size: 0.9rem;
font-weight: 900;
box-shadow: 0 16px 38px rgba(79, 107, 69, 0.16);
}
.baby-love-drawing-runtime__error {
.baby-love-drawing-runtime__status--top {
top: max(0.8rem, env(safe-area-inset-top));
max-width: min(86vw, 34rem);
background: rgba(255, 238, 238, 0.94);
color: #b42336;
}
.baby-love-drawing-runtime__saved {
.baby-love-drawing-runtime__status--saved {
top: 12%;
display: inline-flex;
align-items: center;
gap: 0.42rem;
background: rgba(238, 255, 239, 0.94);
color: #2f7d39;
}
.baby-love-drawing-runtime__left-hand-indicator,