You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

119 lines
2.6 KiB

  1. <template>
  2. <view class="app-container">
  3. <u-gap height="10rpx" bgColor="#F7F7F7"></u-gap>
  4. <view class="his-content">
  5. <view class="his-item u-border-bottom" v-if="!withdrawList.length">暂无数据</view>
  6. <view class="his-item u-border-bottom" v-for="(item,index) in withdrawList" :key="item.id">
  7. <view class="hit-left">
  8. <view class="his-name">
  9. 流水号: {{item.out_biz_no}}
  10. </view>
  11. <view class="his-state" v-if="item.status==0">
  12. 审核状态审核中
  13. </view>
  14. <view class="his-state" v-if="item.status==1">
  15. 审核状态<text style="color:green">提现成功</text>
  16. </view>
  17. <view class="his-state" v-if="item.status==2">
  18. 审核状态<text style="color:red">审核不通过原因{{item.review_remark}})</text>
  19. </view>
  20. <view class="his-state">
  21. 提现金额{{item.amount}}
  22. </view>
  23. <view class="his-state">
  24. 扣手续费{{item.fee}}
  25. </view>
  26. <view class="his-state">
  27. 实际到账{{item.receive_amount}}
  28. </view>
  29. <view class="his-state">
  30. 提现账户{{item.alipay_account}}
  31. </view>
  32. <view class="his-time">
  33. 申请时间{{item.created_at}}
  34. </view>
  35. <view class="his-time">
  36. 审核时间{{item.reviewed_at}}
  37. </view>
  38. </view>
  39. <!-- <view class="hit-right">
  40. <view class="amount">提现金额{{item.amount}}</view>
  41. <view class="fee">手续费{{item.fee}}</view>
  42. <view class="receive-amount">实到账{{item.receive_amount}}</view>
  43. </view> -->
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. import {
  50. agentWithdrawList
  51. } from '../../common/api.js'
  52. export default {
  53. data() {
  54. return {
  55. withdrawList: [],
  56. };
  57. },
  58. onLoad() {
  59. this.getWithdrawList()
  60. },
  61. methods: {
  62. getWithdrawList() {
  63. agentWithdrawList({
  64. page: 1,
  65. page_size: 15,
  66. }).then(data => this.withdrawList = data.list)
  67. }
  68. }
  69. }
  70. </script>
  71. <style lang="scss">
  72. .his-content {
  73. padding: 0 30rpx;
  74. .his-item {
  75. display: flex;
  76. justify-content: space-between;
  77. padding: 30rpx 0 30rpx;
  78. .hit-left {
  79. .his-name {
  80. color: #454545;
  81. font-size: 12px;
  82. line-height: 1.8;
  83. font-weight: bold;
  84. }
  85. .his-state {
  86. color: #666;
  87. font-size: 12px;
  88. line-height: 1.8;
  89. }
  90. .his-time {
  91. color: #999;
  92. font-size: 12px;
  93. line-height: 1.8;
  94. }
  95. }
  96. .hit-right {
  97. height: 130rpx;
  98. line-height: 130rpx;
  99. font-size: 14px;
  100. color: #454545;
  101. font-weight: bold;
  102. }
  103. }
  104. .u-border-bottom,
  105. .u-border-top {
  106. border-color: #eee !important;
  107. }
  108. }
  109. </style>