From 4defac338766be8fc6bef69c20877a535055cede Mon Sep 17 00:00:00 2001 From: x_ying <2438792676@qq.com> Date: Tue, 26 Jul 2022 08:31:13 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/archiveStatistics/module/lineEchart.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/system/archiveStatistics/module/lineEchart.vue b/src/views/system/archiveStatistics/module/lineEchart.vue index d8c3ca1..754d894 100644 --- a/src/views/system/archiveStatistics/module/lineEchart.vue +++ b/src/views/system/archiveStatistics/module/lineEchart.vue @@ -26,6 +26,15 @@ export default { top: '8%', containLabel: true }, + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'cross', + label: { + backgroundColor: '#339cff' + } + } + }, xAxis: { type: 'category', axisLine: {// 轴线的颜色以及宽度 @@ -119,6 +128,6 @@ export default { #main3 { width: 100%; height:257px; - color: rgb(51, 156, 255); + // color: #339cff; }