<template>
	<div class="home">
		<router-view></router-view>
		<van-tabbar fixed :safe-area-inset-bottom="true" route placeholder>
			<van-tabbar-item to="/home/test" icon="home-o"
				>驾考
				<template #icon="props">
					<m-icon :type="props.active ? 'jiakao' : 'jiakaohui'" />
				</template>
			</van-tabbar-item>
			<van-tabbar-item to="/home/user" icon="friends-o"
				>我的
				<template #icon="props">
					<m-icon :type="props.active ? 'wode' : 'wodehui'" />
				</template>
			</van-tabbar-item>
		</van-tabbar>
	</div>
</template>

<script lang="ts" setup></script>

<style scoped lang="scss"></style>
