From af1daeede2662308344ae82f617771024b69de17 Mon Sep 17 00:00:00 2001
From: waibao2 <1@qq.com>
Date: Thu, 6 Nov 2025 15:59:41 +0800
Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=9C=A8=E7=BA=BF=E6=95=B4?=
=?UTF-8?q?=E7=BC=96-=E6=B0=B4=E4=BD=8D=E7=9A=84=E9=80=90=E6=97=A5?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/ChartsTimeLine/index.vue | 31 +++++--------------------
1 file changed, 6 insertions(+), 25 deletions(-)
diff --git a/src/components/ChartsTimeLine/index.vue b/src/components/ChartsTimeLine/index.vue
index de4f515..c6cb3e3 100644
--- a/src/components/ChartsTimeLine/index.vue
+++ b/src/components/ChartsTimeLine/index.vue
@@ -247,7 +247,7 @@
color: "#464b50",
borderColor: "#464b50"
},
- bottom:'10%'
+ bottom: '10%'
},
title: {
text: props.textTitle,
@@ -261,37 +261,18 @@
trigger: 'axis',
axisPointer: {
type: 'shadow',
- shadowStyle: {
- color: "rgba(133,131,131,0.3)"
- }
- },
- backgroundColor: 'rgba(255,255,255,1)',
- padding: [5, 10],
- textStyle: {
- color: '#7588E4',
- align: 'left'
+
},
- extraCssText: 'box-shadow: 0 0 5px rgba(0,0,0,0.3)',
- formatter: function (params) {
- const dateValue = params[0].data[0];
- const formattedDate = formatTooltipDataDate(dateValue);
- let text = formattedDate + '
';
- for (let i = 0; i < params.length; i++) {
- text += ``
- text += params[i].seriesName + " : " + params[i].data[1] + '
';
- }
- return text;
- }
},
legend: {
data: props.legendData,
right: 10,
- top: 20,
+ top: 12,
textStyle: {
- color: "#333"
+ color: "#000",
},
- itemWidth: 15,
- itemHeight: 8,
+ itemWidth: 12,
+ itemHeight: 10,
},
grid: props.grid,
toolbox: {