- VoiceController: Map.of() -> Collections.singletonMap() 兼容 Java 8 - ExploreController: 补齐 takeoutService.roll() 缺失的 taste/priceRange/allergies 参数 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
1005 B
Plaintext
42 lines
1005 B
Plaintext
<view class="home">
|
|
<view class="header">
|
|
<view class="greeting">{{greeting}}</view>
|
|
<view class="location-badge" bind:tap="chooseLocation">{{locationText}}</view>
|
|
</view>
|
|
|
|
<view class="hero">
|
|
<view class="hero-emoji">🎁</view>
|
|
<view class="hero-title">今天吃啥?</view>
|
|
<view class="hero-subtitle">开个盲盒</view>
|
|
</view>
|
|
|
|
<view class="modes">
|
|
<mode-card
|
|
type="takeout"
|
|
icon="🛵"
|
|
title="外卖盲盒"
|
|
desc="随机高质量外卖"
|
|
actionText="开个外卖盒"
|
|
bind:open="onOpenBox"
|
|
/>
|
|
<mode-card
|
|
type="fridge"
|
|
icon="🥬"
|
|
title="冰箱盲盒"
|
|
desc="有啥食材做啥菜"
|
|
actionText="开个冰箱盒"
|
|
bind:open="onOpenBox"
|
|
/>
|
|
<mode-card
|
|
type="explore"
|
|
icon="🍱"
|
|
title="探店盲盒"
|
|
desc="发现隐藏好店"
|
|
actionText="开个附近盒"
|
|
bind:open="onOpenBox"
|
|
/>
|
|
</view>
|
|
|
|
<view class="daily-tip">{{dailyTip}}</view>
|
|
</view>
|