index.vue 560 B

12345678910111213141516171819202122232425
  1. <template>
  2. <div class="main">
  3. <el-row>
  4. <el-col :span="24" class="animate__animated animate__backInRight" v-loading="loading">
  5. <custom-layout>
  6. <el-col :span="24" class="one">首页 </el-col>
  7. </custom-layout>
  8. </el-col>
  9. </el-row>
  10. </div>
  11. </template>
  12. <script setup>
  13. import { UserStore } from '@/store/user'
  14. const userStore = UserStore()
  15. const user = computed(() => userStore.user)
  16. // 加载中
  17. const loading = ref(false)
  18. // 路由
  19. const router = useRouter()
  20. </script>
  21. <style scoped lang="scss">
  22. .main {
  23. }
  24. </style>