<template>
	<Index v-show="value==0"/>
	<User v-show="value==1"/>
		<uv-tabbar :border="false" :value="value" @change="index=>value = index">
			<uv-tabbar-item @click="value==0" text="首页" icon="home" iconSize="30"></uv-tabbar-item>
			<uv-tabbar-item @click="value==1" text="我的" icon="account" iconSize="30"></uv-tabbar-item>
		</uv-tabbar>
</template>

<script setup>
	import {ref} from 'vue'
	import Index from '@/pages/teacher/index.vue'
	import User from '@/pages/user/index.vue'
	const value=ref(0)
</script>

<style>

</style>
