抖音c端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.3 KiB

  1. <view class="commodityBox" bindtap="go" data-url="/pages/coupon/detail/index?id={{item.id}}&navbarTitle={{item.title}}">
  2. <view class="commodiImg">
  3. <image src="{{item.coverImg}}" class="img"/>
  4. </view>
  5. <view class="textBox">
  6. <view class="title">{{item.title}}</view>
  7. <view class="marketBox">
  8. <view class="progress">
  9. <view class="progress_a" style="{{item.schedule}}"></view>
  10. </view>
  11. <view class="progressText">{{item.remainInventoryText}}</view>
  12. </view>
  13. <view class="payBox">
  14. <view class="payNumBox">
  15. <view style="overflow:hidden">
  16. <view class="payIcon">¥</view>
  17. <view class="price">{{item.salePriceStr}}</view>
  18. </view>
  19. <view class="original">¥{{item.priceStr}}</view>
  20. </view>
  21. <view tt:if="{{item.salePriceStr==0&&item.remainInventory!=0&&item.targetAd==101}}" class="payBtn">免费领取</view>
  22. <view tt:if="{{item.salePriceStr!=0&&item.remainInventory!=0&&item.targetAd==101}}" class="payBtn">立即购买</view>
  23. <view tt:if="{{item.salePriceStr!=0&&item.remainInventory==0&&item.targetAd==101}}" class="noBtn" class="payBtn">已售空</view>
  24. </view>
  25. </view>
  26. </view>