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.

59 wiersze
4.5 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-stop-propagation="false" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'>
  8. <image class="fl" src="{{item.coverImg}}" mode="aspectFill" 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="loading" wx:if="{{loading}}"><image src="{{loadingUrl}}" mode="aspectFill"></image>{{content}}</view>
  19. <!-- <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view> -->
  20. </view>
  21. </view>
  22. <view class="list mybargain" wx:if="{{mybargain}}" hover-class="none" hover-stop-propagation="false">
  23. <view class="listitem clearfix" wx:for="{{lists}}" wx:key="index" hover-stop-propagation="false">
  24. <image class="fl" src="{{item.coverImg}}" mode="aspectFill" lazy-load="true"></image>
  25. <view class="fl ri" hover-class="none" hover-stop-propagation="false">
  26. <text class="txt01">{{item.title}}</text>
  27. <text class="txt02">{{item.subTitle}}</text>
  28. <text class="txt04 mr txt004" wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}">距砍价到{{item.salePrice/100}}元还差:</text>
  29. <text class="txt04 mr" wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}">{{item.pressCurrentValue/100}}元</text>
  30. <text class="txt04 mr" wx:if="{{item.orderStatus == 7}}">已砍价到底价:{{item.salePrice/100}}元</text>
  31. </view>
  32. <view class='again' wx:if="{{item.orderStatus == 6&&todayDate<=item.pressEndDate}}" hover-class="none" hover-stop-propagation="false" data-id="{{item.id}}" bindtap="inviteFriend">
  33. <view class="botton1">邀请好友砍价</view>
  34. </view>
  35. <view class='again' wx:if="{{item.orderStatus == 7}}" data-id="{{item.id}}" bindtap="inviteFriend">
  36. <view class="botton2" hover-class="none" hover-stop-propagation="false">立即支付</view>
  37. <image class="icon" src="./../../assets/images/bargainsuccess.png" lazy-load="true"/>
  38. </view>
  39. <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">
  40. <view class="botton3" hover-class="none" hover-stop-propagation="false">重新砍价</view>
  41. <image class="icon" src="./../../assets/images/bargainfail.png" lazy-load="true"/>
  42. </view>
  43. <view wx:if="{{item.orderStatus == 2 || item.orderStatus == 9}}">
  44. <image class="icon" style="margin-top:60rpx;" src="./../../assets/images/bargaincancel.png" lazy-load="true"/>
  45. </view>
  46. </view>
  47. <view class="loading" wx:if="{{loading}}"><image src="{{loadingUrl}}" mode="aspectFill"></image>{{content}}</view>
  48. <!-- <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view> -->
  49. </view>
  50. <view class='dingdan' wx:if="{{lists.length==0}}">
  51. <image src="{{actUrl}}" mode="widthFix"></image>
  52. <text>暂无数据</text>
  53. </view>
  54. <view class="clearfix buttonfix" hover-class="none" hover-stop-propagation="false">
  55. <view class="{{bargaingoods?'active1':''}}" hover-class="none" hover-stop-propagation="false" bindtap="bargaingoods">砍价商品</view>
  56. <view class="{{ mybargain?'active1':''}} line" hover-class="none" hover-stop-propagation="false" bindtap="mybargain">我的砍价</view>
  57. </view>
  58. </view>