<template>
	<view class="kaoshi-card">
		<!-- card title -->
		<view><text>|</text><text>考试</text></view>
		<!-- kaoshi title -->
		<view> 	
			<text v-if="data.name">·{{data.name}}</text>
			<text>{{data.zyLevelName}}</text>
		</view>
		<!-- 内容区域 -->
		<view>
			<view>
				<view>icon</view>
				<view>
					<view>时间</view>
					<view>{{data.totalTm}}分钟</view>
				</view>
			</view>
			<view>
				<view>icon</view>
				<view>
					<view>次数</view>
					<view>{{data.joinCount}}次</view>
				</view>
			</view>
			<view>
				<view>icon</view>
				<view>
					<view>总分</view>
					<view>{{data.ksScore}}分</view>
				</view>
			</view>
			<view>
				<view>icon</view>
				<view>
					<view>及格分</view>
					<view>{{data.okScore}}分</view>
				</view>
			</view>
			<view>更多<text>{{data.count}}</text>
				<icon>→</icon>
			</view>
		</view>
		<!-- 底部 -->
		<view>
			<button v-if="data.status == 1">进行考试</button>
			<button v-if="data.status == 2">进行考试</button>
			<button v-if="data.status == 3">考试中</button>
		</view>
	</view>
</template>

<script setup>
	defineProps({
		data: {
			type: Object,
		}
	})
</script>

<style>
</style>