C端小程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

66 wiersze
4.8 KiB

  1. <view class="page" hover-class="none" hover-stop-propagation="false">
  2. <view class="bargaingoods" wx:if="{{bargaingoods}}" hover-class="none" hover-stop-propagation="false">
  3. <view class="banner" wx:if="{{list.length>0}}" hover-class="none" hover-stop-propagation="false">
  4. <c-banner wx:key="unique" list="{{list}}" />
  5. </view>
  6. <view class="list" hover-class="none" hover-stop-propagation="false">
  7. <view class="listitem clearfix" wx:for="{{lists}}" wx:key="{{index}}" hover-class="none" hover-stop-propagation="false" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'>
  8. <image class="fl" src="{{item.coverImg}}" mode="widthFix" lazy-load="true" binderror=""
  9. bindload=""></image>
  10. <view class="fl ri" hover-class="none" hover-stop-propagation="false">
  11. <text class="txt01">{{item.title}}</text>
  12. <text class="txt02">{{item.subTitle}}</text>
  13. <text class="txt03">{{item.priceStr}}元</text>
  14. <text class="txt04">可砍至<text class="money">{{item.salePriceStr}}</text>元</text>
  15. </view>
  16. <view class="botton" hover-class="none" hover-stop-propagation="false">发起砍价</view>
  17. </view>
  18. <view class='dingdan' wx:if="{{list.length==0}}">
  19. <image src="{{actUrl}}" mode="widthFix"></image>
  20. <text>请您敬请期待</text>
  21. <text>我们正在筹备一大波优惠活动</text>
  22. </view>
  23. <view class="loading" wx:if="{{loading}}"><image src="{{loadingUrl}}" mode="widthFix"></image>{{content}}</view>
  24. <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view>
  25. </view>
  26. </view>
  27. <view class="list mybargain" wx:if="{{mybargain}}" hover-class="none" hover-stop-propagation="false">
  28. <view class="listitem clearfix" wx:for="{{lists}}" wx:key="index" wx:if="{{item.orderStatus == 6||item.orderStatus == 7|| item.orderStatus == 8 || item.orderStatus == 9}}" hover-class="none" hover-stop-propagation="false">
  29. <image class="fl" src="{{item.coverImg}}" mode="widthFix" 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. <text class="txt04 mr" wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}">距砍价到{{item.salePrice/100}}元还差:{{item.pressCurrentValue/100}}元</text>
  34. <text class="txt04 mr" wx:if="{{item.orderStatus == 7}}">已砍价到底价:{{item.salePrice/100}}元</text>
  35. </view>
  36. <view class='again' wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}" hover-class="none" hover-stop-propagation="false" data-id="{{item.id}}" bindtap="inviteFriend">
  37. <view class="botton1">邀请好友砍价</view>
  38. </view>
  39. <view class='again' wx:if="{{item.orderStatus == 7}}" data-id="{{item.id}}" bindtap="inviteFriend">
  40. <view class="botton2" hover-class="none" hover-stop-propagation="false">立即支付</view>
  41. <image class="icon" src="./../../assets/images/bargainsuccess.png" lazy-load="true"/>
  42. </view>
  43. <view class='again' wx:if="{{item.orderStatus == 8||item.orderStatus == 6&&todayDate>item.pressEndDate}}" data-couponChannelId="{{item.couponChannelId}}" data-couponId="{{item.productId}}" data-id="{{item.id}}" bindtap="barginAgain">
  44. <view class="botton3" hover-class="none" hover-stop-propagation="false">重新砍价</view>
  45. <image class="icon" src="./../../assets/images/bargainfail.png" lazy-load="true"/>
  46. </view>
  47. <view wx:if="{{item.orderStatus == 9}}">
  48. <image class="icon" src="./../../assets/images/bargaincancel.png" lazy-load="true"/>
  49. </view>
  50. </view>
  51. <view class='dingdan' wx:if="{{list.length==0}}">
  52. <image src="{{actUrl}}" mode="widthFix"></image>
  53. <text>请您敬请期待</text>
  54. <text>我们正在筹备一大波优惠活动</text>
  55. </view>
  56. <view class="loading" wx:if="{{loading}}"><image src="{{loadingUrl}}" mode="widthFix"></image>{{content}}</view>
  57. <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view>
  58. </view>
  59. <view class="clearfix buttonfix" hover-class="none" hover-stop-propagation="false">
  60. <view class="{{bargaingoods?'active1':''}}" hover-class="none" hover-stop-propagation="false" bindtap="bargaingoods">砍价商品</view>
  61. <view class="{{ mybargain?'active1':''}} line" hover-class="none" hover-stop-propagation="false" bindtap="mybargain">我的砍价</view>
  62. </view>
  63. </view>