incomingTransferLog.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <template>
  2. <view class="">
  3. <public-module></public-module>
  4. <u-sticky h5-nav-height="0">
  5. <view class="headers dis a-c j-start">
  6. <u-icon name="arrow-left" color="#333" size="38" @click="back"></u-icon>
  7. <text style="margin: auto;">管理人详情</text>
  8. </view>
  9. <view class="filterTime dis j-s a-c ">
  10. <view class=" dis a-c " @click="timeDropdownFilter">
  11. <text>{{pageQuery.startTime && pageQuery.endTime ? pageQuery.startTime + '-' + pageQuery.endTime : '时间筛选' }}</text>
  12. <text>▼</text>
  13. </view>
  14. <view class=" dis a-c " @click="statusFilterShow=true">
  15. <text>321321</text>
  16. <text>▼</text>
  17. </view>
  18. </view>
  19. <view class="performance dis a-c j-c ">
  20. 共有 5笔订单,保费5元,佣金5元
  21. </view>
  22. </u-sticky>
  23. <view class="content">
  24. <view class="item">
  25. </view>
  26. </view>
  27. <u-loadmore v-if="userlist.length!=0" :status="status" />
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. data() {
  33. return {
  34. referrerInfo: {}, //个人信息
  35. userlist: [],
  36. pageQuery: {
  37. id: "",
  38. endTime: "",
  39. startTime: "",
  40. pageNum: 1,
  41. pageSize: 10,
  42. },
  43. status: 'loadmore',
  44. totalPages: 0,
  45. parentStatus: "",
  46. }
  47. },
  48. onReachBottom() {
  49. // if (this.pageQuery.pageNum >= this.totalPages) return;
  50. // this.status = 'loading';
  51. // this.pageQuery.pageNum = ++this.pageQuery.pageNum;
  52. // setTimeout(async () => {
  53. // let res = await this.$http.post('/newAppPartner/selectByIdList', this.pageQuery);
  54. // if (res.code == '200') {
  55. // this.userlist = [...this.userlist, ...res.data.list.records];
  56. // }
  57. // if (this.pageQuery.pageNum >= this.totalPages) this.status = 'nomore';
  58. // else this.status = 'loading';
  59. // }, 1000)
  60. },
  61. onLoad(options) {
  62. this.pageQuery.id = options.id;
  63. this.querydata();
  64. },
  65. methods: {
  66. back() {
  67. uni.navigateBack({
  68. delta: 1, // 返回的页面数,如果是1表示返回上一页
  69. success: function() {}
  70. });
  71. },
  72. async querydata() {
  73. },
  74. }
  75. }
  76. </script>
  77. <style lang="scss" scoped>
  78. .headers {
  79. width: 100%;
  80. z-index: 999999;
  81. padding: 30rpx;
  82. padding-top: 50px;
  83. background: linear-gradient(180deg, #D1EFFE 0%, #FFFFFF 100%);
  84. border-bottom: 1rpx solid #f2f2f2;
  85. text {
  86. font-size: 36rpx;
  87. font-weight: bold;
  88. color: #000;
  89. }
  90. .right {
  91. position: absolute;
  92. right: 30rpx;
  93. image {
  94. width: 28rpx;
  95. height: 28rpx;
  96. margin-right: 4rpx;
  97. }
  98. text {
  99. font-weight: 400;
  100. color: #000;
  101. font-size: 24rpx;
  102. }
  103. }
  104. }
  105. //业绩
  106. .performance {
  107. width: 100%;
  108. height: 60rpx;
  109. background: #EBF4FF;
  110. border-radius: 0rpx 0rpx 0rpx 0rpx;
  111. font-size: 30rpx;
  112. color: #2B67EF;
  113. }
  114. //时间筛选
  115. .filterTime {
  116. width: 100%;
  117. background: #fff;
  118. border-radius: 0rpx 0rpx 0rpx 0rpx;
  119. padding: 20rpx 30rpx;
  120. box-sizing: border-box;
  121. text:first-child {
  122. font-size: 26rpx;
  123. color: #333;
  124. }
  125. text:last-child {
  126. font-size: 19rpx;
  127. color: #666;
  128. margin-left: 4rpx;
  129. }
  130. }
  131. .content {
  132. margin: 20rpx 30rpx;
  133. box-sizing: border-box;
  134. background-color: #FFFFFF;
  135. border-radius: 10rpx 10rpx 10rpx 10rpx;
  136. padding: 30rpx;
  137. box-sizing: border-box;
  138. }
  139. </style>