<template>
    <view class="audit-list">
        <page-scroll requestStr="/app/orderinfo/myNeedCheckOrder" @updateList="updateList">
            <order-item v-for="(item, index) in list" :key="index" :item="item"></order-item>
        </page-scroll>
    </view>
</template>

<script setup>
import orderItem from "../components/orderItem.vue";
import pageScroll from "@/components/pageScroll/index.vue";
import { ref } from "vue";

const list = ref([]);

const updateList = (newList) => {
    list.value = newList;
};
</script>

<style lang="scss">
.audit-list {
    padding: 20rpx;
    box-sizing: border-box;
}
</style>
