C端小程序
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

65 рядки
2.8 KiB

  1. <view wx:if="{{showPage}}">
  2. <!-- 券的详情页面 -->
  3. <view class='coupons'>
  4. <view class="coupons-body">
  5. <view class='banner'>
  6. <image src='{{data.coverImg}}'></image>
  7. </view>
  8. <view class='coupons_info' style='position:relative;z-index:9'>
  9. <view class='fenxiang'>
  10. <image class="fenxiang" src='{{fenxiangUrl}}' mode="widthFix"></image>
  11. <button class='share user-motto' data-id='{{data.id}}' data-couponId='{{data.couponId}}' data-title='{{data.title}}' id="shareBtn" open-type="share" hover-class="other-button-hover"></button>
  12. </view>
  13. <view>
  14. <text class='title'>{{data.title}}</text>
  15. <text class="subTitle">{{data.subTitle}}</text>
  16. <view class='salePriceStr clearfix'>
  17. <view class="fl">售价:
  18. <text class="pri01">{{data.salePriceStr}}</text>
  19. <text class="yuan">元</text>
  20. <text class='throgh' wx:if="{{data.unit==0}}">{{data.priceStr}}元</text>
  21. <text wx:if="{{data.unit==1}}">{{data.priceStr}}小时</text>
  22. </view>
  23. <text class="restNum fr">剩余<text>{{data.remainInventory}}件</text></text>
  24. </view>
  25. <view class='rest' wx:if="{{data.validType==2}}">有效期:自领取之日起
  26. <text class='time'>{{validDays}}</text>天内有效</view>
  27. <view class='rest' wx:if="{{data.validType==1}}">有效期:
  28. <text class='time'>{{validStartDate}}至{{validEndDate}}</text>
  29. </view>
  30. <view class='rest' wx:if="{{data.type==5}}">
  31. <text class='time'>当次有效</text>
  32. </view>
  33. <view class='rest' wx:if="{{data.type==1}}">
  34. <text class='txt01'>使用条件:</text>
  35. <text class='time'>满{{data.usePriceStr}}元可用</text>
  36. </view>
  37. <view class='rest'>
  38. <text class='txt01'>限购条件:</text>
  39. <text class='time'>每人{{data.useLimitQuantity}}张</text>
  40. </view>
  41. </view>
  42. </view>
  43. <view class='posi'>
  44. <view class='posi_logo' wx:for="{{data.merchantVoList}}" wx:key="index">
  45. <view>
  46. <image src='{{item.merchantImgUrl}}'></image>
  47. </view>
  48. <view>
  49. <text>{{item.merchantName}}</text>
  50. <text>{{item.addr}}{{item.buildingName}}{{item.floorName}}</text>
  51. </view>
  52. <image bindtap='phone' data-merchantLinkPhone='{{item.merchantLinkPhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
  53. </view>
  54. </view>
  55. <view class='notes'>
  56. <view>
  57. <text>购买须知</text>
  58. </view>
  59. <view>
  60. <text><text class='spot'></text>{{data.remark}}</text>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. </view>