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

103 lines
1.9 KiB

11 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
  1. <template>
  2. <view class="incomeRecord">
  3. <!--顶部导航栏-->
  4. <navbar leftClick @leftClick="$utils.navigateBack" title="收益记录"/>
  5. <!--内容区域-->
  6. <view class="content">
  7. <view class="title">收益记录</view>
  8. <view class="list">
  9. <view class="item" v-for="(item,index) in list" :key="index">
  10. <view class="left">
  11. <image src="../static/incomeRecord/1.png" style="width: 70%;height: 70%;"></image>
  12. </view>
  13. <view class="center">
  14. <view>{{ item.userId }}</view>
  15. <view>{{ item.createTime }}</view>
  16. </view>
  17. <view class="right">
  18. <view>收益金额</view>
  19. <view>{{item.price}}</view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. export default {
  28. data() {
  29. return {
  30. list: [],
  31. queryParams: {
  32. pageNo: 1,
  33. pageSize: 10,
  34. },
  35. };
  36. },
  37. mounted() {
  38. this.getData()
  39. },
  40. methods: {
  41. getData() {
  42. this.$api('infoGetIncomePage', {
  43. pageNo: this.queryParams.pageNo,
  44. pageSize: this.queryParams.pageSize,
  45. }, res => {
  46. if (res.code == 200) {
  47. this.list = res.result.records
  48. }
  49. })
  50. },
  51. }
  52. }
  53. </script>
  54. <style lang="scss" scoped>
  55. .incomeRecord {
  56. .content {
  57. padding: 0 40rpx;
  58. height: calc(100vh - 240rpx);
  59. .title {
  60. font-weight: bold;
  61. margin-top: 5%;
  62. }
  63. .list {
  64. padding-top: 50rpx;
  65. .item {
  66. display: flex;
  67. gap: 20rpx;
  68. //height: 80rpx;
  69. margin-bottom: 40rpx;
  70. .left {
  71. display: flex;
  72. justify-content: center;
  73. align-items: flex-start;
  74. width: 15%;
  75. }
  76. .center {
  77. width: 60%;
  78. }
  79. .right {
  80. width: 30%;
  81. text-align: center;
  82. }
  83. }
  84. }
  85. }
  86. }
  87. </style>