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:
14
miniapp/components/mode-card/mode-card.js
Normal file
14
miniapp/components/mode-card/mode-card.js
Normal file
@@ -0,0 +1,14 @@
|
||||
Component({
|
||||
properties: {
|
||||
type: { type: String, value: 'takeout' },
|
||||
icon: { type: String, value: '' },
|
||||
title: { type: String, value: '' },
|
||||
desc: { type: String, value: '' },
|
||||
actionText: { type: String, value: '开盒' }
|
||||
},
|
||||
methods: {
|
||||
onTap() {
|
||||
this.triggerEvent('open', { type: this.data.type });
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user