index.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <view class="container">
  2. <view class="categoryBox">
  3. <view class="category {{currentIndex==item.id?'currentClass':''}}" wx:for="{{categoryList}}" wx:key="id"
  4. data-index="{{item.id}}" data-title='{{item.title}}' bindtap="setClass">
  5. {{item.title}}
  6. </view>
  7. </view>
  8. <scroll-view class="orderList" scroll-y="true" enhanced show-scrollbar="{{false}}" bindscrolltolower='loadMore'>
  9. <view class="tips">温馨提示:退款的订单不计入收益系统 <view class="close">×</view>
  10. </view>
  11. <view class="order" wx:for="{{list}}" wx:key="index">
  12. <view class="above">
  13. <view class="userInfo">
  14. <image src="{{item.avatar}}" class="avatar" />
  15. <view>
  16. <view class="nickName">{{item.name}}</view>
  17. <view class="addTime">
  18. 加入时间 :{{item.joinTime}}
  19. </view>
  20. </view>
  21. </view>
  22. <view class="state">{{item.status==1?'已付款':item.status==2?'退款':'其他'}}</view>
  23. </view>
  24. <view class="below">
  25. <view class="row">
  26. <view>购买类型:{{item.title}} </view>
  27. <view>付款金额 <text class="money">{{item.amount}}元</text>
  28. </view>
  29. </view>
  30. <view class="row" style="font-size: 22rpx;">
  31. <view>
  32. {{item.gmtCreated}}付款
  33. </view>
  34. <view wx:if="{{item.status==2}}">
  35. {{item.gmtModified}}退款
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </scroll-view>
  41. <emptyBg wx:if="{{nullList}}" message="暂无订单记录"></emptyBg>
  42. </view>