帧视界壹通告,付费看视频的微信小程序
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.

134 lines
2.7 KiB

1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="withdrawalRecord">
  3. <!--顶部导航栏-->
  4. <navbar leftClick @leftClick="$utils.navigateBack" title="提现记录"/>
  5. <!--提现记录页面-->
  6. <view class="content">
  7. <view class="list" v-for="(item,index) in list ">
  8. <!--第一行-->
  9. <view class="item1">
  10. <view class="left">提现金额</view>
  11. <view class="right">
  12. <view class="money">{{ item.price }}</view>
  13. <view :class="item.type==1 ? 'yiDaoZhangClass' : 'shenHeClass'">{{ item.type==1 ? '已到账' : '审核中' }}</view>
  14. </view>
  15. </view>
  16. <!--第二行-->
  17. <view class="item2">
  18. <view class="left">申请时间</view>
  19. <view class="right">{{ item.createTime }}</view>
  20. </view>
  21. <!--第三行-->
  22. <view class="item2">
  23. <view class="left">到账时间</view>
  24. <view class="right">{{ item.successTime }}</view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. data() {
  33. return {
  34. list: [],
  35. queryParams: {
  36. pageNo: 1,
  37. pageSize: 10,
  38. },
  39. };
  40. },
  41. mounted() {
  42. this.getData()
  43. },
  44. methods: {
  45. getData() {
  46. this.$api('infoGetWithdrawPage', {
  47. pageNo: this.queryParams.pageNo,
  48. pageSize: this.queryParams.pageSize,
  49. }, res => {
  50. if (res.code == 200) {
  51. this.list = res.result.records
  52. }
  53. })
  54. },
  55. }
  56. }
  57. </script>
  58. <style lang="scss" scoped>
  59. * {
  60. box-sizing: border-box;
  61. margin: 0;
  62. padding: 0;
  63. }
  64. .withdrawalRecord {
  65. background-color: #f8faff;
  66. height: calc(100vh - 240rpx);
  67. width: 100vw;
  68. .content {
  69. padding: 20rpx 20rpx 50rpx 20rpx;
  70. box-sizing: border-box;
  71. width: 100vw;
  72. .list {
  73. box-sizing: border-box;
  74. border-bottom: 2rpx solid #e0e2e6;
  75. padding: 30rpx;
  76. display: flex;
  77. flex-direction: column;
  78. gap: 10rpx;
  79. .item1 {
  80. display: flex;
  81. .left {
  82. width: 30%;
  83. }
  84. .right {
  85. display: flex;
  86. width: 70%;
  87. .money {
  88. width: 75%;
  89. }
  90. .yiDaoZhangClass {
  91. width: 25%;
  92. background: $uni-linear-gradient-color;
  93. -webkit-background-clip: text;
  94. /*将设置的背景颜色限制在文字中*/
  95. -webkit-text-fill-color: transparent;
  96. /*给文字设置成透明*/
  97. }
  98. .shenHeClass {
  99. width: 25%;
  100. }
  101. }
  102. }
  103. .item2 {
  104. display: flex;
  105. .left {
  106. width: 30%;
  107. }
  108. .right {
  109. width: 70%;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. </style>