Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
| 16 | <view class="txt-28-h" style="margin-bottom: 4rpx;">{{detail.market_price}}</view> | 16 | <view class="txt-28-h" style="margin-bottom: 4rpx;">{{detail.market_price}}</view> |
| 17 | </view> | 17 | </view> |
| 18 | </view> | 18 | </view> |
| 19 | - <view class="view flex text-orange align-end" style="margin-top: 2rpx;"> | 19 | + <view class="view flex text-orange align-end" style="margin-top: 2rpx;" wx:if="{{detail.discount>0}}"> |
| 20 | <view class="view tag" style="margin-bottom: 6rpx;"></view> | 20 | <view class="view tag" style="margin-bottom: 6rpx;"></view> |
| 21 | <view class="view margin-left-xs txt-24-h">{{(detail.discount*10)}}折</view> | 21 | <view class="view margin-left-xs txt-24-h">{{(detail.discount*10)}}折</view> |
| 22 | </view> | 22 | </view> |
-
Please register or login to post a comment