index.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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="order" wx:for="{{5}}" wx:key="index">
  10. <view class="above">
  11. <view class="userInfo">
  12. <image src="https://reader-wx.ai160.com/reader/resource/20230215/1676472360368723.jpg"
  13. class="avatar" />
  14. <view>
  15. <view class="nickName">刘聪{{index}}</view>
  16. <view class="addTime">
  17. 加入时间 :20230-08-27 14:00
  18. </view>
  19. </view>
  20. </view>
  21. <view class="state">已付款</view>
  22. </view>
  23. <view class="below">
  24. <view class="row">
  25. <view>购买类型:1个月VIP</view>
  26. <view>付款金额 <text class="money">199元</text>
  27. </view>
  28. </view>
  29. <view class="row" style="font-size: 22rpx;">
  30. <view>
  31. 2023-08-27 23:33:21付款
  32. </view>
  33. <view>
  34. 2023-09-03 23:33:21退款
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </scroll-view>
  40. </view>