<template>
  <div class="p-4">
    <GrowCard :loading="loading" :list="growCardList" class="enter-y" />
    <!-- <div class="md:flex !my-4 enter-y">
      <lineEcharts class="md:w-1/2 w-full !md:mt-0 !mt-4 !md:mr-4" name="chartRef1" :loading="loading"  />
    </div> -->
    <lineEcharts2  name="chartRef2" class="!my-4 enter-y" :loading="loading" />

    <scenelineEcharts class="!my-4 enter-y" :loading="loading" />
    <!-- <div class="md:flex enter-y">
      <VisitRadar class="md:w-1/3 w-full" :loading="loading" />
      <VisitSource class="md:w-1/3 !md:mx-4 !md:my-0 !my-4 w-full" :loading="loading" />
      <SalesProductPie class="md:w-1/3 w-full" :loading="loading" />
    </div> -->
  </div>
</template>
<script lang="ts" setup>
  import { ref } from 'vue';
  import { growCardList } from '../data';
  import GrowCard from '../components/GrowCard.vue';
  import lineEcharts2 from '../components/lineEcharts2.vue';
  import scenelineEcharts from '../components/scenelineEcharts.vue';
  const loading = ref(true);

  setTimeout(() => {
    loading.value = false;
  }, 1500);
</script>
