Blame view

src/views/dashboard/analysis/index.vue 880 Bytes
1
<template>
Vben authored
2
3
4
5
6
  <div class="p-4">
    <GrowCard :loading="loading" class="enter-y" />
    <SiteAnalysis class="!my-4 enter-y" :loading="loading" />
    <div class="md:flex enter-y">
      <VisitRadar class="md:w-1/3 w-full" :loading="loading" />
7
      <VisitSource class="md:w-1/3 !md:mx-4 !md:my-0 !my-4 w-full" :loading="loading" />
Vben authored
8
9
      <SalesProductPie class="md:w-1/3 w-full" :loading="loading" />
    </div>
10
11
  </div>
</template>
12
13
<script lang="ts" setup>
  import { ref } from 'vue';
14
  import GrowCard from './components/GrowCard.vue';
Vben authored
15
16
17
18
19
  import SiteAnalysis from './components/SiteAnalysis.vue';
  import VisitSource from './components/VisitSource.vue';
  import VisitRadar from './components/VisitRadar.vue';
  import SalesProductPie from './components/SalesProductPie.vue';
20
  const loading = ref(true);
Vben authored
21
22
23
24
  setTimeout(() => {
    loading.value = false;
  }, 1500);
25
</script>