2023-05-04 17:42:22 +08:00
|
|
|
<script setup>
|
|
|
|
import { useFoot } from '~/config/use-foot'
|
|
|
|
|
|
|
|
const footer = useFoot()
|
|
|
|
</script>
|
|
|
|
|
2023-04-23 14:19:03 +08:00
|
|
|
<template>
|
2023-06-01 15:36:34 +08:00
|
|
|
<!-- <Divider /> -->
|
2024-05-25 14:39:34 +08:00
|
|
|
<div class="grid grid-cols-2 p-20 pt-30 lg:(grid-cols-3) md:(px-30) xl:px-60">
|
2023-04-27 13:58:47 +08:00
|
|
|
<div
|
2023-05-07 01:39:44 +08:00
|
|
|
v-for="(col, i) in footer.links"
|
2023-05-04 17:42:22 +08:00
|
|
|
:key="i"
|
2023-05-05 17:23:07 +08:00
|
|
|
class="w-full flex flex-col items-center gap-8"
|
2023-05-04 17:42:22 +08:00
|
|
|
>
|
|
|
|
<h5 text-title opacity-60>
|
|
|
|
{{ $t(col.title) }}
|
|
|
|
</h5>
|
|
|
|
|
2023-05-25 18:00:00 +08:00
|
|
|
<LocaleNuxtLink v-for="(item, i) in col.child" :key="i" :href="item.link.href">
|
2023-06-05 15:36:30 +08:00
|
|
|
<ABtn v-if="item.img" variant="text" color="slate-200" class="dark:!text-light/50" :icon="item.icon">
|
2023-05-25 18:00:00 +08:00
|
|
|
{{ $t(item.link.name) }}
|
2023-06-05 15:36:30 +08:00
|
|
|
<ATooltip class="[&_.a-tooltip]-bg-dark-600" placement="left">
|
2023-05-25 18:00:00 +08:00
|
|
|
<span class="a-tooltip-text">
|
2023-06-05 15:36:30 +08:00
|
|
|
<img :src="item.img" class="h-40 rounded">
|
2023-05-25 18:00:00 +08:00
|
|
|
</span>
|
|
|
|
</ATooltip>
|
|
|
|
</ABtn>
|
|
|
|
<ABtn v-else variant="text" color="slate-200" class="dark:!text-light/50" :icon="item.icon">
|
|
|
|
{{ $t(item.link.name) }}
|
|
|
|
</ABtn>
|
2023-05-07 16:38:23 +08:00
|
|
|
</LocaleNuxtLink>
|
2023-05-04 17:42:22 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-07 01:39:44 +08:00
|
|
|
<div my-10 flex flex-col items-center justify-center gap-4>
|
2023-06-13 20:06:26 +08:00
|
|
|
<BrandLogo />
|
|
|
|
<div>
|
2023-05-07 01:39:44 +08:00
|
|
|
<DarkToggle />
|
2023-06-13 20:06:26 +08:00
|
|
|
<LangSwitch />
|
2023-05-07 01:39:44 +08:00
|
|
|
</div>
|
2023-06-09 02:04:28 +08:00
|
|
|
<p class="text-center">
|
2023-05-07 01:39:44 +08:00
|
|
|
{{ $t(footer.copyright) }}
|
|
|
|
</p>
|
2023-06-09 02:04:28 +08:00
|
|
|
<p class="text-center">
|
2023-05-07 01:39:44 +08:00
|
|
|
{{ $t(footer.release) }}
|
|
|
|
</p>
|
2023-07-27 11:34:46 +08:00
|
|
|
<!-- <p v-for="(record, i) in footer.record" :key="i" class="text-center">
|
2023-05-07 01:39:44 +08:00
|
|
|
{{ $t(record) }}
|
2023-07-27 11:34:46 +08:00
|
|
|
</p> -->
|
|
|
|
<a class="text-center" href="https://beian.miit.gov.cn" target="_blank">
|
|
|
|
沪ICP备2023010651号-1
|
|
|
|
</a>
|
|
|
|
<a class="text-center" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502052580" target="_blank">
|
2023-06-06 15:51:07 +08:00
|
|
|
<img src="https://pic3.zhimg.com/80/v2-d0289dc0a46fc5b15b3363ffa78cf6c7.png" class="inline scale-90 px-1">
|
|
|
|
京公网安备 11010502052580号
|
2023-07-27 11:34:46 +08:00
|
|
|
</a>
|
2023-04-23 14:19:03 +08:00
|
|
|
</div>
|
|
|
|
</template>
|