From 37c0c770785bad964ddefec6c4a24ad509fdbb54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Wed, 18 Sep 2024 11:23:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../forecastRightChart/pointsChart.js | 18 +++++++++--------- .../forecastRightSide/index.module.scss | 4 +--- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/components/Modules/KilnOptimize/components/forecastRightChart/pointsChart.js b/src/components/Modules/KilnOptimize/components/forecastRightChart/pointsChart.js index 2963e47..8ee8ba0 100644 --- a/src/components/Modules/KilnOptimize/components/forecastRightChart/pointsChart.js +++ b/src/components/Modules/KilnOptimize/components/forecastRightChart/pointsChart.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2024-09-13 15:39:36 - * @LastEditTime: 2024-09-18 10:35:44 + * @LastEditTime: 2024-09-18 11:21:11 * @LastEditors: zhp * @Description: */ @@ -122,13 +122,13 @@ export default function getOptions(data, times, range, yName,forecastList,color, data: forecastList, } ], - tooltip: { - trigger: "axis", - axisPointer: { - type: 'cross' + tooltip: { + trigger: "axis", + axisPointer: { + type: "shadow", + }, + className: "xc-chart-tooltip", + // backgroundColor: '' }, - className: "xc-chart-tooltip", - // backgroundColor: '' - }, - }; + }; } diff --git a/src/components/Modules/KilnOptimize/forecastRightSide/index.module.scss b/src/components/Modules/KilnOptimize/forecastRightSide/index.module.scss index 93cb7a3..603f4a6 100644 --- a/src/components/Modules/KilnOptimize/forecastRightSide/index.module.scss +++ b/src/components/Modules/KilnOptimize/forecastRightSide/index.module.scss @@ -16,11 +16,9 @@ .leftBarRight { width: 501px; height: 966px; - // margin-left: 40px; - display: flex; flex-direction: column; justify-content: space-between; - position: relative; + position: relative; z-index: 99; }