瑶都万能墙
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.

89 lines
1.6 KiB

8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
  1. <template>
  2. <view class="running-water">
  3. <navbar :title="title[status]" leftClick @leftClick="leftClick" />
  4. <view class="tab-box">
  5. <view class="tab-box1">
  6. <uv-cell
  7. center
  8. border
  9. :title="item.title"
  10. v-for="(item, index) in list"
  11. :value="x[item.type] + item.intger"
  12. :label="item.createTime" />
  13. </view>
  14. <view
  15. style="padding: 100rpx 0;"
  16. v-if="list.length == 0">
  17. <uv-empty
  18. mode="history"
  19. textSize="28rpx"
  20. iconSize="100rpx"/>
  21. </view>
  22. </view>
  23. </view>
  24. </template>
  25. <script>
  26. import mixinsList from '@/mixins/list.js'
  27. export default {
  28. mixins: [mixinsList],
  29. data() {
  30. return {
  31. mixinsListApi : 'getWalletFlow',
  32. title : ['余额记录','积分记录'],
  33. agentFlow : {
  34. total : 0,
  35. records : [
  36. {
  37. type : 0,
  38. money : 100,
  39. createTime : '2024-04-02 20:00',
  40. title : "佣金提现",
  41. },
  42. {
  43. type : 0,
  44. money : 100,
  45. createTime : '2024-04-02 20:00',
  46. title : "佣金提现",
  47. },
  48. {
  49. type : 0,
  50. money : 100,
  51. createTime : '2024-04-02 20:00',
  52. title : "佣金提现",
  53. },
  54. ]
  55. },
  56. x : ['-' , '+'],
  57. status : 0,
  58. }
  59. },
  60. onLoad(e) {
  61. this.status = e.status
  62. this.mixinsListApi = ['getWalletFlow', 'getPointsFlow'][e.status]
  63. },
  64. methods: {
  65. leftClick() { //返回钱包
  66. uni.navigateBack(-1)
  67. },
  68. }
  69. }
  70. </script>
  71. <style lang="scss" scoped>
  72. .running-water{
  73. width: 750rpx;
  74. background: #F5F5F5;
  75. margin: 0 auto;
  76. min-height: 100vh;
  77. .tab-box{
  78. margin: 20rpx;
  79. background-color: #fff;
  80. border-radius: 20rpx;
  81. overflow: hidden;
  82. }
  83. }
  84. </style>