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