From 8ce3dae06c38f033f713ee3956dd8f4f9dd47514 Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Mon, 20 Jan 2020 21:25:55 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B0=83=E6=95=B4chart=E5=BC=B9?= =?UTF-8?q?=E6=A1=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/assets/stylus/main.scss | 9 +- .../components/common/rightBox/panelBox.vue | 2 +- .../components/page/dashboard/chartBox.vue | 24 +-- .../components/page/dashboard/chartMetric.vue | 197 +++++++++--------- 4 files changed, 108 insertions(+), 124 deletions(-) diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index 4b8df6b49..e43cf19ee 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -502,12 +502,12 @@ li{ /* begin--右弹框滑入滑出动画*/ @keyframes slide-in-from-right-580 { - from {right: -630px} + from {right: -580px} to {right: 0px} } @keyframes slide-out-to-right-580 { from {right: 0px} - to {right: -630px} + to {right: -580px} } @keyframes slide-in-from-right-840 { from {right: -870px} @@ -644,6 +644,11 @@ li{ font-size: 14px; color: $box-title-color; } +.right-box-sub-title { + font-size: 14px; + color: $box-title-color; + padding-bottom: 5px; +} .pop-title { line-height: 25px; text-align: left; diff --git a/nezha-fronted/src/components/common/rightBox/panelBox.vue b/nezha-fronted/src/components/common/rightBox/panelBox.vue index 2f4eca80a..5c31e972c 100644 --- a/nezha-fronted/src/components/common/rightBox/panelBox.vue +++ b/nezha-fronted/src/components/common/rightBox/panelBox.vue @@ -1,5 +1,5 @@