shareActivity.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <view class="content-padding white-bg font14">
  2. <!-- 请选择服务城市: -->
  3. <!-- <text class="icon-address"></text> -->
  4. <!-- <picker class="picker" bindchange="bindCityChange" value="{{pickerIndex}}" range="{{pickers}}"> -->
  5. <!-- <text class="font14 mLeft5">{{pickers}}</text> -->
  6. <!-- </picker> -->
  7. <!-- <text class="icon-arrow mLeft5"></text> -->
  8. <text class=" font14 subtitleColor">{{total}}个活动</text>
  9. </view>
  10. <view class="tab-bar white-bg">
  11. <view class="tab-item{{tabsIndex == '' ? ' active':''}}" data-index="" bindtap="setTabbar">
  12. <view class="label">全部</view>
  13. </view>
  14. <view class="tab-item{{tabsIndex == 1 ? ' active':''}}" data-index="1" bindtap="setTabbar">
  15. <view class="label">
  16. 单日
  17. </view>
  18. </view>
  19. <view class="tab-item{{tabsIndex == 2 ? ' active':''}}" data-index="2" bindtap="setTabbar">
  20. <view class="label">
  21. 两日
  22. </view>
  23. </view>
  24. <view class="tab-item{{tabsIndex == 3 ? ' active':''}}" data-index="3" bindtap="setTabbar">
  25. <view class="label">
  26. 三到五日
  27. </view>
  28. </view>
  29. <view class="tab-item{{tabsIndex == 4 ? ' active':''}}" data-index="4" bindtap="setTabbar">
  30. <view class="label">五日以上</view>
  31. </view>
  32. </view>
  33. <view class="content">
  34. <view class="order-card white-bg" wx:for="{{list}}" wx:key="unique">
  35. <navigator class="order-card-main" hover-class="none" url="/pages/product/activity/index?aid={{item.aid}}">
  36. <image src="{{item.logo}}" mode="aspectFill" binderror="errorImg" data-index="{{index}}"></image>
  37. <view class="order-card-content">
  38. <view class="listTitle">{{item.title}}</view>
  39. <text class="font12 black">
  40. <text>¥{{item.price}}</text>
  41. <text class="r-float subtitleColor">返佣<text class="font16 mLeft5">{{item.rebateScale}}%</text><text class="font12 mLeft10">约¥{{item.discount}}</text></text>
  42. </text>
  43. </view>
  44. </navigator>
  45. </view>
  46. </view>
  47. <view class='noData' hidden='{{list.length > 0}}'><text class="icon icon-info"></text><text>~没有相关订单~</text></view>
  48. <view class='load-more' hidden="{{loadMore}}">下面没有了哦</view>