2024-01-16 17:02:53 +08:00
|
|
|
<!-- 实时数据页面 -->
|
|
|
|
<script setup>
|
|
|
|
import HourChart from "../components/HourChart.vue";
|
|
|
|
import TeamChartDay from "../components/TeamChartDay.vue";
|
|
|
|
import TeamChartMonth from "../components/TeamChartMonth.vue";
|
2024-01-26 14:41:37 +08:00
|
|
|
import ThreeD from './3D.vue'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
|
|
line: {
|
|
|
|
type: Number,
|
|
|
|
default: 1,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
2024-01-16 17:02:53 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div class="data-page">
|
2024-01-26 14:41:37 +08:00
|
|
|
<div style="position: absolute; top: 0; left: -279px; width: calc(100% + 279px); height: 100%;">
|
|
|
|
<ThreeD :line="line ?? '1'" />
|
|
|
|
</div>
|
2024-01-16 17:02:53 +08:00
|
|
|
<div class="data-list">
|
|
|
|
<HourChart />
|
|
|
|
<TeamChartDay />
|
2024-01-22 17:02:38 +08:00
|
|
|
<TeamChartMonth />
|
2024-01-16 17:02:53 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.data-page {
|
|
|
|
flex: 1;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.data-list {
|
|
|
|
height: 100%;
|
|
|
|
width: 480px;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2024-01-18 11:09:34 +08:00
|
|
|
right: 32px;
|
2024-01-16 17:02:53 +08:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-01-18 11:09:34 +08:00
|
|
|
justify-content: space-around;
|
2024-01-16 17:02:53 +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-16 17:02:53 +08:00
|
|
|
</style>
|