From 0f0b20ddc60f2fdb6da10e7a2f83005c62ad8904 Mon Sep 17 00:00:00 2001 From: hhr <574716577@qq.com> Date: Wed, 20 Dec 2023 23:36:02 +0800 Subject: [PATCH] 111111 --- src/views/Zhsy/index.less | 3 --- src/views/Zhsy/index.tsx | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/Zhsy/index.less b/src/views/Zhsy/index.less index 367f020..4751b32 100644 --- a/src/views/Zhsy/index.less +++ b/src/views/Zhsy/index.less @@ -204,9 +204,6 @@ .box5-li { text-align: center; - display: flex; - align-items: center; - justify-content: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; diff --git a/src/views/Zhsy/index.tsx b/src/views/Zhsy/index.tsx index c725ea4..6859bad 100644 --- a/src/views/Zhsy/index.tsx +++ b/src/views/Zhsy/index.tsx @@ -10,6 +10,10 @@ const SyglPage: React.FC = () => { const getOption = () => { const data0 = [1, 1, 1, 1, 1]; const option = { + tooltip: { + // 在鼠标悬停时触发显示 + trigger: 'axis', + }, textStyle: { color: "#C9C9C9", },