From cafec0c2a85d5b5ab8239d5658f3364f4a2face6 Mon Sep 17 00:00:00 2001 From: sc Date: Fri, 4 Jun 2021 13:04:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BB=9F=E8=AE=A1=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=A8=A1=E6=9D=BF=EF=BC=8C=E4=BF=AE=E5=A4=8D=E8=8B=A5?= =?UTF-8?q?=E5=B9=B2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scEcharts/echarts-theme-T.js | 8 +- src/components/scTable/index.vue | 2 + src/views/template/chartlist.vue | 218 ++++++++++++++++++++ 3 files changed, 224 insertions(+), 4 deletions(-) create mode 100644 src/views/template/chartlist.vue diff --git a/src/components/scEcharts/echarts-theme-T.js b/src/components/scEcharts/echarts-theme-T.js index bf058112..4fa164a6 100644 --- a/src/components/scEcharts/echarts-theme-T.js +++ b/src/components/scEcharts/echarts-theme-T.js @@ -2,15 +2,15 @@ const T = { "color": [ "#409EFF", "#36CE9E", - "#E6A23C", + "#f56e6a", "#626c91", - "#F56C6C", + "#edb00d", "#909399" ], 'grid': { 'left': '3%', 'right': '3%', - 'bottom': '3%', + 'bottom': '10', 'top': '40', 'containLabel': true }, @@ -32,7 +32,7 @@ const T = { "color": "#999" }, "splitLine": { - "show": true, + "show": false, "lineStyle": { "color": [ "#eee" diff --git a/src/components/scTable/index.vue b/src/components/scTable/index.vue index 567d4f88..42918e85 100644 --- a/src/components/scTable/index.vue +++ b/src/components/scTable/index.vue @@ -88,6 +88,8 @@ mounted() { if(this.apiObj){ this.getData(); + }else{ + this.tableData = this.data; } }, activated(){ diff --git a/src/views/template/chartlist.vue b/src/views/template/chartlist.vue new file mode 100644 index 00000000..281c1961 --- /dev/null +++ b/src/views/template/chartlist.vue @@ -0,0 +1,218 @@ + + + + +