Files
resume/src/components/Education/EducationCard.vue
2025-10-15 22:41:34 +08:00

43 lines
1.0 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="education-card animate-item">
<div class="education-header">
<div class="education-info">
<span class="period">{{ item.period }}</span>
<h3 class="degree">{{ item.degree }}</h3>
<h4 class="school">{{ item.school }}</h4>
</div>
<div class="education-icon">
<i class="fa fa-graduation-cap"></i>
</div>
</div>
<p class="description">{{ item.description }}</p>
<div class="education-details">
<h4 class="details-title">{{ item.detailsTitle }}</h4>
<div class="details-tags">
<el-tag
v-for="(detail, i) in item.details"
:key="i"
type="warning"
effect="light"
>
{{ detail }}
</el-tag>
</div>
</div>
</div>
</template>
<script setup lang="ts">
import { defineProps, PropType } from 'vue'
import { IEducation } from '@/types'
const props = defineProps({
item: {
required: true,
type: Object as PropType<IEducation>
}
})
</script>