HumanBreak/src/App2.vue

45 lines
1.4 KiB
Vue
Raw Normal View History

2022-12-28 20:34:23 +08:00
<template>
<div id="non-ui">
2023-02-20 20:34:42 +08:00
<Start v-if="startOpened"></Start>
2022-12-28 20:34:23 +08:00
<StatusBar v-if="showStatusBar"></StatusBar>
2023-01-06 16:21:17 +08:00
<MarkedEnemy v-if="showMarkedEnemy && showStatusBar"></MarkedEnemy>
<Studied
v-if="showStudiedSkill && showStatusBar && showStudied"
></Studied>
2023-01-06 21:51:58 +08:00
<Fixed v-if="showStatusBar && useFixed"></Fixed>
2022-12-29 19:57:31 +08:00
<Chapter v-if="chapterShowed" :chapter="chapterContent"></Chapter>
2023-02-22 22:27:42 +08:00
<CompleteAchievement
v-if="showComplete"
:complete="completeAchi"
></CompleteAchievement>
2022-12-28 20:34:23 +08:00
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
2023-02-20 20:34:42 +08:00
import {
showStatusBar,
showStudiedSkill,
startOpened
} from './plugin/uiController';
2022-12-29 19:57:31 +08:00
import { chapterContent, chapterShowed } from './plugin/ui/chapter';
2023-01-04 11:59:50 +08:00
import { showMarkedEnemy } from './plugin/mark';
2023-01-06 21:51:58 +08:00
import { showStudied, useFixed } from './plugin/settings';
2023-02-22 22:27:42 +08:00
import { showComplete, completeAchi } from './plugin/ui/achievement';
2023-02-20 20:34:42 +08:00
import MarkedEnemy from './ui/markedEnemy.vue';
import StatusBar from './ui/statusBar.vue';
import Chapter from './ui/chapter.vue';
import Studied from './ui/studied.vue';
2023-01-06 21:51:58 +08:00
import Fixed from './ui/fixed.vue';
2023-02-20 20:34:42 +08:00
import Start from './ui/start.vue';
2023-02-22 22:27:42 +08:00
import CompleteAchievement from './ui/completeAchievement.vue';
2022-12-28 20:34:23 +08:00
</script>
<style lang="less" scoped>
#non-ui {
width: 0;
height: 0;
overflow: visible;
}
</style>