index.wxml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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" wx:if="{{currentIndex=='2'}}">温馨提示:退款的订单不计入收益系统
  10. <!-- <view class="close">×</view> -->
  11. </view>
  12. <view class="order" wx:for="{{list}}" wx:key="index">
  13. <view class="above">
  14. <view class="userInfo">
  15. <image src="{{item.avatar}}" class="avatar" />
  16. <view>
  17. <view class="nickName">{{item.name}}</view>
  18. <view class="addTime">
  19. 加入时间 :{{item.joinTime}}
  20. </view>
  21. </view>
  22. </view>
  23. <view class="state">{{item.status==1?'已付款':item.status==2?'退款':'其他'}}</view>
  24. </view>
  25. <view class="below">
  26. <view class="row">
  27. <view>购买类型:{{item.title}} </view>
  28. <view>付款金额 <text class="money">{{item.amount}}元</text>
  29. </view>
  30. </view>
  31. <view class="row" style="font-size: 22rpx;">
  32. <view>
  33. {{item.gmtCreated}}付款
  34. </view>
  35. <view wx:if="{{item.status==2}}">
  36. {{item.gmtModified}}退款
  37. </view>
  38. </view>
  39. </view>
  40. </view>
  41. </scroll-view>
  42. <emptyBg wx:if="{{nullList}}" message="暂无订单记录"></emptyBg>
  43. </view>