index.vue 1.1 KB

12345678910111213141516171819202122232425262728
  1. <template>
  2. <div class="p-4">
  3. <GrowCard :loading="loading" :list="growCardList" class="enter-y" />
  4. <!-- <div class="md:flex !my-4 enter-y">
  5. <lineEcharts class="md:w-1/2 w-full !md:mt-0 !mt-4 !md:mr-4" name="chartRef1" :loading="loading" />
  6. </div> -->
  7. <lineEcharts2 name="chartRef2" class="!my-4 enter-y" :loading="loading" />
  8. <scenelineEcharts class="!my-4 enter-y" :loading="loading" />
  9. <!-- <div class="md:flex enter-y">
  10. <VisitRadar class="md:w-1/3 w-full" :loading="loading" />
  11. <VisitSource class="md:w-1/3 !md:mx-4 !md:my-0 !my-4 w-full" :loading="loading" />
  12. <SalesProductPie class="md:w-1/3 w-full" :loading="loading" />
  13. </div> -->
  14. </div>
  15. </template>
  16. <script lang="ts" setup>
  17. import { ref } from 'vue';
  18. import { growCardList } from '../data';
  19. import GrowCard from '../components/GrowCard.vue';
  20. import lineEcharts2 from '../components/lineEcharts2.vue';
  21. import scenelineEcharts from '../components/scenelineEcharts.vue';
  22. const loading = ref(true);
  23. setTimeout(() => {
  24. loading.value = false;
  25. }, 1500);
  26. </script>