Files
ChowBox/miniapp/pages/explore-result/explore-result.wxml
王鹏 802b4ba229 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>
2026-05-08 20:02:27 +08:00

38 lines
1.3 KiB
Plaintext

<view class="explore-page">
<view class="empty" wx:if="{{error}}">
<view class="empty-icon">😿</view>
<view>{{error}}</view>
<button class="btn-primary" style="margin-top:32rpx" bind:tap="retry">换片区域试试</button>
</view>
<view class="result-area" wx:if="{{!showAnimation && result}}">
<view class="result-title">🎊 附近发现一家宝藏店</view>
<result-card
imageUrl="{{result.imageUrl}}"
name="{{result.name}}"
rating="{{result.rating}}"
avgPrice="{{result.avgPrice}}"
distance="{{distanceText}}"
recommendReason="{{result.recommendReason}}"
signatureDishes="{{result.signatureDishes}}"
/>
<view class="actions">
<button class="btn-primary btn-main" bind:tap="navigate">导航过去</button>
<view class="btn-retry" bind:tap="retry">再开一个</view>
</view>
</view>
<box-animation
show="{{showAnimation}}"
boxType="explore"
dataReady="{{dataReady}}"
bind:done="onAnimationDone"
>
<view class="animation-result-preview" wx:if="{{result}}">
<view class="preview-emoji">🍜</view>
<view class="preview-text">{{result.name}}</view>
<view class="preview-sub" wx:if="{{result.rating}}">⭐ {{result.rating}}</view>
</view>
</box-animation>
</view>