index.vue 1.31 KB
Newer Older
1 2 3
<template>
  <div class="eContainer-home">
    <QuickVisitVue></QuickVisitVue>
潘际乾 committed
4
    <TaskStatisticsVue></TaskStatisticsVue>
5 6 7 8 9 10 11 12
    <NoticeAnnouncementVue></NoticeAnnouncementVue>
    <HallVue></HallVue>
    <CustomerAnalyseVue></CustomerAnalyseVue>
    <QuickSearchVue></QuickSearchVue>
  </div>
</template>

<script>
潘际乾 committed
13 14 15 16 17 18
import QuickVisitVue from "./cells/QuickVisit.vue";
import TaskStatisticsVue from './cells/TaskStatistics.vue';
import NoticeAnnouncementVue from "./cells/NoticeAnnouncement.vue";
import HallVue from "./cells/Hall.vue";
import CustomerAnalyseVue from "./cells/CustomerAnalyse.vue";
import QuickSearchVue from "./cells/QuickSearch.vue";
19 20 21 22 23

export default {
  name: "Home",
  components: {
    QuickVisitVue,
潘际乾 committed
24
    TaskStatisticsVue,
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
    NoticeAnnouncementVue,
    HallVue,
    CustomerAnalyseVue,
    QuickSearchVue,
  },
  data() {
    return {};
  },
};
</script>

<style scoped>
.eContainer-home {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
潘际乾 committed
41
  /* justify-content: space-around; */
42 43
  align-items: center;
}
潘际乾 committed
44 45
.home-cell {
  width: 33%;
46
  height: 49%;
潘际乾 committed
47 48
  margin-left: 0.166%;
  margin-right: 0.166%;
49 50 51 52
  background-color: #ffffff;
  box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  border-radius: 8px;
}
潘际乾 committed
53
.home-cell >>> .cell-content {
54 55 56 57 58
  /* max-height: calc(100% - 52px); */
  height: calc(100% - 52px);
  overflow: auto;
}
</style>