You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
497 B
Vue
29 lines
497 B
Vue
<script setup>
|
|
import { onMounted, getCurrentInstance } from "vue";
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
// 关闭大屏加载动画
|
|
(parent || window).postMessage("loading.hide", "*");
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
<Transition name="fade" mode="out-in">
|
|
<router-view></router-view>
|
|
</Transition>
|
|
</div>
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.loading {
|
|
position: fixed;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: #000;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 9999;
|
|
}
|
|
</style>
|