From 0ae255185f422781f8a5cc4c52ad56ee0d3a1e6e Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期五, 29 十一月 2024 19:07:15 +0800 Subject: [PATCH] 1.首页可拖拽 2.没有名字去掉悬浮层 3.增加了背景 --- src/views/screen1/components/chart-itm.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/screen1/components/chart-itm.vue b/src/views/screen1/components/chart-itm.vue index b369457..2d787f9 100644 --- a/src/views/screen1/components/chart-itm.vue +++ b/src/views/screen1/components/chart-itm.vue @@ -58,8 +58,8 @@ v1 += parseInt(item.areaStatic.normal || 0); v2 += parseInt(item.areaStatic.warn || 0); v3 += parseInt(item.areaStatic.alarm || 0); - v4 += parseInt(item.areaStatic.beSomething || 0); - v5 += parseInt(item.areaStatic.beNothing || 0); + v4 += parseInt(item.areaStatic.beNothing || 0); + v5 += parseInt(item.areaStatic.beSomething || 0); } this.total = v1 + v2 + v3 + v4 + v5 console.log('v1', v1, 'v2', v2, 'v3', v3, 'v4', v4, 'v5', v5); @@ -184,7 +184,7 @@ }, { offset: 0, - color: "rgba(241, 76, 3, 1)", + color: "rgba(52, 90, 255, 1)", }, ]), }, @@ -201,7 +201,7 @@ }, { offset: 0, - color: "rgba(241, 76, 3, 1)", + color: "rgba(128, 0, 128, 1)", }, ]), }, -- Gitblit v1.9.3