mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-31 15:09:26 +08:00
30 lines
521 B
Vue
30 lines
521 B
Vue
<template>
|
|
<div id="ui">
|
|
<template v-for="com of uiStack">
|
|
<component :is="com"></component>
|
|
</template>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue';
|
|
import { uiStack } from './plugin/uiController';
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
#ui {
|
|
width: 90%;
|
|
height: 90%;
|
|
display: flex;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
#ui {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
</style>
|