From f5560384256868fd37bc4431fb35b829b29e9153 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud <79562285+wangdan-fit2cloud@users.noreply.github.com> Date: Thu, 20 Jul 2023 18:13:55 +0800 Subject: [PATCH] Pr@dev@dan (#1721) #### What this PR does / why we need it? #### Summary of your change #### Please indicate you've done the following: - [ ] Made sure tests are passing and test coverage is added if needed. - [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/). - [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed. --- .../components/v-charts/components/Line.vue | 8 +- .../components/v-charts/components/Pie.vue | 164 ++++++++++++++ frontend/src/components/v-charts/index.vue | 5 +- frontend/src/styles/common.scss | 2 +- frontend/src/views/home/status/index.vue | 208 +++++------------- 5 files changed, 221 insertions(+), 166 deletions(-) create mode 100644 frontend/src/components/v-charts/components/Pie.vue diff --git a/frontend/src/components/v-charts/components/Line.vue b/frontend/src/components/v-charts/components/Line.vue index 22ee0247d..628cb28b7 100644 --- a/frontend/src/components/v-charts/components/Line.vue +++ b/frontend/src/components/v-charts/components/Line.vue @@ -1,5 +1,5 @@ + diff --git a/frontend/src/components/v-charts/index.vue b/frontend/src/components/v-charts/index.vue index 59b2ad978..fe0cba2b0 100644 --- a/frontend/src/components/v-charts/index.vue +++ b/frontend/src/components/v-charts/index.vue @@ -1,8 +1,9 @@ diff --git a/frontend/src/styles/common.scss b/frontend/src/styles/common.scss index 3bebe528a..4e2bbb8e0 100644 --- a/frontend/src/styles/common.scss +++ b/frontend/src/styles/common.scss @@ -125,7 +125,7 @@ html { font-size: 12px; word-break: break-all; color: #8f959e; - width: 110%; + width: 100%; display: inline-block; } diff --git a/frontend/src/views/home/status/index.vue b/frontend/src/views/home/status/index.vue index b22ac1cc1..c152d479e 100644 --- a/frontend/src/views/home/status/index.vue +++ b/frontend/src/views/home/status/index.vue @@ -1,7 +1,7 @@