C端小程序
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

83 lignes
5.6 KiB

  1. <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button>
  2. <view class="page" hover-class="none" hover-stop-propagation="false">
  3. <!-- <view class='top' wx:if="{{bargaingoods&&list.length>0}}">
  4. <view class="banner" wx:if="{{list.length>0}}" hover-class="none" hover-stop-propagation="false">
  5. <c-banner wx:key="unique" list="{{list}}" />
  6. </view>
  7. </view> -->
  8. <!-- 砍价商品 -->
  9. <view class="bargaingoods" style='padding-bottom:120rpx;' wx:if="{{bargaingoods&&lists.length>0}}" hover-class="none" hover-stop-propagation="false">
  10. <view class="list" hover-class="none" hover-stop-propagation="false">
  11. <view class="listitem clearfix" wx:for="{{lists}}" wx:key="{{index}}" hover-stop-propagation="false" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'>
  12. <image class="fl" src="{{item.coverImg}}" mode="aspectFill" lazy-load="true" binderror=""
  13. bindload=""></image>
  14. <view class="fl ri" hover-class="none" hover-stop-propagation="false">
  15. <text class="txt01">{{item.title}}</text>
  16. <text class="txt02">{{item.subTitle}}</text>
  17. <view class="txt04">可砍至¥<text class="money">{{item.salePriceStr}}</text><text class="txt03">原价{{item.priceStr}}</text></view>
  18. </view>
  19. <view class="botton" wx:if="{{item.remainInventory != 0}}" hover-class="none" hover-stop-propagation="false">发起砍价</view>
  20. <view class="botton botton02" wx:if="{{item.remainInventory == 0}}" hover-class="none" hover-stop-propagation="false">已售罄</view>
  21. </view>
  22. <view class="loading" wx:if="{{loading}}">{{content}}</view>
  23. <!-- <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view> -->
  24. </view>
  25. </view>
  26. <!-- 我的砍价 -->
  27. <view class="list mybargain" style='padding-bottom:120rpx;' wx:if="{{mybargain&&lists.length>0}}" hover-class="none" hover-stop-propagation="false">
  28. <view class="listitem clearfix" wx:for="{{lists}}" wx:key="index" zhover-stop-propagation="false">
  29. <image class="fl" src="{{item.coverImg}}" mode="aspectFill" lazy-load="true"></image>
  30. <view class="fl ri" hover-class="none" hover-stop-propagation="false">
  31. <text class="txt01">{{item.title}}</text>
  32. <text class="txt02">{{item.subTitle}}</text>
  33. <view class="txt04 mr txt004" wx:if="{{item.orderStatus !=7}}">已砍至¥ <text class='money'>{{item.salePrice/100}}</text><text class="txt03">原价{{item.priceStr}}</text></view>
  34. <!-- <text class="txt04 mr" wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}">{{item.pressCurrentValue/100}}元</text> -->
  35. <text class="txt04 mr" wx:if="{{item.orderStatus == 7}}">已砍价到底价:{{item.salePrice/100}}元</text>
  36. </view>
  37. <view class='again' wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}" hover-class="none" hover-stop-propagation="false" data-id="{{item.id}}" bindtap="inviteFriend">
  38. <view class="botton1">邀请好友</view>
  39. </view>
  40. <view class='again' wx:if="{{item.orderStatus == 7}}" data-id="{{item.id}}" bindtap="inviteFriend">
  41. <view class="botton2" hover-class="none" hover-stop-propagation="false">立即付款</view>
  42. <!-- <image class="icon" src="{{bargainsuccess}}" lazy-load="true"/> -->
  43. </view>
  44. <form bindsubmit="submit" report-submit='true' >
  45. <view class='again' wx:if="{{item.orderStatus == 8||item.orderStatus == 6&&todayDate>item.pressEndDate}}"
  46. data-couponChannelId="{{item.couponChannelId}}" data-couponId="{{item.productId}}" data-id="{{item.id}}" bindtap="barginAgain">
  47. <button form-type="submit" class="botton3" hover-class="none" hover-stop-propagation="false">重新砍价</button>
  48. <!-- <image class="icon" src="{{bargainfail}}" lazy-load="true"/> -->
  49. </view>
  50. </form>
  51. <view wx:if="{{item.orderStatus != 8}}" >
  52. <view class='line'></view>
  53. <view class='pt_progress' >
  54. <progress percent="60" stroke-width="6" activeColor="#FE4614" />
  55. <text class='msg' wx:if="{{item.orderStatus == 6}}">还差5人即享最低</text>
  56. <text class='msg' wx:if="{{item.orderStatus == 7}}">已至底价</text>
  57. </view>
  58. </view>
  59. <view wx:if="{{item.orderStatus == 2 || item.orderStatus == 9}}">
  60. <image class="icon" style="margin-top:60rpx;" src="{{bargaincancel}}" lazy-load="true"/>
  61. </view>
  62. </view>
  63. <view class="loading" wx:if="{{loading}}">{{content}}</view>
  64. </view>
  65. <view class='no-data01' wx:if='{{flag=="bargaingoods"&&lists.length==0}}' style='{{"height:"+(list.length>0?"calc(100vh - 460rpx)":"calc(100vh - 160rpx)")}}'>
  66. <image src='{{actUrl}}'></image>
  67. <view class='no-data-text'>暂无数据</view>
  68. </view>
  69. <view class='no-data' wx:if='{{flag=="mybargain"&&lists.length==0}}'>
  70. <image src='{{actUrl}}'></image>
  71. <view class='no-data-text'>暂无数据</view>
  72. </view>
  73. <view class='bottom'>
  74. <view bindtap="bargaingoods" class="{{bargaingoods?'bottom-left':'bottom-leftQ'}}">砍价商品</view>
  75. <view bindtap="mybargain" class="{{mybargain?'bottom-right':'bottom-rightQ'}}">我的砍价</view>
  76. </view>
  77. </view>