<template>
  <div class="ele-body ele-body-card">
    <statistics-card />
    <!--    <sale-card />-->
    <visit-hour />

  </div>
</template>

<script lang="ts" setup>
  import { reactive, ref } from 'vue';
  import { storeToRefs } from 'pinia';
  import { useThemeStore } from '@/store/modules/theme';
  //import * as ShopCountApi from '@/api/shop/count';
  import StatisticsCard from './components/statistics-card.vue';
  import SaleCard from './components/sale-card.vue';
  import visitHour from './components/visit-hour.vue';
  import { PayNumData } from '@/api/dashboard/analysis/model';

  import HotSearch from './components/hot-search.vue';
  import { getPayNumList } from '@/api/dashboard/analysis';
  import { Company } from '@/api/system/company/model';

  // 是否开启响应式布局
  const themeStore = useThemeStore();
  const { styleResponsive } = storeToRefs(themeStore);

  const reload = () => {
    // getPayNumList().then((list) => {
    //   console.log(list);
    //   if (list) {
    //     statistics.value = list;
    //   }
    // });
  };

  reload();
</script>

<script lang="ts">
  export default {
    name: 'DashboardAnalysis'
  };
</script>
