refactor(frontend): 代码格式化与移动端响应式优化

- 修正 Vue 组件 defineProps/defineEmits 声明顺序
- 优化首页移动端布局,调整 Logo 位置与透明度
- 为 Aether 标题添加打字机动画效果
- 修复 HTML 属性中引号的实体转义
This commit is contained in:
fawney19
2026-01-29 11:06:30 +08:00
parent 557e64c77f
commit 407fcfff3e
10 changed files with 201 additions and 60 deletions

View File

@@ -17,6 +17,11 @@ import {
type ChartOptions
} from 'chart.js'
const props = withDefaults(defineProps<Props>(), {
height: 300,
options: undefined
})
ChartJS.register(
ArcElement,
DoughnutController,
@@ -31,11 +36,6 @@ interface Props {
height?: number
}
const props = withDefaults(defineProps<Props>(), {
height: 300,
options: undefined
})
const chartRef = ref<HTMLCanvasElement>()
let chart: ChartJS<'doughnut'> | null = null