fix: 修复 VoiceController Map.of 兼容性 + ExploreController 参数不匹配

- VoiceController: Map.of() -> Collections.singletonMap() 兼容 Java 8
- ExploreController: 补齐 takeoutService.roll() 缺失的 taste/priceRange/allergies 参数

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
王鹏
2026-05-08 20:02:27 +08:00
commit 802b4ba229
98 changed files with 5761 additions and 0 deletions

View File

@@ -0,0 +1,93 @@
/*
* 外卖结果页
* 流程:动效覆盖层(加载+揭晓)→ 结果展示
*/
.takeout-page {
padding: var(--space-md);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
}
/* ── 结果区(动效结束后) ── */
.result-area {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.result-title {
font-size: var(--text-subtitle);
font-weight: 600;
color: var(--color-text);
margin: var(--space-md) 0 var(--space-md);
text-align: center;
}
.actions {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
margin-top: var(--space-lg);
}
.btn-main {
width: 80%;
}
.btn-retry {
margin-top: var(--space-md);
font-size: var(--text-body-sm);
color: var(--color-text-muted);
padding: var(--space-sm);
}
.btn-retry:active {
color: var(--color-primary);
}
/* ── 错误态 ── */
.empty {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 200rpx;
font-size: var(--text-body);
color: var(--color-text-secondary);
}
.empty-icon {
font-size: 80rpx;
margin-bottom: var(--space-md);
opacity: 0.6;
}
/* ── 动效内预览Act 3 slot 内容) ── */
.animation-result-preview {
display: flex;
flex-direction: column;
align-items: center;
padding: 24rpx;
}
.preview-emoji {
font-size: 64rpx;
margin-bottom: 12rpx;
}
.preview-text {
font-size: var(--text-subtitle);
font-weight: 700;
color: #FFFFFF;
text-align: center;
}
.preview-sub {
font-size: var(--text-body-sm);
color: rgba(255, 255, 255, 0.8);
margin-top: 8rpx;
}