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
|
|
|
}
|
|
|
|
</style>
|