<template>
	<a-card>
		<a-descriptions :title="userInfo.name">
			<a-descriptions-item label="性别">{{ userInfo.gender }}</a-descriptions-item>
			<a-descriptions-item label="邮箱">{{ userInfo.email }}</a-descriptions-item>
			<a-descriptions-item label="手机">{{ userInfo.phone }}</a-descriptions-item>
			<a-descriptions-item label="生日">{{ userInfo.birthday }}</a-descriptions-item>
			<a-descriptions-item label="学号">{{ userInfo.name }}</a-descriptions-item>
			<a-descriptions-item label="第几届">{{ userInfo.name }}</a-descriptions-item>
			<a-descriptions-item label="院系">{{ userInfo.name }}</a-descriptions-item>
			<a-descriptions-item label="班级">{{ userInfo.name }}</a-descriptions-item>
			<a-descriptions-item label="专业">{{ userInfo.name }}</a-descriptions-item>
		</a-descriptions>
	</a-card>
</template>

<script setup>
	import tool from '@/utils/tool'
	const userInfo = tool.data.get('USER_INFO')
	console.log("🚀 ~ userInfo:", userInfo)
</script>

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