diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue index 5c85f296..3f60fddc 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue @@ -51,11 +51,13 @@ export default { display: flex; flex-direction: column; align-items: stretch; - padding:8px 16px 16px; + padding: 8px 16px 16px; .row_01 { - flex-basis: 55%; margin-bottom: 15px; - display: flex; align-items: stretch; + flex-basis: 55%; + margin-bottom: 15px; + display: flex; + align-items: stretch; pointer-events: none; > div { @@ -77,14 +79,16 @@ export default { width: 100%; flex-basis: 50%; margin-bottom: 15px; - &:last-child{ margin-bottom: 0;} + &:last-child { + margin-bottom: 0; + } } } - } .row_02 { - flex: 1; height: 0; + flex: 1; + height: 0; // pointer-events: none; } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/index.vue index ce0686a2..ba17de0e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/index.vue @@ -5,7 +5,7 @@
- + @@ -48,9 +48,12 @@ export default { height: 100%; padding: 14px; - .row_01 { height: 160px;} + .row_01 { + height: 160px; + } - .row_02 { overflow: hidden; + .row_02 { + overflow: hidden; // --keep-ratio: scaleX(1); display: flex; pointer-events: none; @@ -59,8 +62,13 @@ export default { > div { pointer-events: auto; } - .unit_01{ flex-basis: 50%; margin-right: 14px;} - .unit_02{ flex-basis: 50%;} + .unit_01 { + flex-basis: 50%; + margin-right: 14px; + } + .unit_02 { + flex-basis: 50%; + } } .row_03 { @@ -84,7 +92,7 @@ export default { } .unit_03 { - flex:1; + flex: 1; } } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js index 5a0bfc22..3504726a 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js @@ -29,7 +29,7 @@ let options = { left: 0, right: 0, top: "15%", - bottom: "6%", + bottom: "8%", containLabel: true, }, xAxis: { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/index.vue index 6fc8664b..a47f1589 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/index.vue @@ -158,12 +158,13 @@ export default { .congestion { display: inline-flex; width: 100%; - height: 310px; + // height: 310px; flex-direction: column; --keep-ratio: scaleX(1); .board { - height: 300px; + // height: 300px; + flex: 1; width: 100%; padding: 0px 20px; border-radius: 5px 5px 5px 5px; @@ -175,15 +176,20 @@ export default { background: linear-gradient(180deg, rgba(6, 66, 88, 0) 0%, #064258 93%); #ChangesIndictors { - display: inline-flex; - height: 280px; + // display: inline-flex; + height: 180px; + // width: 100%; width: 100%; + display: flex; + flex: 1; + // height: 0; + position: relative; } } } -.charts { - height: 180px; - width: 100%; -} +// .charts { +// height: 180px; +// width: 100%; +// } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/composeFeatures/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/composeFeatures/index.vue index aadcbb6a..cabf9372 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/composeFeatures/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/composeFeatures/index.vue @@ -1,76 +1,74 @@ - - - - - \ No newline at end of file +} +.charts { + height: 120px; + width: 100%; +} + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/congestionIndicator/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/congestionIndicator/index.vue index 9cb3c567..11cdc798 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/congestionIndicator/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/congestionIndicator/index.vue @@ -165,7 +165,8 @@ export default { flex-direction: column; .board { - height: 275px; + // height: 275px; + flex: 1; width: 100%; padding: 0px 0px; border-radius: 5px 5px 5px 5px; @@ -173,23 +174,29 @@ export default { display: flex; align-items: center; flex-direction: column; - margin-top: 20px; - + margin-top: 10px; + overflow: hidden; background: linear-gradient(180deg, rgba(6, 66, 88, 0) 0%, #064258 93%); .bodySort { - position: relative; - display: inline-block; - width: 100%; - height: 100%; + flex: 1; + // height: 120px; + // position: relative; + // display: inline-block; + // width: 100%; + // height: 100%; overflow: auto; - padding: 5px 10px; + // padding: 5px 10px; > div:first-child { .barTitle { background: linear-gradient(180deg, #ff6969 0%, #ffb904 100%); } + .text { + font-size: 12px; + } + .lineHight .inner { background: linear-gradient(180deg, #ff6969 0%, #ffb904 100%); } @@ -197,11 +204,11 @@ export default { > div { display: inline-flex; - width: 95%; + width: 100%; height: 41px; background: #0d517460; border-radius: 0px 0px 0px 0px; - margin: 5px; + // margin: 5px; font-size: 14px; font-family: PingFang SC, PingFang SC; font-weight: 500; @@ -225,6 +232,10 @@ export default { margin: 0 10px; } + .text { + font-size: 12px; + } + .lineHight { width: 60%; height: 8px; @@ -249,7 +260,7 @@ export default { .textStr { display: inline-flex; width: 100%; - height: 45px; + height: 35px; flex-direction: row; > div { @@ -278,8 +289,8 @@ export default { } } -.charts { - height: 180px; - width: 100%; -} +// .charts { +// height: 180px; +// width: 100%; +// } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/crowding/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/crowding/index.vue index 0609dc80..6f8535b8 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/crowding/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/crowding/index.vue @@ -1,76 +1,74 @@ - - - - - \ No newline at end of file +} +.charts { + height: 120px; + width: 100%; +} + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/roadIndicators/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/roadIndicators/index.vue index cba807ab..ddef4dde 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/roadIndicators/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/roadIndicators/index.vue @@ -1,374 +1,411 @@ - - - - - \ No newline at end of file + } + } +} +.charts { + height: 180px; + width: 100%; +} + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/saturationMax/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/saturationMax/index.vue index 9ee68c70..fb55f56b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/saturationMax/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/saturationMax/index.vue @@ -1,76 +1,76 @@ - - - - - \ No newline at end of file +} +.charts { + height: 120px; + width: 100%; +} + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/assets/charts.js index 0eacaff7..bd2f9818 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/assets/charts.js @@ -81,7 +81,7 @@ var options = { top: "25%", //上边距 right: "0", //右边距 left: "0", //左边距 - bottom: "0%", //下边距 + bottom: "5%", //下边距 containLabel: true, }, xAxis: { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/index.vue index 446e9074..094b123b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/index.vue @@ -92,7 +92,7 @@
上月指标
-
+
本月指标
@@ -317,20 +317,20 @@ export default { gr.addColorStop(1, "rgba(92,197,255,0)"); gr.addColorStop(0, "rgba(92,197,255,0.5)"); // 绘制圆角矩形 - drawRoundRect(context, 98, 11, 90, 22, 12, gr); + drawRoundRect(context, 98, 41, 90, 22, 12, gr); var gr = context.createLinearGradient(35, 0, 75, 0); // 颜色断点 gr.addColorStop(1, "rgba(92,197,255,0)"); gr.addColorStop(0, "rgba(92,197,255,0.5)"); - drawRoundRect(context, -1, 146, 80, 20, 12, gr); + drawRoundRect(context, -1, 176, 80, 20, 12, gr); var gr = context.createLinearGradient(230, 0, 275, 0); // 颜色断点 gr.addColorStop(1, "rgba(92,197,255,0)"); gr.addColorStop(0, "rgba(92,197,255,0.5)"); context.lineWidth = 1; // 设置线段宽度 - drawRoundRect(context, 211, 146, 220, 20, 12, gr); + drawRoundRect(context, 211, 176, 220, 20, 12, gr); const domMap3 = document.getElementById("chart3"); let parentDiv3 = domMap3.firstChild; @@ -348,20 +348,20 @@ export default { gr.addColorStop(1, "rgba(92,197,255,0)"); gr.addColorStop(0, "rgba(92,197,255,0.5)"); // 绘制圆角矩形 - drawRoundRect(context3, 98, 14, 90, 20, 12, gr); + drawRoundRect(context3, 98, 44, 90, 20, 12, gr); var gr = context3.createLinearGradient(35, 0, 75, 0); // 颜色断点 gr.addColorStop(1, "rgba(92,197,255,0)"); gr.addColorStop(0, "rgba(92,197,255,0.5)"); - drawRoundRect(context3, -1, 148, 80, 20, 12, gr); + drawRoundRect(context3, -1, 178, 80, 20, 12, gr); var gr = context3.createLinearGradient(240, 0, 290, 0); // 颜色断点 gr.addColorStop(1, "rgba(92,197,255,0)"); gr.addColorStop(0, "rgba(92,197,255,0.5)"); context3.lineWidth = 1; // 设置线段宽度 - drawRoundRect(context3, 211, 148, 200, 20, 12, gr); + drawRoundRect(context3, 211, 178, 200, 20, 12, gr); }); }); }, @@ -374,14 +374,15 @@ export default { } .congestion { - width: 100%; - margin: 5px 0; + // width: 100%; + // margin: 5px 0; .body { display: flex; flex-direction: row; align-items: center; - height: 395px; + // height: 395px; + flex: 1; width: 100%; font-size: 14px; @@ -417,6 +418,7 @@ export default { font-family: PingFang SC, PingFang SC; font-weight: 500; color: #30bfec; + padding-top: 20px; } #chart2 { @@ -441,9 +443,10 @@ export default { } .board { - height: 320px; + // height: 320px; + flex: 1; width: 100%; - padding: 10px 0px; + padding-top: 10px; border-radius: 5px 5px 5px 5px; opacity: 1; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/index.vue index 5482f5a4..a39fd111 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/index.vue @@ -4,9 +4,9 @@ - +
-
+
@@ -79,36 +79,43 @@ export default { height: 100%; } -.content { - width: 100%; - display: inline-flex; - justify-content: space-between; - pointer-events: none; - margin-top: 19px; - margin-left: 19px; - - > div { - pointer-events: auto; - } - - .content-w { - width: 66.5%; - } - - .content-max { - width: 100%; - } - - .content-l { - width: 25%; - margin-left: 0px; - } -} +// .content { +// // width: 100%; +// // display: inline-flex; +// // justify-content: space-between; +// // pointer-events: none; +// // margin-top: 19px; +// // margin-left: 19px; +// width: 100%; +// margin: auto; +// display: flex; +// flex: 1; +// pointer-events: none; +// margin-top: 19px; +// flex-basis: 20%; + +// > div { +// pointer-events: auto; +// } + +// .content-w {s +// width: 66.5%; +// } + +// .content-l { +// margin-right: 20px; +// flex-basis: 25%; +// display: flex; +// flex-direction: column; +// } +// } .TrafficFlow { width: 100%; height: 100%; - position: relative; + display: flex; + flex-direction: column; + // position: relative; z-index: 6; color: white; @@ -119,36 +126,48 @@ export default { flex: 1; pointer-events: none; margin-top: 19px; + flex-basis: 25%; - .content-l { - width: calc(50%); - min-width: 460px; - margin-right: 20px; + > div { + pointer-events: auto; } - .content-m { - display: inline-flex; - flex-direction: column; - width: calc(100% / 4); - margin-right: 20px; + // .content-w { + // width: 66.5%; + // } - .content-m-t { - width: 100%; - height: 240px; - margin-bottom: 20px; - } + .content-l { + margin-right: 20px; + flex-basis: 25%; + display: flex; + flex-direction: column; } + } + .content-c { + width: 100%; + margin: auto; + display: flex; + // flex: 1; + pointer-events: none; + margin-top: 19px; + flex-basis: 50%; - .content-r { - width: 30%; + .content-max { + flex: 1; + width: 100%; + display: flex; + justify-content: space-between; + align-items: center; + flex-direction: column; } } - .foot { width: 100%; margin: auto; display: flex; - flex: 1; + height: 0; + // flex: 1; + flex-basis: 35%; pointer-events: none; margin-top: 19px; @@ -161,8 +180,8 @@ export default { } .foot-l { - width: 70%; - height: 330px; + flex-basis: 70%; + // height: 330px; } .foot-m { @@ -171,7 +190,9 @@ export default { .foot-r { margin-left: 20px; - width: 33%; + flex-basis: 30%; + flex: 1; + display: flex; } } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/index.vue index 63c90b81..4a040678 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/index.vue @@ -1,6 +1,6 @@