diff --git a/src/lycomponents/iSwitchModel/index.vue b/src/lycomponents/iSwitchModel/index.vue
index bab8bd4..8d704e7 100644
--- a/src/lycomponents/iSwitchModel/index.vue
+++ b/src/lycomponents/iSwitchModel/index.vue
@@ -1,7 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/ModelComparison/BrandComparison.vue b/src/views/ModelComparison/BrandComparison.vue
new file mode 100644
index 0000000..0255d48
--- /dev/null
+++ b/src/views/ModelComparison/BrandComparison.vue
@@ -0,0 +1,203 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/brandCommunicationTOPMedia/index.vue b/src/views/ModelComparison/brandCommunicationTOPMedia/index.vue
new file mode 100644
index 0000000..422d204
--- /dev/null
+++ b/src/views/ModelComparison/brandCommunicationTOPMedia/index.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+ {{
+ item.key
+ }}
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/brandCommunicationTOPMedia/v-ranking-bcm/index.vue b/src/views/ModelComparison/brandCommunicationTOPMedia/v-ranking-bcm/index.vue
new file mode 100644
index 0000000..3760c07
--- /dev/null
+++ b/src/views/ModelComparison/brandCommunicationTOPMedia/v-ranking-bcm/index.vue
@@ -0,0 +1,232 @@
+
+
+
+
+
+
+ {{ num|numStr }}
+
+
+
{{label}}
+
+ 传播量
+ {{val}}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/brandCompateHeader/index.vue b/src/views/ModelComparison/brandCompateHeader/index.vue
new file mode 100644
index 0000000..b08d498
--- /dev/null
+++ b/src/views/ModelComparison/brandCompateHeader/index.vue
@@ -0,0 +1,247 @@
+
+
+
+
+ 返回洞察详情
+
+
+
+
+
+
+
{{item.brand|doStr(4)}}
+
{{item.model|doStr(10)}}
+
+
删除
+
切换车型
+
+

