实时趋势修改

This commit is contained in:
zhujiyan
2024-10-17 14:08:58 +08:00
parent 82019e377c
commit 8a1a9d31ab
6 changed files with 343 additions and 277 deletions

View File

@@ -1,6 +1,5 @@
<template>
<div class="view" v-loading="loading">
<div class="view_time" v-if="realData.dataTime">数据时间{{ realData?.dataTime }}</div>
<div class="view_top">
<!-- 左侧仪表盘 -->
<div class="view_top_left">
@@ -594,16 +593,17 @@ onMounted(() => {
flex-direction: column;
.view_top {
width: 100%;
height: auto;
height: 340px !important;
display: flex;
justify-content: space-between;
//border: 1px solid #eee;
// padding: 10px;
.view_top_left,
.view_top_right {
width: 30%;
// width: 300px;
flex: 1;
height: 100%;
padding: 10px;
// padding: 10px;
display: flex;
flex-direction: column;
align-items: center;
@@ -612,18 +612,18 @@ onMounted(() => {
.right_charts {
flex: none;
width: 100%;
height: 120px;
margin-bottom: 16px;
padding: 10px;
height: 90px;
// margin-bottom: 16px;
// padding: 10px;
margin-bottom: 8px;
}
}
.view_top_mid {
flex: 1;
// flex: 1;
width: 40%;
border: 1px solid #eee;
margin: 0 10px;
padding: 10px;
height: 450px;
.mid_charts {
width: 100%;
height: 100%;
@@ -639,6 +639,7 @@ onMounted(() => {
font-weight: 800;
font-weight: 16px;
line-height: 20px;
margin: 10px;
}
}
.view_bot {