feat:移植工程
This commit is contained in:
20
src/components/AppLoading.vue
Normal file
20
src/components/AppLoading.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div v-if="appStore.isLoading" id="app-loading">
|
||||
<div class="cube-container">
|
||||
<div class="cube cube1"></div>
|
||||
<div class="cube cube2"></div>
|
||||
<div class="cube cube3"></div>
|
||||
</div>
|
||||
<p class="loading-text">正在加载中...</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useAppStore } from '@/store/app.ts'
|
||||
|
||||
const appStore = useAppStore()
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@use "@/styles/app.loading.module.scss";
|
||||
</style>
|
||||
Reference in New Issue
Block a user