diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 22903fd..80aeee4 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -295,25 +295,25 @@ body, #container { flex: 1; - height: 1160px; + height: 1200px; //width: 1300px; } #containerFan { flex: 1; - height: 1160px; + height: 1200px; //width: 1300px; } #containerBad { flex: 1; - height: 1160px; + height: 1200px; //width: 1300px; } #containerWind { flex: 1; - height: 1160px; + height: 1200px; //width: 1300px; } #containerWindDirection { diff --git a/src/components/content/airInfo/AirInfo.vue b/src/components/content/airInfo/AirInfo.vue index 104b32f..8e03332 100644 --- a/src/components/content/airInfo/AirInfo.vue +++ b/src/components/content/airInfo/AirInfo.vue @@ -200,7 +200,7 @@ const initChart = (type, values) => { left: 0, // 左边距 right: 20, // 右边距 top: 80, // 顶边距 - bottom: 0, // 底边距 + bottom: 170, // 底边距 containLabel: true, }, //提示框组件 @@ -233,7 +233,17 @@ const initChart = (type, values) => { }, dataZoom: [{ type: 'inside' - }], + }, + { + type: 'slider', + top: 1050, + height: 100, + textStyle: { + fontSize: 45, + color: '#fffff' + } + } + ], //X轴 xAxis: { type: 'category', diff --git a/src/components/content/badGasInfo/BadGasInfo.vue b/src/components/content/badGasInfo/BadGasInfo.vue index d9e256d..20bee1c 100644 --- a/src/components/content/badGasInfo/BadGasInfo.vue +++ b/src/components/content/badGasInfo/BadGasInfo.vue @@ -181,7 +181,7 @@ const initChart = (type, values) => { left: 0, // 左边距 right: 20, // 右边距 top: 80, // 顶边距 - bottom: 0, // 底边距 + bottom: 170, // 底边距 containLabel: true, }, //提示框组件 @@ -218,7 +218,17 @@ const initChart = (type, values) => { }, dataZoom: [{ type: 'inside' - }], + }, + { + type: 'slider', + top: 1050, + height: 100, + textStyle: { + fontSize: 45, + color: '#fffff' + } + } + ], //X轴 xAxis: { type: "category", diff --git a/src/components/content/fanInfo/FanInfo.vue b/src/components/content/fanInfo/FanInfo.vue index eed36ce..69d57b5 100644 --- a/src/components/content/fanInfo/FanInfo.vue +++ b/src/components/content/fanInfo/FanInfo.vue @@ -15,7 +15,7 @@