diff --git a/package.json b/package.json index 24138249e2..61e902b3dc 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,13 @@ "dependencies": { "axios": "0.18.1", "core-js": "3.6.5", - "element-ui": "2.13.2", + "echarts": "^4.1.0", + "element-ui": "^2.15.6", "js-cookie": "2.2.0", "normalize.css": "7.0.0", "nprogress": "0.2.0", "path-to-regexp": "2.4.0", + "v-charts": "^1.19.0", "vue": "2.6.10", "vue-router": "3.0.6", "vuex": "3.1.0" diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 33e5ab6ecf..41c1e491e5 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -1,18 +1,105 @@ @@ -21,10 +108,12 @@ export default { .dashboard { &-container { margin: 30px; - } - &-text { - font-size: 30px; - line-height: 46px; + .chart-container { + width: 100%; + } + .container-height { + height: 206px; + } } }