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:
21
miniapp/components/result-card/result-card.wxml
Normal file
21
miniapp/components/result-card/result-card.wxml
Normal file
@@ -0,0 +1,21 @@
|
||||
<view class="result-card">
|
||||
<image class="result-image" src="{{imageUrl}}" mode="aspectFill" wx:if="{{imageUrl}}"></image>
|
||||
<view class="result-body">
|
||||
<view class="result-rating" wx:if="{{rating}}">
|
||||
<text class="star">⭐</text>
|
||||
<text>{{rating}}</text>
|
||||
<text wx:if="{{sales}}"> 月销{{sales}}</text>
|
||||
</view>
|
||||
<view class="result-name">{{name}}</view>
|
||||
<view class="result-info" wx:if="{{avgPrice || distance}}">
|
||||
<text wx:if="{{avgPrice}}">¥{{avgPrice}}/人</text>
|
||||
<text wx:if="{{avgPrice && distance}}"> · </text>
|
||||
<text wx:if="{{distance}}">{{distance}}</text>
|
||||
</view>
|
||||
<view class="result-extra" wx:if="{{extra}}">{{extra}}</view>
|
||||
<view class="result-recommend" wx:if="{{recommendReason}}">"{{recommendReason}}"</view>
|
||||
<view class="result-dishes" wx:if="{{signatureDishes && signatureDishes.length}}">
|
||||
<text class="tag tag-orange" wx:for="{{signatureDishes}}" wx:key="*this">{{item}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user