after-sale.vue 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <template>
  2. <view class="common-page" style="padding:0">
  3. <PageScroll requestStr="/team/token/shop/invite/page" @updateList="updateList" ref="scrollRef"
  4. :otherParams="otherParams">
  5. <u-sticky :customNavHeight="0">
  6. <view class="search-area flex-d">
  7. <view class="flex-a mb-12">
  8. <text class="font-13 mr-10">开始时间:</text>
  9. <uni-datetime-picker type="datetime" v-model="form.startTime" />
  10. </view>
  11. <view class="flex-a">
  12. <text class="font-13 mr-10">结束时间:</text>
  13. <uni-datetime-picker type="datetime" v-model="form.endTime" />
  14. <u-button type="primary" custom-style="width:160rpx;height:72rpx;margin-left:10px">查询</u-button>
  15. </view>
  16. <u-divider></u-divider>
  17. <view class="flex-a">
  18. <view class="text-item flex-1">审核日期</view>
  19. <view class="text-item flex-1">订单数量</view>
  20. <view class="text-item flex-1">审书数量</view>
  21. <view class="text-item flex-1">实际回收</view>
  22. </view>
  23. </view>
  24. </u-sticky>
  25. <view class="list-con">
  26. <view v-for="(item,index) in dataList" :key="index" class="flex-a">
  27. <view class="text-item flex-1">{{item.date}}</view>
  28. <view class="text-item flex-1">{{item.orderNum}}</view>
  29. <view class="text-item flex-1">{{item.auditNum}}</view>
  30. <view class="text-item flex-1">{{item.trueNum}}</view>
  31. </view>
  32. </view>
  33. </PageScroll>
  34. </view>
  35. </template>
  36. <script setup>
  37. import {
  38. reactive
  39. } from 'vue';
  40. import PageScroll from '@/components/pageScroll/index.vue'
  41. import {
  42. ref
  43. } from 'vue';
  44. import {
  45. onLoad
  46. } from '@dcloudio/uni-app'
  47. const otherParams = ref({
  48. sender: '',
  49. })
  50. const scrollRef = ref(null)
  51. const refreshList = () => {
  52. scrollRef.value?.resetUpScroll()
  53. }
  54. let dataList = ref([{
  55. date: '2024-10-24',
  56. orderNum: 423,
  57. auditNum: 293,
  58. trueNum: 323
  59. }, {
  60. date: '2024-10-24',
  61. orderNum: 423,
  62. auditNum: 293,
  63. trueNum: 323
  64. }, {
  65. date: '2024-10-24',
  66. orderNum: 423,
  67. auditNum: 293,
  68. trueNum: 323
  69. }])
  70. const updateList = (data) => {
  71. dataList.value = data
  72. }
  73. const form = reactive({
  74. startTime: "",
  75. endTime: ''
  76. })
  77. </script>
  78. <style lang="scss">
  79. .search-area {
  80. padding: 24rpx;
  81. background-color: #ffffff;
  82. z-index: 9;
  83. }
  84. </style>