feat: 自动提交 - 周一 2025/09/22 15:12:38.91

This commit is contained in:
赵杰
2025-09-22 15:12:38 +01:00
parent 9306e7a401
commit b635c9e7d4
41 changed files with 7360 additions and 950 deletions

38
frontend/src/App.vue Normal file
View File

@@ -0,0 +1,38 @@
<template>
<div id="app">
<el-config-provider :locale="locale">
<router-view />
</el-config-provider>
</div>
</template>
<script setup lang="ts">
import { computed } from 'vue'
import { useI18n } from 'vue-i18n'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import en from 'element-plus/dist/locale/en.mjs'
const { locale: i18nLocale } = useI18n()
const locale = computed(() => {
return i18nLocale.value === 'zh' ? zhCn : en
})
</script>
<style>
#app {
height: 100vh;
margin: 0;
padding: 0;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
}
</style>