mirror of
https://github.com/LifeArchiveProject/WeChatDataAnalysis.git
synced 2026-02-19 22:30:49 +08:00
- 主题系统新增 win98(显示名 Windows 98,快捷键扩展到 F1-F4),并区分 retro(pixel/CRT) 与桌面 GUI 主题 - 年度总结页新增 Win98 桌面背景与底部任务栏(背景色/视口高度适配) - 封面与卡片 slide 形态支持 Win98 窗口外观(title bar/icon/controls) - 主题切换器补充 Win98 选项并新增 Win98 专属切换器 - 新增 Win98 图标资源(Start + 桌面图标)
19 lines
527 B
Vue
19 lines
527 B
Vue
<template>
|
|
<component :is="themeSwitcherComponent" />
|
|
</template>
|
|
|
|
<script setup>
|
|
const { theme } = useWrappedTheme()
|
|
|
|
// 根据当前主题动态选择对应的切换器组件
|
|
const themeSwitcherComponent = computed(() => {
|
|
const map = {
|
|
off: resolveComponent('WrappedThemeSwitcherModern'),
|
|
gameboy: resolveComponent('WrappedThemeSwitcherGameboy'),
|
|
dos: resolveComponent('WrappedThemeSwitcherDos'),
|
|
win98: resolveComponent('WrappedThemeSwitcherWin98')
|
|
}
|
|
return map[theme.value] || map.off
|
|
})
|
|
</script>
|