From 77b384b6135f390c1a54335b5fa0bdf19f0776ab Mon Sep 17 00:00:00 2001 From: MTrunning <1262327911@qq.com> Date: Wed, 18 Mar 2020 19:10:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A6=E4=B8=8B=E8=A7=92=E8=A1=A8=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/scss/index.scss | 2 +- .../echart/bottom/bottomLeftChart.vue | 271 ++++++++++++++++++ src/views/bottomLeft.vue | 56 ++++ src/views/index.vue | 16 +- 4 files changed, 341 insertions(+), 4 deletions(-) create mode 100644 src/components/echart/bottom/bottomLeftChart.vue create mode 100644 src/views/bottomLeft.vue diff --git a/src/assets/scss/index.scss b/src/assets/scss/index.scss index 807e549..4034006 100644 --- a/src/assets/scss/index.scss +++ b/src/assets/scss/index.scss @@ -101,7 +101,7 @@ // 底部数据 .bototm-box { - margin-top: 1rem; + margin-top: 10px; display: grid; grid-template-columns: repeat(2, 50%); } diff --git a/src/components/echart/bottom/bottomLeftChart.vue b/src/components/echart/bottom/bottomLeftChart.vue new file mode 100644 index 0000000..2ccbd4d --- /dev/null +++ b/src/components/echart/bottom/bottomLeftChart.vue @@ -0,0 +1,271 @@ + + + + + \ No newline at end of file diff --git a/src/views/bottomLeft.vue b/src/views/bottomLeft.vue new file mode 100644 index 0000000..e93a18e --- /dev/null +++ b/src/views/bottomLeft.vue @@ -0,0 +1,56 @@ + + + + + \ No newline at end of file diff --git a/src/views/index.vue b/src/views/index.vue index 8823713..e85933a 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -83,8 +83,10 @@
-
-
+ + + +
2
@@ -98,13 +100,21 @@ import centreLeft2 from "./centreLeft2"; import centreRight1 from "./centreRight1"; import centreRight2 from "./centreRight2"; import center from "./center"; +import bottomLeft from "./bottomLeft"; export default { data() { return { loading: false }; }, - components: { centreLeft1, centreLeft2, centreRight1, centreRight2, center }, + components: { + centreLeft1, + centreLeft2, + centreRight1, + centreRight2, + center, + bottomLeft + }, mounted() { this.cancelLoading(); },