| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <template>
- <view class="common-page" style="padding:0">
- <PageScroll requestStr="/team/token/shop/invite/page" @updateList="updateList" ref="scrollRef"
- :otherParams="otherParams">
- <u-sticky :customNavHeight="0">
- <view class="search-area flex-a">
- <view class="text-item flex-1">审核日期</view>
- <view class="text-item flex-1">数量</view>
- </view>
- </u-sticky>
- <view class="list-con">
- <view v-for="(item,index) in dataList" :key="index" class="flex-a">
- <view class="text-item flex-1">{{item.date}}</view>
- <view class="text-item flex-1">{{item.orderNum}}</view>
- </view>
- </view>
- </PageScroll>
- </view>
- </template>
- <script setup>
- import {
- reactive
- } from 'vue';
- import PageScroll from '@/components/pageScroll/index.vue'
- import {
- ref
- } from 'vue';
- import {
- onLoad
- } from '@dcloudio/uni-app'
- const otherParams = ref({
- sender: '',
- })
- const scrollRef = ref(null)
- const refreshList = () => {
- scrollRef.value?.resetUpScroll()
- }
- let dataList = ref([{
- date: '2024-10-24',
- orderNum: 423,
- }, {
- date: '2024-10-24',
- orderNum: 423,
- }, {
- date: '2024-10-24',
- orderNum: 423,
- }])
- const updateList = (data) => {
- dataList.value = data
- }
- </script>
- <style lang="scss">
- .search-area {
- padding: 24rpx;
- background-color: #ffffff;
- z-index: 9;
- }
- </style>
|