¶Ô±ÈÐÂÎļþ |
| | |
| | | <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"> |
| | | // ä½¿ç¨ @use æ¿ä»£ @importï¼å¦æuView-plusæ¯æçè¯ï¼ |
| | | // 注æï¼ç±äºuView-pluså¯è½è¿ä¸æ¯æ@useï¼è¿å¯è½ä¼å¯¼è´æ ·å¼é®é¢ |
| | | // @use "uview-plus/index.scss"; |
| | | // @use '@/static/scss/index.scss'; |
| | | |
| | | // ææ¶ä¿ç@importï¼ç´å°uView-plusæ´æ° |
| | | @import "uview-plus/index.scss"; |
| | | @import '@/static/scss/index.scss'; |
| | | </style> |