diff --git a/package.json b/package.json index 6ebca5b..2cf4532 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "connect": "3.6.6", "echarts": "4.2.1", "echarts-gl": "^1.1.1", + "echarts-wordcloud": "^1.1.3", "element-ui": "^2.12.0", "file-saver": "1.3.8", "fuse.js": "3.4.4", @@ -55,12 +56,12 @@ "vue": "2.6.10", "vue-count-to": "1.0.13", "vue-cropper": "0.4.9", + "vue-highlightjs": "^1.3.3", "vue-router": "3.0.2", "vue-splitpane": "1.0.4", "vuex": "3.1.0", "wangeditor": ">=3.0.0", - "xlsx": "^0.11.16", - "vue-highlightjs": "^1.3.3" + "xlsx": "^0.11.16" }, "devDependencies": { "@babel/core": "7.0.0", @@ -83,7 +84,7 @@ "html-webpack-plugin": "3.2.0", "husky": "1.3.1", "lint-staged": "8.1.5", - "node-sass": "^4.9.0", + "node-sass": "^4.13.0", "plop": "2.3.0", "runjs": "^4.3.2", "sass-loader": "^7.1.0", diff --git a/src/components/Echarts/WordCloud.vue b/src/components/Echarts/WordCloud.vue index e69de29..415f2a8 100644 --- a/src/components/Echarts/WordCloud.vue +++ b/src/components/Echarts/WordCloud.vue @@ -0,0 +1,192 @@ + + + diff --git a/src/views/components/Echarts.vue b/src/views/components/Echarts.vue index d6b10f6..d70a8a3 100644 --- a/src/views/components/Echarts.vue +++ b/src/views/components/Echarts.vue @@ -62,6 +62,11 @@ + +
+ +
+
@@ -84,6 +89,7 @@ import Scatter from '@/components/Echarts/Scatter' import Line3D from '@/components/Echarts/Line3D' import Category from '@/components/Echarts/Category' import Point from '@/components/Echarts/Point' +import WordCloud from '@/components/Echarts/WordCloud' export default { name: 'Echarts', @@ -99,7 +105,8 @@ export default { ThemeRiver, Sankey, Line3D, - Scatter + Scatter, + WordCloud } }