@@ -98,7 +95,7 @@ const FloodPreview = ({setPlanData}) => {
24小时降雨500mm(100年一遇)
+
淹没受灾统计
diff --git a/src/views/Home/components/Business/SiYu/components/FloodPreview/index.less b/src/views/Home/components/Business/SiYu/components/FloodPreview/index.less
index 436064f..82c004a 100644
--- a/src/views/Home/components/Business/SiYu/components/FloodPreview/index.less
+++ b/src/views/Home/components/Business/SiYu/components/FloodPreview/index.less
@@ -1,4 +1,7 @@
.flood-preview-section{
+ background: red;
+ overflow-x: hidden;
+ overflow-y: auto;
.section-title {
display: flex;
align-items: center;
@@ -17,6 +20,9 @@
text-shadow: 0 0 5px rgba(0, 160, 233, 0.5);
}
}
+ .marginTop10{
+ margin-top: 10px;
+ }
.flood-preview-section-radio{
cursor: pointer;
@@ -57,6 +63,9 @@
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
+ span{
+ font-size: 14px;
+ }
}
.forecast-section-countItem-text{
font-size: 13px;
@@ -74,6 +83,7 @@
justify-content: center;
width: 100%;
margin-top: 20px;
+ height: 50px;
}
.uav-button {
width: 70%;
diff --git a/src/views/Home/components/Business/SiYu/components/ForecastSection/charts.js b/src/views/Home/components/Business/SiYu/components/ForecastSection/charts.js
index ed79872..31fef34 100644
--- a/src/views/Home/components/Business/SiYu/components/ForecastSection/charts.js
+++ b/src/views/Home/components/Business/SiYu/components/ForecastSection/charts.js
@@ -265,12 +265,11 @@ const Page = ({data=[]}) => {
return (
-
- {
+
+ {
option ?
:
diff --git a/src/views/Home/components/Business/SiYu/components/ForecastSection/count.js b/src/views/Home/components/Business/SiYu/components/ForecastSection/count.js
index 1e8f3c1..86d7e24 100644
--- a/src/views/Home/components/Business/SiYu/components/ForecastSection/count.js
+++ b/src/views/Home/components/Business/SiYu/components/ForecastSection/count.js
@@ -7,25 +7,25 @@ const Page = ({data={}}) => {
-
{data.ycSumFlood}mm
+
{data.ycSumFlood}mm
预报面雨量
-
{data.ycMaxSwH}m
+
{data.ycMaxSwH}m
最高水位
-
{data.ycMaxRkQ}m³/s
+
{data.ycMaxRkQ}m³/s
最大入库流量
-
{data.ycMaxCkQ}m³/s
+
{data.ycMaxCkQ}m³/s
最大出库流量
diff --git a/src/views/Home/components/Business/SiYu/components/ForecastSection/index.less b/src/views/Home/components/Business/SiYu/components/ForecastSection/index.less
index ee444c5..61977d7 100644
--- a/src/views/Home/components/Business/SiYu/components/ForecastSection/index.less
+++ b/src/views/Home/components/Business/SiYu/components/ForecastSection/index.less
@@ -39,6 +39,9 @@
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
+ span{
+ font-size: 14px;
+ }
}
.forecast-section-countItem-text{
font-size: 13px;
@@ -48,4 +51,17 @@
}
}
}
+
+ .forecast-section-chart{
+ width: 100%;
+ height: 100%;
+ padding-top: 10px;
+ overflow-y: auto;
+ overflow-x: hidden;
+
+ .echarts-for-react {
+ width: 100%;
+ height: 400px!important;
+ }
+ }
}
\ No newline at end of file
diff --git a/src/views/Home/mapToolBox/index.js b/src/views/Home/mapToolBox/index.js
index 77a0fb8..ea8fa45 100644
--- a/src/views/Home/mapToolBox/index.js
+++ b/src/views/Home/mapToolBox/index.js
@@ -82,7 +82,7 @@ export default function Btn() {
}
return (
-
+
dispatch.runtime.setShowPanels(!showPanels)}>