+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/brandEventComparison/index.vue b/src/views/ModelComparison/brandEventComparison/index.vue
new file mode 100644
index 0000000..4b5423b
--- /dev/null
+++ b/src/views/ModelComparison/brandEventComparison/index.vue
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+
+
+
+
+
+
{{
+ item.name
+ }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/brandEventComparison/opt.js b/src/views/ModelComparison/brandEventComparison/opt.js
new file mode 100644
index 0000000..c743ed9
--- /dev/null
+++ b/src/views/ModelComparison/brandEventComparison/opt.js
@@ -0,0 +1,101 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-15 15:15:27
+ * @LastEditTime: 2021-10-15 17:43:04
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandComparison/channelDistribution/opt.js
+ */
+
+/*series: [
+ {
+ name: '奥迪',
+ type: 'bar',
+ barGap: 0,
+ barWidth: 20,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [320, 332, 301, 334, 390, 400]
+ },*/
+function createData(dataList = []) {
+ let arr = [];
+ dataList.forEach(ele => {
+ let o = {
+ name: ele.Name,
+ type: 'bar',
+ barGap: 0,
+ barWidth: 20,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [ele.Data.新闻,ele.Data.论坛,ele.Data.微信,ele.Data.APP,ele.Data.微博,ele.Data.其他]
+ };
+ arr.push(o)
+ })
+ return arr;
+}
+
+export default function createOpt(dataList = [], brandList = []) {
+ let info = createData(dataList);
+ return {
+ grid: {
+ top: "56px",
+ left: "16px",
+ right: "28px",
+ bottom: "16px",
+ containLabel: true,
+ },
+ legend: {
+ data: brandList,
+ textStyle: { //图例文字的样式
+ color: '#fff'
+ },
+ y: 12,
+ x: 16
+ },
+ tooltip: {
+ trigger: "axis",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;",
+ },
+ xAxis: [
+ {
+ type: 'category',
+ axisTick: {
+ show: false,
+ },
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ data: ['新闻', '论坛', '微信', 'APP', '微博', "其他"]
+ }
+ ],
+ yAxis: [
+ {
+ type: 'value',
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#FFF",
+ },
+ },
+ splitLine: {
+ lineStyle: {
+ type: "dashed", // y轴分割线类型
+ color: "#012b4b",
+ },
+ },
+ }
+ ],
+ series: info
+ }
+}
\ No newline at end of file
diff --git a/src/views/ModelComparison/brandRearWingComparison/index.vue b/src/views/ModelComparison/brandRearWingComparison/index.vue
new file mode 100644
index 0000000..6555c5a
--- /dev/null
+++ b/src/views/ModelComparison/brandRearWingComparison/index.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/brandRearWingComparison/opt.js b/src/views/ModelComparison/brandRearWingComparison/opt.js
new file mode 100644
index 0000000..346d8e9
--- /dev/null
+++ b/src/views/ModelComparison/brandRearWingComparison/opt.js
@@ -0,0 +1,147 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-12 10:11:24
+ * @LastEditTime: 2021-10-15 11:56:55
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandInsight/titsopo/opt.js
+ */
+export default function createOpt() {
+ return {
+ grid: {
+ left: 16,
+ right: 26,
+ bottom: 16,
+ top: 52,
+ containLabel: true
+ },
+ tooltip: {
+ trigger: "axis",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;"
+ },
+ legend: {
+ icon: 'roundRect',
+ textStyle: { //图例文字的样式
+ color: '#fff'
+ },
+ y: 12,
+ x: 16
+ },
+ xAxis: {
+ type: 'category',
+ boundaryGap: false,
+ axisTick: {
+ show: false,
+ },
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ data: ['00:00', '04:00', '08:00', '12:00', '16:00', '20:00', '24:00']
+ },
+ yAxis: {
+ type: 'value',
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ splitLine: {
+ lineStyle: {
+ type: "dashed", // y轴分割线类型
+ color: "#012b4b",
+ },
+ },
+ },
+ series: [
+ {
+ name: '奥迪',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [2000, 1600, 1000, 2200, 2300, 2100, 1900]
+ },
+ {
+ name: '宝马',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1000, 1100, 1300, 2000, 1800, 2100, 1600]
+ },
+ {
+ name: '奔驰',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1200, 1200, 1400, 2100, 1400, 1900, 2000]
+ },
+ {
+ name: '吉利',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1200, 1200, 1350, 1550, 1750, 1900, 2000]
+ },
+ {
+ name: '大众',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1260, 1280, 1390, 1570, 1790, 1950, 2020]
+ },
+ {
+ name: '别克',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1260, 1280, 1390, 1570, 1790, 1950, 2020]
+ },
+
+ ]
+ }
+}
diff --git a/src/views/ModelComparison/brandTonalDistribution/index.vue b/src/views/ModelComparison/brandTonalDistribution/index.vue
new file mode 100644
index 0000000..2f02495
--- /dev/null
+++ b/src/views/ModelComparison/brandTonalDistribution/index.vue
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+ 正面
+
+
+ 中性
+
+
+ 负面
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/brandTonalDistribution/roundata/index.vue b/src/views/ModelComparison/brandTonalDistribution/roundata/index.vue
new file mode 100644
index 0000000..3151935
--- /dev/null
+++ b/src/views/ModelComparison/brandTonalDistribution/roundata/index.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/brandTonalDistribution/roundata/opt.js b/src/views/ModelComparison/brandTonalDistribution/roundata/opt.js
new file mode 100644
index 0000000..853878b
--- /dev/null
+++ b/src/views/ModelComparison/brandTonalDistribution/roundata/opt.js
@@ -0,0 +1,89 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-12 14:33:51
+ * @LastEditTime: 2021-10-15 14:49:19
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandInsight/weiboKol/opt.js
+ */
+import * as echarts from "echarts";
+function createData(obj = {}) {
+ if(JSON.stringify(obj) === '{}') {
+ return;
+ }
+ let arr = [];
+ for(let key in obj) {
+ let color = "";
+ if(key === '正面') {
+ color = "#3373CC"
+ } else if(key === '负面') {
+ color = "#b38b14"
+ } else {
+ color = "#54BF93"
+ }
+ let o = {
+ value: obj[key],
+ name: key,
+ itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: color
+ }])}
+ }
+ arr.push(o)
+ }
+ return arr
+
+}
+export default function createOpt(obj = {}) {
+ let data = createData(obj)
+ return {
+ series: [
+ {
+ name: 'Access From0',
+ type: 'pie',
+ radius: ['70%', '92%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center',
+ lineHeight: 28
+ },
+ emphasis: {
+ label: {
+ show: true,
+ fontSize: '18',
+ color: "#ffff",
+ fontWeight: 'bold',
+ formatter: function(p) {
+ return `${p.data.name}\n${p.percent}%\n${p.data.value}`
+ }
+ }
+ },
+ labelLine: {
+ show: false
+ },
+ data: data
+ },
+ {
+ name: 'Access From1',
+ type: 'pie',
+ radius: ['96%', '100%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center'
+ },
+ labelLine: {
+ show: false
+ },
+ center: ['50%', '50%'],//边框位置
+ data: data
+ }
+ ]
+ }
+}
diff --git a/src/views/ModelComparison/channelDistribution/index.vue b/src/views/ModelComparison/channelDistribution/index.vue
new file mode 100644
index 0000000..420281c
--- /dev/null
+++ b/src/views/ModelComparison/channelDistribution/index.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/channelDistribution/opt.js b/src/views/ModelComparison/channelDistribution/opt.js
new file mode 100644
index 0000000..4326be4
--- /dev/null
+++ b/src/views/ModelComparison/channelDistribution/opt.js
@@ -0,0 +1,108 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-15 15:15:27
+ * @LastEditTime: 2021-10-28 15:44:36
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandComparison/channelDistribution/opt.js
+ */
+import { bigNumberTransform } from "@/utils/gol/dataTool"
+let colors = ['#3373CC', '#63AECC', '#54BF93', '#CC9D12', '#CC7733', "#CC5B41", '#452b74', '#71686f']
+function createData(dataList = []) {
+ /*series: [
+ {
+ name: '奥迪',
+ type: 'bar',
+ barGap: 0,
+ barWidth: 16,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [320, 332, 301, 334, 390, 400]
+ },*/
+ let arr = [];
+ dataList.forEach(e => {
+ let o = {
+ name: e.Name,
+ type: 'bar',
+ barGap: 0,
+ barWidth: 16,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [e.Data.新闻,e.Data.论坛,e.Data.微信,e.Data.短视频,e.Data.微博,e.Data.其他]
+ };
+ arr.push(o)
+ })
+ return arr;
+}
+export default function createOpt(dataList = [],brandList = []) {
+ let info = createData(dataList);
+ return {
+ grid: {
+ top: "56px",
+ left: "16px",
+ right: "28px",
+ bottom: "16px",
+ containLabel: true,
+ },
+ color: colors,
+ legend: {
+ data: brandList,
+ textStyle: { //图例文字的样式
+ color: '#fff'
+ },
+ y: 12,
+ x: 16
+ },
+ tooltip: {
+ trigger: "axis",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;",
+ },
+ xAxis: [
+ {
+ type: 'category',
+ axisTick: {
+ show: false,
+ },
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ data: ['新闻', '论坛', '微信', 'APP', '微博', "其他"]
+ }
+ ],
+ yAxis: [
+ {
+ type: 'value',
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#FFF",
+ },
+ },
+ axisLabel: {
+ formatter: (value) => {
+ let str = bigNumberTransform(value);
+ return str;
+ }
+ },
+ splitLine: {
+ lineStyle: {
+ type: "dashed", // y轴分割线类型
+ color: "#012b4b",
+ },
+ },
+ }
+ ],
+ series: info
+ }
+}
\ No newline at end of file
diff --git a/src/views/ModelComparison/comparisonOfForumPostingTrends/index.vue b/src/views/ModelComparison/comparisonOfForumPostingTrends/index.vue
new file mode 100644
index 0000000..a7bc716
--- /dev/null
+++ b/src/views/ModelComparison/comparisonOfForumPostingTrends/index.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/comparisonOfForumPostingTrends/opt.js b/src/views/ModelComparison/comparisonOfForumPostingTrends/opt.js
new file mode 100644
index 0000000..346d8e9
--- /dev/null
+++ b/src/views/ModelComparison/comparisonOfForumPostingTrends/opt.js
@@ -0,0 +1,147 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-12 10:11:24
+ * @LastEditTime: 2021-10-15 11:56:55
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandInsight/titsopo/opt.js
+ */
+export default function createOpt() {
+ return {
+ grid: {
+ left: 16,
+ right: 26,
+ bottom: 16,
+ top: 52,
+ containLabel: true
+ },
+ tooltip: {
+ trigger: "axis",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;"
+ },
+ legend: {
+ icon: 'roundRect',
+ textStyle: { //图例文字的样式
+ color: '#fff'
+ },
+ y: 12,
+ x: 16
+ },
+ xAxis: {
+ type: 'category',
+ boundaryGap: false,
+ axisTick: {
+ show: false,
+ },
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ data: ['00:00', '04:00', '08:00', '12:00', '16:00', '20:00', '24:00']
+ },
+ yAxis: {
+ type: 'value',
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ splitLine: {
+ lineStyle: {
+ type: "dashed", // y轴分割线类型
+ color: "#012b4b",
+ },
+ },
+ },
+ series: [
+ {
+ name: '奥迪',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [2000, 1600, 1000, 2200, 2300, 2100, 1900]
+ },
+ {
+ name: '宝马',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1000, 1100, 1300, 2000, 1800, 2100, 1600]
+ },
+ {
+ name: '奔驰',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1200, 1200, 1400, 2100, 1400, 1900, 2000]
+ },
+ {
+ name: '吉利',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1200, 1200, 1350, 1550, 1750, 1900, 2000]
+ },
+ {
+ name: '大众',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1260, 1280, 1390, 1570, 1790, 1950, 2020]
+ },
+ {
+ name: '别克',
+ type: 'line',
+ stack: 'Total',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.4
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [1260, 1280, 1390, 1570, 1790, 1950, 2020]
+ },
+
+ ]
+ }
+}
diff --git a/src/views/ModelComparison/comparisonOfNegativeTopicsInForums/index.vue b/src/views/ModelComparison/comparisonOfNegativeTopicsInForums/index.vue
new file mode 100644
index 0000000..5d59340
--- /dev/null
+++ b/src/views/ModelComparison/comparisonOfNegativeTopicsInForums/index.vue
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/comparisonOfPositiveTopicsInTheForum/index.vue b/src/views/ModelComparison/comparisonOfPositiveTopicsInTheForum/index.vue
new file mode 100644
index 0000000..9fbbcd4
--- /dev/null
+++ b/src/views/ModelComparison/comparisonOfPositiveTopicsInTheForum/index.vue
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/comparisonOfTheNumberOfWeiboInteractions/index.vue b/src/views/ModelComparison/comparisonOfTheNumberOfWeiboInteractions/index.vue
new file mode 100644
index 0000000..358b069
--- /dev/null
+++ b/src/views/ModelComparison/comparisonOfTheNumberOfWeiboInteractions/index.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/comparisonOfWeiboInformation/index.vue b/src/views/ModelComparison/comparisonOfWeiboInformation/index.vue
new file mode 100644
index 0000000..6c56a71
--- /dev/null
+++ b/src/views/ModelComparison/comparisonOfWeiboInformation/index.vue
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/forumTonalComparison/index.vue b/src/views/ModelComparison/forumTonalComparison/index.vue
new file mode 100644
index 0000000..2a67133
--- /dev/null
+++ b/src/views/ModelComparison/forumTonalComparison/index.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/forumTonalComparison/roundata/index.vue b/src/views/ModelComparison/forumTonalComparison/roundata/index.vue
new file mode 100644
index 0000000..eb00a88
--- /dev/null
+++ b/src/views/ModelComparison/forumTonalComparison/roundata/index.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/forumTonalComparison/roundata/opt.js b/src/views/ModelComparison/forumTonalComparison/roundata/opt.js
new file mode 100644
index 0000000..72c0191
--- /dev/null
+++ b/src/views/ModelComparison/forumTonalComparison/roundata/opt.js
@@ -0,0 +1,115 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-12 14:33:51
+ * @LastEditTime: 2021-10-15 14:49:19
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandInsight/weiboKol/opt.js
+ */
+import * as echarts from "echarts";
+export default function createOpt() {
+ return {
+ series: [
+ {
+ name: 'Access From0',
+ type: 'pie',
+ radius: ['70%', '92%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center',
+ lineHeight: 40
+ },
+ emphasis: {
+ label: {
+ show: true,
+ fontSize: '20',
+ color: "#ffff",
+ fontWeight: 'bold',
+ formatter: function(p) {
+ return `${p.data.name}\n25%\n${p.data.value}`
+ }
+ }
+ },
+ labelLine: {
+ show: false
+ },
+ data: [
+ { value: 2000, name: '正面', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#3373CC'
+ }])} },
+
+ { value: 1000, name: '中性', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#54BF93'
+ }])} },
+ { value: 1000, name: '负面', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#b38b14'
+ }])} },
+ ],
+ },
+ {
+ name: 'Access From1',
+ type: 'pie',
+ radius: ['96%', '100%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center'
+ },
+ labelLine: {
+ show: false
+ },
+ center: ['50%', '50%'],//边框位置
+ data: [
+ { value: 2000, name: '正面', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#3373CC'
+ }])} },
+
+ { value: 1000, name: '中性', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#54BF93'
+ }])} },
+ { value: 1000, name: '负面', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#b38b14'
+ }])} },
+
+ ],
+ }
+ ]
+ }
+}
diff --git a/src/views/ModelComparison/index.vue b/src/views/ModelComparison/index.vue
new file mode 100644
index 0000000..edc2c69
--- /dev/null
+++ b/src/views/ModelComparison/index.vue
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/informationTrend/index.vue b/src/views/ModelComparison/informationTrend/index.vue
new file mode 100644
index 0000000..46e6998
--- /dev/null
+++ b/src/views/ModelComparison/informationTrend/index.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/informationTrend/opt.js b/src/views/ModelComparison/informationTrend/opt.js
new file mode 100644
index 0000000..1770030
--- /dev/null
+++ b/src/views/ModelComparison/informationTrend/opt.js
@@ -0,0 +1,109 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-12 10:11:24
+ * @LastEditTime: 2021-10-15 11:56:55
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandInsight/titsopo/opt.js
+ */
+import { bigNumberTransform } from "@/utils/gol/dataTool"
+function createData(ds = []) {
+ let testData = {}
+ ds.forEach(item => {
+ item.forEach(val => {
+ if (testData[val.key] === undefined) {
+ testData[val.key] = {
+ name: val.key,
+ type: 'line',
+ symbol: 'none',
+ areaStyle: {
+ opacity: 0.2
+ },
+ emphasis: {
+ focus: 'series'
+ },
+ data: [val.value]
+ }
+ } else {
+ testData[val.key].data.push(val.value)
+ }
+ })
+ })
+ let arr = [];
+ for(let key in testData) {
+ arr.push(testData[key])
+ }
+ return arr
+}
+export default function createOpt(dx = [], ds = []) {
+ let data = createData(ds);
+ return {
+ grid: {
+ left: 16,
+ right: 26,
+ bottom: 16,
+ top: 52,
+ containLabel: true
+ },
+ tooltip: {
+ trigger: "axis",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;"
+ },
+ legend: {
+ icon: 'roundRect',
+ textStyle: { //图例文字的样式
+ color: '#fff'
+ },
+ y: 12,
+ x: 16
+ },
+ xAxis: {
+ type: 'category',
+ boundaryGap: false,
+ axisTick: {
+ show: false,
+ },
+ axisLabel: {
+ formatter: (value) => {
+ let str = value.substring(10, 16)
+ return str;
+ }
+ },
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ data: dx
+ },
+ yAxis: {
+ type: 'value',
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ axisLabel: {
+ formatter: (value) => {
+ let str = bigNumberTransform(value);
+ return str;
+ }
+ },
+ splitLine: {
+ lineStyle: {
+ type: "dashed", // y轴分割线类型
+ color: "#012b4b",
+ },
+ },
+ },
+ series: data
+ }
+}
diff --git a/src/views/ModelComparison/informationVolumeByChannel/index.vue b/src/views/ModelComparison/informationVolumeByChannel/index.vue
new file mode 100644
index 0000000..4e3de9d
--- /dev/null
+++ b/src/views/ModelComparison/informationVolumeByChannel/index.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/informationVolumeByChannel/opt.js b/src/views/ModelComparison/informationVolumeByChannel/opt.js
new file mode 100644
index 0000000..5cb74e0
--- /dev/null
+++ b/src/views/ModelComparison/informationVolumeByChannel/opt.js
@@ -0,0 +1,126 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-15 15:15:27
+ * @LastEditTime: 2021-10-15 17:44:34
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandComparison/channelDistribution/opt.js
+ */
+export default function createOpt() {
+ return {
+ grid: {
+ top: "56px",
+ left: "16px",
+ right: "28px",
+ bottom: "16px",
+ containLabel: true,
+ },
+ legend: {
+ data: ['奥迪', '宝马', '奔驰', '吉利', '大众', '别克'],
+ textStyle: { //图例文字的样式
+ color: '#fff'
+ },
+ y: 12,
+ x: 16
+ },
+ tooltip: {
+ trigger: "axis",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;",
+ },
+ xAxis: [
+ {
+ type: 'category',
+ axisTick: {
+ show: false,
+ },
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ data: ['新闻', '论坛', '微信', 'APP', '微博', "其他"]
+ }
+ ],
+ yAxis: [
+ {
+ type: 'value',
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#FFF",
+ },
+ },
+ splitLine: {
+ lineStyle: {
+ type: "dashed", // y轴分割线类型
+ color: "#012b4b",
+ },
+ },
+ }
+ ],
+ series: [
+ {
+ name: '奥迪',
+ type: 'bar',
+ barGap: 0,
+ barWidth: 16,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [320, 332, 301, 334, 390, 400]
+ },
+ {
+ name: '宝马',
+ type: 'bar',
+ barWidth: 16,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [220, 182, 191, 234, 290, 300]
+ },
+ {
+ name: '奔驰',
+ type: 'bar',
+ barWidth: 16,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [150, 232, 201, 154, 190, 200]
+ },
+ {
+ name: '吉利',
+ type: 'bar',
+ barWidth: 16,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [98, 77, 101, 99, 40, 44]
+ },
+ {
+ name: '大众',
+ type: 'bar',
+ barWidth: 16,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [198, 177, 101, 199, 140, 145]
+ },
+ {
+ name: '别克',
+ type: 'bar',
+ barWidth: 16,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [298, 277, 201, 299, 240, 250]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/src/views/ModelComparison/keyMediaCommunicationComparison/index.vue b/src/views/ModelComparison/keyMediaCommunicationComparison/index.vue
new file mode 100644
index 0000000..426e390
--- /dev/null
+++ b/src/views/ModelComparison/keyMediaCommunicationComparison/index.vue
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/keyMediaCommunicationComparison/opt.js b/src/views/ModelComparison/keyMediaCommunicationComparison/opt.js
new file mode 100644
index 0000000..0e27d1d
--- /dev/null
+++ b/src/views/ModelComparison/keyMediaCommunicationComparison/opt.js
@@ -0,0 +1,127 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-09 11:01:19
+ * @LastEditTime: 2021-10-15 15:51:52
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/Index/spreadTheSound/opt.js
+ */
+export default function createOpt() {
+ return {
+ grid: {
+ left: 16,
+ right: 16,
+ bottom: 16,
+ top: 56,
+ containLabel: true
+ },
+ tooltip: {
+ trigger: "axis",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;"
+ },
+ legend: {
+ textStyle: { //图例文字的样式
+ color: '#fff'
+ },
+ y: 10,
+ x: 16
+ },
+ xAxis: {
+ type: 'category',
+ axisTick: {
+ show: false,
+ },
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ data: ['汽车之家', '懂车帝', '腾讯新闻', '凤凰网', '新浪微博']
+ },
+ yAxis: {
+ type: 'value',
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ splitLine: {
+ lineStyle: {
+ type: "dashed", // y轴分割线类型
+ color: "#012b4b",
+ },
+ },
+ },
+ series: [
+ {
+ name: '奥迪',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [320, 302, 301, 334, 390]
+ },
+ {
+ name: '宝马',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [120, 132, 101, 134, 90]
+ },
+ {
+ name: '奔驰',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [220, 182, 191, 234, 290]
+ },
+ {
+ name: '吉利',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [150, 212, 201, 154, 190]
+ },
+ {
+ name: '大众',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [820, 832, 901, 934, 1290]
+ },
+ {
+ name: '别克',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [820, 832, 901, 934, 1290]
+ }
+ ]
+ }
+
+}
\ No newline at end of file
diff --git a/src/views/ModelComparison/overallInformation/index.vue b/src/views/ModelComparison/overallInformation/index.vue
new file mode 100644
index 0000000..fc93ee6
--- /dev/null
+++ b/src/views/ModelComparison/overallInformation/index.vue
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/overallNumberOfInteractions/index.vue b/src/views/ModelComparison/overallNumberOfInteractions/index.vue
new file mode 100644
index 0000000..43b11fd
--- /dev/null
+++ b/src/views/ModelComparison/overallNumberOfInteractions/index.vue
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/overallWordCloudComparison/index.vue b/src/views/ModelComparison/overallWordCloudComparison/index.vue
new file mode 100644
index 0000000..e843743
--- /dev/null
+++ b/src/views/ModelComparison/overallWordCloudComparison/index.vue
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+ {handlerTab(n,item)}"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/overallWordCloudComparison/opt.js b/src/views/ModelComparison/overallWordCloudComparison/opt.js
new file mode 100644
index 0000000..296dcc1
--- /dev/null
+++ b/src/views/ModelComparison/overallWordCloudComparison/opt.js
@@ -0,0 +1,215 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-09 13:35:13
+ * @LastEditTime: 2021-10-15 17:23:18
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/Index/hotDiscussionGraph/opt.js
+ */
+// import * as echarts from "echarts";
+const dataBJ = [
+ [1, 55, 9, 56, 0.46, 18, 6, '良'],
+ [2, 25, 11, 21, 0.65, 34, 9, '优'],
+ [3, 56, 7, 63, 0.3, 14, 5, '良'],
+ [4, 33, 7, 29, 0.33, 16, 6, '优'],
+ [5, 42, 24, 44, 0.76, 40, 16, '优'],
+ [6, 82, 58, 90, 1.77, 68, 33, '良'],
+ [7, 74, 49, 77, 1.46, 48, 27, '良'],
+ [8, 78, 55, 80, 1.29, 59, 29, '良'],
+ [9, 267, 216, 280, 4.8, 108, 64, '重度污染'],
+ // [10, 185, 127, 216, 2.52, 61, 27, '中度污染'],
+ // [11, 39, 19, 38, 0.57, 31, 15, '优'],
+ // [12, 41, 11, 40, 0.43, 21, 7, '优'],
+ // [13, 64, 38, 74, 1.04, 46, 22, '良'],
+ // [14, 108, 79, 120, 1.7, 75, 41, '轻度污染'],
+ // [15, 108, 63, 116, 1.48, 44, 26, '轻度污染'],
+ // [16, 33, 6, 29, 0.34, 13, 5, '优'],
+ // [17, 94, 66, 110, 1.54, 62, 31, '良'],
+ // [18, 186, 142, 192, 3.88, 93, 79, '中度污染'],
+ // [19, 57, 31, 54, 0.96, 32, 14, '良'],
+ // [20, 22, 8, 17, 0.48, 23, 10, '优'],
+ // [21, 39, 15, 36, 0.61, 29, 13, '优'],
+ // [22, 94, 69, 114, 2.08, 73, 39, '良'],
+ // [23, 99, 73, 110, 2.43, 76, 48, '良'],
+ // [24, 31, 12, 30, 0.5, 32, 16, '优'],
+ // [25, 42, 27, 43, 1, 53, 22, '优'],
+ // [26, 154, 117, 157, 3.05, 92, 58, '中度污染'],
+ // [27, 234, 185, 230, 4.09, 123, 69, '重度污染'],
+ // [28, 160, 120, 186, 2.77, 91, 50, '中度污染'],
+ // [29, 134, 96, 165, 2.76, 83, 41, '轻度污染'],
+ // [30, 52, 24, 60, 1.03, 50, 21, '良'],
+ // [31, 46, 5, 49, 0.28, 10, 6, '优']
+ ];
+ const dataGZ = [
+ [1, 26, 37, 27, 1.163, 27, 13, '优'],
+ [2, 85, 62, 71, 1.195, 60, 8, '良'],
+ [3, 78, 38, 74, 1.363, 37, 7, '良'],
+ [4, 21, 21, 36, 0.634, 40, 9, '优'],
+ [5, 41, 42, 46, 0.915, 81, 13, '优'],
+ // [6, 56, 52, 69, 1.067, 92, 16, '良'],
+ // [7, 64, 30, 28, 0.924, 51, 2, '良'],
+ // [8, 55, 48, 74, 1.236, 75, 26, '良'],
+ // [9, 76, 85, 113, 1.237, 114, 27, '良'],
+ // [10, 91, 81, 104, 1.041, 56, 40, '良'],
+ // [11, 84, 39, 60, 0.964, 25, 11, '良'],
+ // [12, 64, 51, 101, 0.862, 58, 23, '良'],
+ // [13, 70, 69, 120, 1.198, 65, 36, '良'],
+ // [14, 77, 105, 178, 2.549, 64, 16, '良'],
+ // [15, 109, 68, 87, 0.996, 74, 29, '轻度污染'],
+ // [16, 73, 68, 97, 0.905, 51, 34, '良'],
+ // [17, 54, 27, 47, 0.592, 53, 12, '良'],
+ // [18, 51, 61, 97, 0.811, 65, 19, '良'],
+ // [19, 91, 71, 121, 1.374, 43, 18, '良'],
+ // [20, 73, 102, 182, 2.787, 44, 19, '良'],
+ // [21, 73, 50, 76, 0.717, 31, 20, '良'],
+ // [22, 84, 94, 140, 2.238, 68, 18, '良'],
+ // [23, 93, 77, 104, 1.165, 53, 7, '良'],
+ // [24, 99, 130, 227, 3.97, 55, 15, '良'],
+ // [25, 146, 84, 139, 1.094, 40, 17, '轻度污染'],
+ // [26, 113, 108, 137, 1.481, 48, 15, '轻度污染'],
+ // [27, 81, 48, 62, 1.619, 26, 3, '良'],
+ // [28, 56, 48, 68, 1.336, 37, 9, '良'],
+ // [29, 82, 92, 174, 3.29, 0, 13, '良'],
+ // [30, 106, 116, 188, 3.628, 101, 16, '轻度污染'],
+ // [31, 118, 50, 0, 1.383, 76, 11, '轻度污染']
+ ];
+ const dataSH = [
+ [1, 91, 45, 125, 0.82, 34, 23, '良'],
+ [2, 65, 27, 78, 0.86, 45, 29, '良'],
+ [3, 83, 60, 84, 1.09, 73, 27, '良'],
+ [4, 109, 81, 121, 1.28, 68, 51, '轻度污染'],
+ [5, 106, 77, 114, 1.07, 55, 51, '轻度污染'],
+ // [6, 109, 81, 121, 1.28, 68, 51, '轻度污染'],
+ // [7, 106, 77, 114, 1.07, 55, 51, '轻度污染'],
+ // [8, 89, 65, 78, 0.86, 51, 26, '良'],
+ // [9, 53, 33, 47, 0.64, 50, 17, '良'],
+ // [10, 80, 55, 80, 1.01, 75, 24, '良'],
+ // [11, 117, 81, 124, 1.03, 45, 24, '轻度污染'],
+ // [12, 99, 71, 142, 1.1, 62, 42, '良'],
+ // [13, 95, 69, 130, 1.28, 74, 50, '良'],
+ // [14, 116, 87, 131, 1.47, 84, 40, '轻度污染'],
+ // [15, 108, 80, 121, 1.3, 85, 37, '轻度污染'],
+ // [16, 134, 83, 167, 1.16, 57, 43, '轻度污染'],
+ // [17, 79, 43, 107, 1.05, 59, 37, '良'],
+ // [18, 71, 46, 89, 0.86, 64, 25, '良'],
+ // [19, 97, 71, 113, 1.17, 88, 31, '良'],
+ // [20, 84, 57, 91, 0.85, 55, 31, '良'],
+ // [21, 87, 63, 101, 0.9, 56, 41, '良'],
+ // [22, 104, 77, 119, 1.09, 73, 48, '轻度污染'],
+ // [23, 87, 62, 100, 1, 72, 28, '良'],
+ // [24, 168, 128, 172, 1.49, 97, 56, '中度污染'],
+ // [25, 65, 45, 51, 0.74, 39, 17, '良'],
+ // [26, 39, 24, 38, 0.61, 47, 17, '优'],
+ // [27, 39, 24, 39, 0.59, 50, 19, '优'],
+ // [28, 93, 68, 96, 1.05, 79, 29, '良'],
+ // [29, 188, 143, 197, 1.66, 99, 51, '中度污染'],
+ // [30, 174, 131, 174, 1.55, 108, 50, '中度污染'],
+ // [31, 187, 143, 201, 1.39, 89, 53, '中度污染']
+ ];
+// const schema = [
+// { name: 'date', index: 0, text: '日' },
+// { name: 'AQIindex', index: 1, text: 'AQI指数' },
+// { name: 'PM25', index: 2, text: 'PM2.5' },
+// { name: 'PM10', index: 3, text: 'PM10' },
+// { name: 'CO', index: 4, text: '一氧化碳(CO)' },
+// { name: 'NO2', index: 5, text: '二氧化氮(NO2)' },
+// { name: 'SO2', index: 6, text: '二氧化硫(SO2)' }
+// ];
+ const itemStyle = {
+ opacity: 0.8,
+ shadowBlur: 10,
+ shadowOffsetX: 0,
+ shadowOffsetY: 0,
+ shadowColor: 'rgba(0,0,0,0.3)'
+ };
+export default function createOpt() {
+ return {
+ grid: {
+ top: "16px",
+ left: "16px",
+ right: "16px",
+ bottom: "16px",
+ containLabel: true,
+ },
+ tooltip: {
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;",
+ formatter: function(param) {
+ let value = param.value;
+ return `${value[value.length - 1]}
${value[0]}`
+ }
+ },
+ xAxis: {
+ show: false,
+ type: 'value',
+ splitLine: {
+ lineStyle: {
+ type: 'dashed'
+ }
+ }
+ },
+ yAxis: {
+ show: false,
+ type: 'value',
+ splitLine: {
+ lineStyle: {
+ type: 'dashed'
+ }
+ },
+ scale: true
+ },
+ series: [{
+ name: '北京',
+ data: dataBJ,
+ type: 'scatter',
+ symbolSize: function (data) {
+ return data[2]
+ },
+ label: {
+ show: true,
+ color: "#FFF",
+ formatter: function (param) {
+ return param.data[param.data.length - 1];
+ },
+ },
+ itemStyle: itemStyle
+ }, {
+ name: '上海',
+ data: dataSH,
+ type: 'scatter',
+ symbolSize: function (data) {
+ return data[2]
+ },
+ label: {
+ show: true,
+ color: "#FFF",
+ formatter: function (param) {
+ return param.data[param.data.length - 1];
+ },
+ },
+ itemStyle: itemStyle
+ },
+ {
+ name: '广州',
+ data: dataGZ,
+ type: 'scatter',
+ symbolSize: function (data) {
+ return data[2]
+ },
+ label: {
+ show: true,
+ color: "#FFF",
+ formatter: function (param) {
+ return param.data[param.data.length - 1];
+ },
+ },
+ itemStyle: itemStyle
+ }
+ ]
+ }
+}
diff --git a/src/views/ModelComparison/summaryAndComparisonOfForumInformation/index.vue b/src/views/ModelComparison/summaryAndComparisonOfForumInformation/index.vue
new file mode 100644
index 0000000..e39cdb7
--- /dev/null
+++ b/src/views/ModelComparison/summaryAndComparisonOfForumInformation/index.vue
@@ -0,0 +1,146 @@
+
+
+
+
+
+
{{item.name}}
+
+

+
+ 论坛信息量
+ {{item.a}}
+
+
+
+

+
+ 互动人数
+ {{item.b}}
+
+
+
+

+
+ 论坛主贴量
+ {{item.c}}
+
+
+
+

+
+ 论坛评论量
+ {{item.d}}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/tailTOPMedia/index.vue b/src/views/ModelComparison/tailTOPMedia/index.vue
new file mode 100644
index 0000000..4e0ea5b
--- /dev/null
+++ b/src/views/ModelComparison/tailTOPMedia/index.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/userAreaDistribution/index.vue b/src/views/ModelComparison/userAreaDistribution/index.vue
new file mode 100644
index 0000000..a5c7ca1
--- /dev/null
+++ b/src/views/ModelComparison/userAreaDistribution/index.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/userAreaDistribution/opt1.js b/src/views/ModelComparison/userAreaDistribution/opt1.js
new file mode 100644
index 0000000..02ca558
--- /dev/null
+++ b/src/views/ModelComparison/userAreaDistribution/opt1.js
@@ -0,0 +1,75 @@
+
+
+/*
+ * @Author: your name
+ * @Date: 2021-10-09 12:38:34
+ * @LastEditTime: 2021-10-14 11:48:19
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/Index/tailInsight/opt.js
+ */
+import * as echarts from "echarts";
+export default function createOptD1() {
+ return {
+ grid: {
+ left: '4%',
+ right: '4%',
+ bottom: '4%',
+ top: "1%",
+ containLabel: true
+ },
+ tooltip: {
+ trigger: "axis",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;"
+ },
+ xAxis: {
+ type: 'value',
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ splitLine: {
+ lineStyle: {
+ type: "dashed", // y轴分割线类型
+ color: "#012b4b",
+ },
+ },
+ },
+ yAxis: {
+ type: 'category',
+ data: ['山西省', '浙江省', '北京市', '江西省', '江苏省', '福建省', '山东省', '天津市'],
+ axisTick: {
+ show: false,
+ },
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ },
+ series: [
+ {
+ name: '2011',
+ type: 'bar',
+ barWidth: 24,
+ data: [500, 1000, 2220, 3000, 4000, 3000,2200, 2600],
+ color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
+ offset: 0,
+ color: '#010B19'
+ }, {
+ offset: 1,
+ color: '#2f68b4'
+ }]),
+ }
+ ]
+ }
+}
diff --git a/src/views/ModelComparison/userAreaDistribution/opt2.js b/src/views/ModelComparison/userAreaDistribution/opt2.js
new file mode 100644
index 0000000..178233f
--- /dev/null
+++ b/src/views/ModelComparison/userAreaDistribution/opt2.js
@@ -0,0 +1,134 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-14 11:53:16
+ * @LastEditTime: 2021-10-14 15:51:30
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/WeiboDetails/weiboUserActiveArea/opt2.js
+ */
+const ini_data = [];//初始化省份数组
+const provArr = ['河北', '河南', '云南', '辽宁', '黑龙江', '湖南', '安徽', '山东'];
+//正则省份,将省与市的字眼去掉,框架不识别
+for (var i = 0; i < provArr.length; i++) {
+ var str = provArr[i];
+ var re = /省|市/g; //全局匹配
+ var str2 = { name: str.replace(re, ''), value: 5 };//拼接对象数组
+ ini_data.push(str2);
+}
+export default function createOptD2() {
+ return {
+ tooltip: {
+ trigger: "item",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;"
+ },
+ // geo: {
+ // show: true,
+ // map: 'china',
+ // roam: false,//地图设置不可拖拽,固定的
+ // itemStyle: {
+ // normal: {
+ // borderWidth: 0,
+ // shadowColor: 'rgba(0,54,255, 1)',
+ // shadowBlur: 100
+ // }
+ // }
+ // },
+ visualMap: {
+ type: 'continuous',
+ show: false,
+ min: 0,
+ max: 2000,
+ text: ['高', '低'],
+ orient: 'horizontal',
+ itemWidth: 15,
+ itemHeight: 200,
+ right: 0,
+ bottom: 30,
+ inRange: {
+ color: ['#0393d2', '#75ddff']
+ },
+ textStyle: {
+ color: 'white'
+ }
+ },
+ series: [
+ {
+ name: "微博区域",
+ type: "map",
+ mapType: "china",
+ roam: false,
+ zoom: 1,//默认地图在容器中显示zoom:1,可根据需求放大缩小地图
+ left: 16,
+ top: 20,
+ right: 10,
+ bottom: 10,
+ selectedMode:'multiple',
+ colorBy: 'data',
+ itemStyle: {
+ areaColor: '#001f5b',//地图区域背景颜色
+ borderColor: '#005cf9',//地图边界颜色
+ shadowColor: '#005cf9',
+ emphasis: {
+ areaColor: '#3066ba',//鼠标滑过区域颜色
+ label: {
+ color: '#fff'
+ }
+ }
+ },
+ label: {
+ normal: {
+ show: false
+ },
+ },
+
+ // select: {
+ // label: {
+ // show: false
+ // },
+ // itemStyle: {
+ // areaColor: '#3edffe'
+ // }
+ // },
+ data: [
+ {
+ name: "河北省",
+ value: 1000,
+ // selected: true,
+ },
+ {
+ name: "浙江省",
+ value: 1100,
+ // selected: true
+ },
+ {
+ name: "山东省",
+ value: 1200,
+ // selected: true
+ },
+ {
+ name: "山西省",
+ value: 1300,
+ // selected: true
+ },
+ {
+ name: "上海市",
+ value: 1400,
+ // selected: true
+ },
+ {
+ name: "江苏省",
+ value: 1500,
+ // selected: true
+ }
+ ]
+
+ }
+ ]
+ }
+}
diff --git a/src/views/ModelComparison/weiboBigVComparison/index.vue b/src/views/ModelComparison/weiboBigVComparison/index.vue
new file mode 100644
index 0000000..f16b1f6
--- /dev/null
+++ b/src/views/ModelComparison/weiboBigVComparison/index.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/weiboBigVComparison/opt.js b/src/views/ModelComparison/weiboBigVComparison/opt.js
new file mode 100644
index 0000000..73914a7
--- /dev/null
+++ b/src/views/ModelComparison/weiboBigVComparison/opt.js
@@ -0,0 +1,99 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-09 11:01:19
+ * @LastEditTime: 2021-10-16 10:42:52
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/Index/spreadTheSound/opt.js
+ */
+/*
+series: [
+ {
+ name: '奥迪',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [320, 302, 301, 334, 390]
+ },
+*/
+function createData(dataList = []) {
+ let arr = [];
+ dataList.forEach(ele => {
+ let o = {
+ name: ele.key,
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ //索引各类型大v的值,0表示名人,1表示政府,2表示企业,3表示媒体,4表示个人大V
+ data: [ele.value[0].value, ele.value[3].value, ele.value[2].value, ele.value[1].value, ele.value[4].value]
+ };
+ arr.push(o);
+ })
+ return arr;
+}
+
+export default function createOpt(dataList = []) {
+ let info = createData(dataList);
+ return {
+ grid: {
+ left: 16,
+ right: 16,
+ bottom: 16,
+ top: 56,
+ containLabel: true
+ },
+ tooltip: {
+ trigger: "axis",
+ backgroundColor: "#08182F",
+ color: "#fff",
+ borderColor: "#3373CC",
+ textStyle: {
+ color: "#fff", //设置文字颜色
+ },
+ extraCssText: "box-shadow: 0px 0px 10px 0px #3373CC;"
+ },
+ legend: {
+ textStyle: { //图例文字的样式
+ color: '#fff'
+ },
+ y: 10,
+ x: 16
+ },
+ xAxis: {
+ type: 'category',
+ axisTick: {
+ show: false,
+ },
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ data: ['名人', '媒体', '企业', '政府', '个人大v']
+ },
+ yAxis: {
+ type: 'value',
+ axisLine: {
+ show: false,
+ lineStyle: {
+ color: "#fff",
+ },
+ },
+ splitLine: {
+ lineStyle: {
+ type: "dashed", // y轴分割线类型
+ color: "#012b4b",
+ },
+ },
+ },
+ series: info
+ }
+
+}
\ No newline at end of file
diff --git a/src/views/ModelComparison/weiboContentDirectionComparison/index.vue b/src/views/ModelComparison/weiboContentDirectionComparison/index.vue
new file mode 100644
index 0000000..e1cca02
--- /dev/null
+++ b/src/views/ModelComparison/weiboContentDirectionComparison/index.vue
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+ {{
+ item.key
+ }}
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/weiboContentDirectionComparison/v-ranking-bcm/index.vue b/src/views/ModelComparison/weiboContentDirectionComparison/v-ranking-bcm/index.vue
new file mode 100644
index 0000000..3760c07
--- /dev/null
+++ b/src/views/ModelComparison/weiboContentDirectionComparison/v-ranking-bcm/index.vue
@@ -0,0 +1,232 @@
+
+
+
+
+
+
+ {{ num|numStr }}
+
+
+
{{label}}
+
+ 传播量
+ {{val}}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/weiboTuneComparison/index.vue b/src/views/ModelComparison/weiboTuneComparison/index.vue
new file mode 100644
index 0000000..0b8bb95
--- /dev/null
+++ b/src/views/ModelComparison/weiboTuneComparison/index.vue
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+ 正面
+
+
+ 中性
+
+
+ 负面
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/weiboTuneComparison/wbRoundata/index.vue b/src/views/ModelComparison/weiboTuneComparison/wbRoundata/index.vue
new file mode 100644
index 0000000..da4459e
--- /dev/null
+++ b/src/views/ModelComparison/weiboTuneComparison/wbRoundata/index.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/weiboTuneComparison/wbRoundata/opt.js b/src/views/ModelComparison/weiboTuneComparison/wbRoundata/opt.js
new file mode 100644
index 0000000..9006c30
--- /dev/null
+++ b/src/views/ModelComparison/weiboTuneComparison/wbRoundata/opt.js
@@ -0,0 +1,90 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-12 14:33:51
+ * @LastEditTime: 2021-10-15 14:49:19
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandInsight/weiboKol/opt.js
+ */
+import * as echarts from "echarts";
+function createData(obj = {}) {
+ if (JSON.stringify(obj) === '{}') {
+ return;
+ }
+ let arr = [];
+ for (let key in obj) {
+ let color = "";
+ if (key === '正面') {
+ color = "#3373CC"
+ } else if (key === '负面') {
+ color = "#b38b14"
+ } else {
+ color = "#54BF93"
+ }
+ let o = {
+ value: obj[key],
+ name: key,
+ itemStyle: {
+ color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: color
+ }])
+ }
+ }
+ arr.push(o)
+ }
+ return arr
+}
+export default function createOpt(obj={}) {
+ let data = createData(obj);
+ return {
+ series: [
+ {
+ name: 'Access From0',
+ type: 'pie',
+ radius: ['70%', '92%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center',
+ lineHeight: 28
+ },
+ emphasis: {
+ label: {
+ show: true,
+ fontSize: '18',
+ color: "#ffff",
+ fontWeight: 'bold',
+ formatter: function (p) {
+ return `${p.data.name}\n${p.percent}%\n${p.data.value}`
+ }
+ }
+ },
+ labelLine: {
+ show: false
+ },
+ data: data
+ },
+ {
+ name: 'Access From1',
+ type: 'pie',
+ radius: ['96%', '100%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center'
+ },
+ labelLine: {
+ show: false
+ },
+ center: ['50%', '50%'],//边框位置
+ data: data
+ }
+ ]
+ }
+}
diff --git a/src/views/ModelComparison/weiboUserPortrait/index.vue b/src/views/ModelComparison/weiboUserPortrait/index.vue
new file mode 100644
index 0000000..7ac5dc3
--- /dev/null
+++ b/src/views/ModelComparison/weiboUserPortrait/index.vue
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/ModelComparison/weiboUserPortrait/opt1.js b/src/views/ModelComparison/weiboUserPortrait/opt1.js
new file mode 100644
index 0000000..fd6dbf6
--- /dev/null
+++ b/src/views/ModelComparison/weiboUserPortrait/opt1.js
@@ -0,0 +1,114 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-12 15:14:58
+ * @LastEditTime: 2021-10-14 10:43:47
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandInsight/weiboPortraits/opt.js
+ */
+import * as echarts from "echarts";
+export default function createOpt1() {
+ return {
+ series: [
+ {
+ name: 'Access From0',
+ type: 'pie',
+ radius: ['63%', '77%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center',
+ fontSize: '40',
+ color: "#ffff",
+ },
+ emphasis: {
+ label: {
+ show: true,
+ fontSize: '40',
+ color: "#ffff",
+ formatter: (p)=>{
+ return p.data.name + '\n' + p.data.value;
+ },
+ }
+ },
+ labelLine: {
+ show: false
+ },
+ data: [
+ { value: 2200, name: '男性', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#3373CC'
+ }])} },
+ { value: 2200, name: '女性', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#CC9D12'
+ }])} },
+ { value: 2200, name: '未知', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#54BF93'
+ }])} },
+ ],
+
+ },
+ {
+ name: 'Access From1',
+ type: 'pie',
+ radius: ['80%', '84%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center'
+ },
+ labelLine: {
+ show: false
+ },
+ center: ['50%', '50%'],//边框位置
+ data: [
+ { value: 2200, name: '男性', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#3373CC'
+ }])} },
+ { value: 2200, name: '女性', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#CC9D12'
+ }])} },
+ { value: 2200, name: '未知', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#54BF93'
+ }])} },
+ ],
+
+ }
+ ]
+ }
+}
diff --git a/src/views/ModelComparison/weiboUserPortrait/opt2.js b/src/views/ModelComparison/weiboUserPortrait/opt2.js
new file mode 100644
index 0000000..eab17f6
--- /dev/null
+++ b/src/views/ModelComparison/weiboUserPortrait/opt2.js
@@ -0,0 +1,114 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-12 15:14:58
+ * @LastEditTime: 2021-10-16 11:53:25
+ * @LastEditors: Please set LastEditors
+ * @Description: In User Settings Edit
+ * @FilePath: /data-show/src/views/BrandInsight/weiboPortraits/opt.js
+ */
+import * as echarts from "echarts";
+export default function createOpt2() {
+ return {
+ series: [
+ {
+ name: 'Access From0',
+ type: 'pie',
+ radius: ['63%', '77%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center',
+ fontSize: '40',
+ color: "#ffff",
+ },
+ emphasis: {
+ label: {
+ show: true,
+ fontSize: '40',
+ color: "#ffff",
+ formatter: (p)=>{
+ return p.data.name + '\n' + p.data.value;
+ },
+ }
+ },
+ labelLine: {
+ show: false
+ },
+ data: [
+ { value: 2200, name: '已认证', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#3373CC'
+ }])} },
+ { value: 2200, name: '未认证', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#CC9D12'
+ }])} },
+ { value: 2200, name: '未知', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#54BF93'
+ }])} },
+ ],
+
+ },
+ {
+ name: 'Access From1',
+ type: 'pie',
+ radius: ['80%', '84%'],
+ avoidLabelOverlap: false,
+ label: {
+ show: false,
+ position: 'center'
+ },
+ labelLine: {
+ show: false
+ },
+ center: ['50%', '50%'],//边框位置
+ data: [
+ { value: 2200, name: '男性', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#3373CC'
+ }])} },
+ { value: 2200, name: '女性', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#CC9D12'
+ }])} },
+ { value: 2200, name: '未知', itemStyle: {color: new echarts.graphic.LinearGradient(0, 1, 1, 0, [{
+ //给颜色设置渐变色 前面4个参数,给第一个设置1,第四个设置0 ,就是水平渐变
+ //给第一个设置0,第四个设置1,就是垂直渐变
+ offset: 0,
+ color: 'black'
+ }, {
+ offset: 1,
+ color: '#54BF93'
+ }])} },
+ ],
+
+ }
+ ]
+ }
+}
diff --git a/src/views/ModelInsight/index.vue b/src/views/ModelInsight/index.vue
index 74a3d29..8eb1417 100644
--- a/src/views/ModelInsight/index.vue
+++ b/src/views/ModelInsight/index.vue
@@ -1,7 +1,7 @@