|
|
|
@ -67,7 +67,10 @@ |
|
|
|
bindtap="navigateToGoodsDetail" |
|
|
|
> |
|
|
|
<view class="compare-item-header"> |
|
|
|
<view class="compare-item-name-container"> |
|
|
|
<text class="compare-item-name">{{item.productName || item.name}}</text> |
|
|
|
<text wx:if="{{item.status === 'sold_out'}}" class="sold-out-tag">已售空</text> |
|
|
|
</view> |
|
|
|
<view class="compare-item-price"> |
|
|
|
<text class="currency-symbol" style="color: {{item.priceDiff > 0 ? '#FF4D4F' : item.priceDiff < 0 ? '#10B981' : '#666666'}}">¥</text> |
|
|
|
<text class="compare-price-amount" style="color: {{item.priceDiff > 0 ? '#FF4D4F' : item.priceDiff < 0 ? '#10B981' : '#666666'}}">{{item.price}}</text> |
|
|
|
|