HumanBreak/src/App.vue

30 lines
519 B
Vue
Raw Normal View History

2022-11-13 18:02:05 +08:00
<template>
2022-11-14 17:11:23 +08:00
<div id="ui">
<template v-for="com of uiStack">
<component :is="com"></component>
</template>
2022-11-13 18:02:05 +08:00
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
2022-11-14 17:11:23 +08:00
import { uiStack } from './plugin/uiController';
2022-11-13 18:02:05 +08:00
</script>
<style lang="less" scoped>
2022-11-14 17:11:23 +08:00
#ui {
width: 90%;
height: 90%;
2022-11-13 18:02:05 +08:00
display: flex;
justify-content: center;
2022-11-14 17:11:23 +08:00
overflow: hidden;
2022-11-13 18:02:05 +08:00
}
2022-11-16 23:01:23 +08:00
@media screen and(max-width:600px) {
#ui {
width: 100%;
height: 100%;
}
}
2022-11-13 18:02:05 +08:00
</style>