gaoluyang
2 天以前 025e46e11cb2962fd7692adfa401333758cc779b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<template>
    <Splash v-if="showSplash" />
    <div v-else>
        <router-view />
    </div>
</template>
<script setup>
import { ref, onMounted } from 'vue'
import Splash from './components/Splash.vue'
 
const showSplash = ref(true)
onMounted(() => {
    setTimeout(() => {
        showSplash.value = false
    }, 5000)
})
</script>
 
<style lang="scss">
@import "uview-plus/index.scss";
@import '@/static/scss/index.scss';
</style>