forked from drone/command-center-dashboard

chenyao
2025-03-28 55dc742fb4ee17be13ce57bc78cf3eee9ee90f9f
src/views/Home/Home.vue
@@ -1,42 +1,22 @@
<template>
  <div class="warp">
    <HomeLeft></HomeLeft>
    <!-- <div>中间搜索</div> -->
    <HomeRight></HomeRight>
  </div>
</template>
<script>
<script setup>
import HomeRight from './components/HomeRight/HomeRight.vue';
import HomeLeft from '@/views/Home/components/HomeLeft/HomeLeft.vue';
import { getAggregation } from '@/views/Home/aggregation';
export default {
  components: {
    HomeLeft,
    HomeRight,
  },
  name: 'index',
  provide() {
    return {
      index: this,
    };
  },
  computed: {},
  props: [],
  methods: {},
  mounted() {},
};
onMounted(() => {
  nextTick(() => {
    getAggregation()
  })
})
</script>
<style scoped lang="scss">
.page-home {
  height: 100vh;
  width: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
  .warp {
    display: flex;
    justify-content: space-between;
  }
}
</style>