|
|
@ -1,5 +1,6 @@ |
|
|
|
<script lang="ts" setup> |
|
|
|
import { Card, CardGrid } from 'ant-design-vue' |
|
|
|
import { ref } from 'vue' |
|
|
|
import { navItems } from './data' |
|
|
|
import { Icon } from '@/components/Icon' |
|
|
|
|
|
|
@ -9,10 +10,11 @@ const props = defineProps({ |
|
|
|
default: () => {}, |
|
|
|
}, |
|
|
|
}) |
|
|
|
const imgUrl = ref(new URL(props.data.path, import.meta.url).href) |
|
|
|
</script> |
|
|
|
|
|
|
|
<template> |
|
|
|
<Card class="enter-y !my-1" :title="props.data.Header"> |
|
|
|
<img class="mx-auto h-50 w-full" :src="props.data.path"> |
|
|
|
<img class="mx-auto h-50 w-full" :src="imgUrl"> |
|
|
|
</Card> |
|
|
|
</template> |
|
|
|