From bbe2bdd8205547a7759ebbc49a87bbba1d0b3452 Mon Sep 17 00:00:00 2001 From: anghunk Date: Wed, 21 Jan 2026 13:31:58 +0800 Subject: [PATCH] =?UTF-8?q?style(StatsView):=20=E4=BC=98=E5=8C=96=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E6=A0=B7=E5=BC=8F=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=B8=90?= =?UTF-8?q?=E5=8F=98=E8=89=B2=E5=92=8C=E7=BA=BF=E6=9D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cwd-admin/src/views/StatsView.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cwd-admin/src/views/StatsView.vue b/cwd-admin/src/views/StatsView.vue index 967eb6e..fdc076a 100644 --- a/cwd-admin/src/views/StatsView.vue +++ b/cwd-admin/src/views/StatsView.vue @@ -174,7 +174,16 @@ function renderChart() { type: "line", smooth: true, data: values, - areaStyle: {}, + areaStyle: { + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { offset: 0, color: "rgba(56, 189, 248, 0.80)" }, + { offset: 1, color: "rgba(56, 189, 248, 0.2)" }, + ]), + }, + lineStyle: { + width: 2, + color: "#0ea5e9", + }, symbol: "circle", symbolSize: 6, },