- VoiceController: Map.of() -> Collections.singletonMap() 兼容 Java 8 - ExploreController: 补齐 takeoutService.roll() 缺失的 taste/priceRange/allergies 参数 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
347 B
JavaScript
15 lines
347 B
JavaScript
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 });
|
|
}
|
|
}
|
|
});
|