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.

50 lines
1.8 KiB

  1. <!-- 券的详情页面 -->
  2. <view class='coupons'>
  3. <view class="coupons-body">
  4. <view class='banner'>
  5. <image src='{{data.coverImg}}'></image>
  6. </view>
  7. <view class='coupons_info'>
  8. <view>
  9. <text>{{data.title}}<text>限购{{data.useLimitQuantity}}件</text></text>
  10. <text wx:if="{{data.endTime!=undefined&&data.type!=5}}">剩余时间:<text>{{endtime}}</text></text>
  11. <text wx:if="{{data.type==5}}"><text>当次有效</text></text>
  12. <text>剩余件数:<text>{{data.remainInventory}}件</text></text>
  13. </view>
  14. <view>
  15. <text>¥{{data.salePriceStr}}</text>
  16. <text>¥{{data.priceStr}}</text>
  17. </view>
  18. </view>
  19. <view class='posi'>
  20. <view class='posi_logo'>
  21. <view>
  22. <image src='{{data.merChantImgUrl}}'></image>
  23. </view>
  24. <view>
  25. <text>{{data.merchantName}}</text>
  26. <text>{{data.addr}}{{data.buildingName}}{{data.floorName}}</text>
  27. </view>
  28. <image bindtap='phone' class="tel" src="./../../../assets/img/tel.jpg" mode="widthFix" />
  29. </view>
  30. <!-- <view>
  31. <text>更多适用门店</text>
  32. <text class='iconfont icon-right'></text>
  33. </view> -->
  34. </view>
  35. <view class='notes'>
  36. <view>
  37. <text>购买须知</text>
  38. </view>
  39. <view>
  40. <text><text class='spot'></text>{{data.remark}}</text>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="buy-view app-border-top">
  45. <button bindtap='orderFunc' class='buy' wx:if="{{data.salePriceStr!=0&&data.remainInventory!=0}}">立即支付</button>
  46. <button bindtap='orderFunc' class='buy' wx:elif="{{data.salePriceStr==0&&data.remainInventory!=0}}">免费领取</button>
  47. <button class='buy' wx:elif="{{data.remainInventory==0}}" style="background:#999;color: #fff;">免费领取</button>
  48. </view>
  49. </view>