<template>
	<custom-scroll-list :refreshFn="getExamList" :tabList="tabData" :defaultTab="1">
		<template #default="{list}">
			<scroll-list-card  v-for="item in list" :data="item" :key="item.ksId"></scroll-list-card>
		</template>
	</custom-scroll-list>
</template>

<script setup>
	import {
		getExamList
	} from "@/api/exam.js";
	import {
		// onLoad,
		onReady,
		
	} from "@dcloudio/uni-app"
	import {
		reactive,
		ref
	} from "vue";

	const tabData = [{
			label: "可以考试",
			value: 1,
		},
		{
			label: "已结束",
			value: 4,
		}
	]
</script>

<style lang="scss">

</style>