chenzhou/src/pages/DataPage.vue

46 lines
831 B
Vue
Raw Normal View History

2024-01-16 17:02:53 +08:00
<!-- 实时数据页面 -->
<script setup>
2024-01-26 16:48:51 +08:00
import HourChart from "../components/datapage/HourChart.vue";
import TeamChartDay from "../components/datapage/TeamChartDay.vue";
import TeamChartMonth from "../components/datapage/TeamChartMonth.vue";
2024-01-26 14:41:37 +08:00
2024-01-16 17:02:53 +08:00
</script>
<template>
<div class="data-page">
2024-01-26 16:48:51 +08:00
<HourChart />
<TeamChartDay />
<TeamChartMonth />
<HourChart />
<TeamChartDay />
<TeamChartMonth />
2024-01-16 17:02:53 +08:00
</div>
</template>
<style scoped>
.data-page {
flex: 1;
position: relative;
2024-01-26 16:48:51 +08:00
background: #cccc;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr;
gap: 24px;
padding: 32px;
align-items: stretch;
2024-01-16 17:02:53 +08:00
}
2024-01-26 16:48:51 +08:00
/*
2024-01-23 15:39:15 +08:00
:fullscreen .data-list {
width: 35%;
gap: 32px;
padding: 32px 0;
justify-content: space-around;
}
2024-01-26 14:41:37 +08:00
:fullscreen .data-list>div {
2024-01-23 15:39:15 +08:00
flex: 1;
2024-01-26 16:48:51 +08:00
} */
2024-01-16 17:02:53 +08:00
</style>