gxdDetail.axml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <view>
  2. <view class="head">
  3. <view class="flex-box-ce">
  4. <view class="flex-1">
  5. <view a:if="{{all>=0}}" class="blue">{{all}}</view>
  6. <view a:else class="red">{{consume}}</view>
  7. <view>现有功勋点</view>
  8. </view>
  9. <view class="flex-1">
  10. <view a:if="{{grant>=0}}" class="blue">{{grant}}</view>
  11. <view a:else class="red">{{grant}}</view>
  12. <view>管理员发放</view>
  13. </view>
  14. <view class="flex-1">
  15. <view a:if="{{exchange>=0}}" class="blue">{{exchange}}</view>
  16. <view a:else class="red">{{exchange}}</view>
  17. <view>B分转换</view>
  18. </view>
  19. </view>
  20. <view class="flex-box-ce" style="margin-top:10rpx">
  21. <view class="flex-1">
  22. <view a:if="{{consume>=0}}" class="blue">{{consume}}</view>
  23. <view a:else class="red">{{consume}}</view>
  24. <view>兑换奖品</view>
  25. </view>
  26. <view class="flex-1">
  27. <view a:if="{{take_back>=0}}" class="blue">{{take_back}}</view>
  28. <view a:else class="red">{{take_back}}</view>
  29. <view>被回收</view>
  30. </view>
  31. <view class="flex-1"></view>
  32. </view>
  33. </view>
  34. <view class="headed margin-bottom">
  35. <!--<view class="top"><view class="dates" style="padding:10rpx 0" catchTap="openDate"><image mode="scaleToFill" src="../../../image/date.png"/><text style="font-size:32rpx;position: relative;" class="{{showDate? 'activeView':''}}">{{date}}</text></view></view> -->
  36. </view>
  37. <view class="main margin-bottom">
  38. <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
  39. <view class="flex-box-ce item" a:for="{{list}}">
  40. <view class="flex-1" style="padding-right:40rpx">
  41. <view a:if="{{item.type==4}}">
  42. <text>{{item.remark}}</text>
  43. </view>
  44. <view a:else>
  45. 管理员
  46. <text a:if="{{item.type==1}}">发放</text>
  47. <text a:if="{{item.type==2}}">回收</text>
  48. <text a:if="{{item.type==3}}">转换</text>
  49. <text a:if="{{item.remark}}">“{{item.remark}}”</text>
  50. </view>
  51. <text style="font-size:28rpx" class="fontColorB">{{item.date}}</text>
  52. </view>
  53. <view>
  54. <view class="red" a:if="{{item.achievement>0}}">{{item.achievement}}</view>
  55. <view class="green" a:else>{{item.achievement}}</view>
  56. <view class="fontColorB" style="font-size:24rpx;text-align:right">
  57. <view a:if="{{item.type==1}}">发放</view>
  58. <view a:if="{{item.type==2}}">回收</view>
  59. <view a:if="{{item.type==3}}">转换</view>
  60. <view a:if="{{item.type==4}}">兑换</view>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  65. </scroll-view>
  66. <no-data a:if="{{list.length==0}}" />
  67. </view>
  68. </view>