feat: 增加后台模块

This commit is contained in:
2026-02-22 21:41:46 +08:00
parent ff11f04b43
commit f80efca76f
1747 changed files with 249377 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import Footer from './src/Footer.vue'
export { Footer }

View File

@@ -0,0 +1,27 @@
<script lang="ts" setup>
import { useAppStore } from '@/store/modules/app'
import { useDesign } from '@/hooks/web/useDesign'
// eslint-disable-next-line vue/no-reserved-component-names
defineOptions({ name: 'Footer' })
const { getPrefixCls } = useDesign()
const prefixCls = getPrefixCls('footer')
const appStore = useAppStore()
const title = computed(() => appStore.getTitle)
// 添加当前年份计算属性
const currentYear = computed(() => new Date().getFullYear())
</script>
<template>
<div
:class="prefixCls"
class="h-[var(--app-footer-height)] bg-[var(--app-content-bg-color)] text-center leading-[var(--app-footer-height)] text-[var(--el-text-color-placeholder)] dark:bg-[var(--el-bg-color)] overflow-hidden"
>
<span class="text-14px">Copyright ©{{ currentYear }} {{ title }}</span>
</div>
</template>