diff --git a/src/lycomponents/iHeader/index.vue b/src/lycomponents/iHeader/index.vue
index 8c7b1b8..28211f2 100644
--- a/src/lycomponents/iHeader/index.vue
+++ b/src/lycomponents/iHeader/index.vue
@@ -17,7 +17,7 @@
事件洞察
-
+
营销分析
@@ -188,6 +188,7 @@ export default {
margin-left: 22px;
justify-content: flex-start;
align-items: center;
+ flex-shrink: 0;
.iH-left-img1 {
width: 24px;
height: 24px;
@@ -218,6 +219,7 @@ export default {
align-items: center;
top: 0px;
right: 19px;
+ flex-shrink: 0;
.s1 {
display: inline-block;
font-size: 16px;
diff --git a/src/permission.js b/src/permission.js
index 9610584..d978d52 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -1,7 +1,7 @@
/*
* @Author: your name
* @Date: 2021-10-08 09:26:42
- * @LastEditTime: 2021-10-25 09:09:47
+ * @LastEditTime: 2021-10-25 10:48:19
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/permission.js
diff --git a/src/router/index.js b/src/router/index.js
index 9530751..d5e549e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,7 +1,7 @@
/*
* @Author: your name
* @Date: 2021-10-08 09:26:29
- * @LastEditTime: 2021-10-19 16:03:49
+ * @LastEditTime: 2021-10-25 10:59:54
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/router/index.js
@@ -29,6 +29,8 @@ import EventInsight from "@/views/EventInsight"
import EventComparison from "@/views/EventComparison"
import Login from "@/views/Login"
import EventDEC from "@/views/EventDEC"
+import MarketingAnalysis from "@/views/MarketingAnalysis"
+
const router = [
{
path: '/login',
@@ -113,6 +115,12 @@ const router = [
desc: "事件详情",
component: EventDEC
},
+ {
+ path: '/marketingAnalysis',
+ name: "marketingAnalysis",
+ desc: "营销分析",
+ component: MarketingAnalysis
+ },
]
},
diff --git a/src/views/MarketingAnalysis/brandSalesRankingTOP10Ranking/index.vue b/src/views/MarketingAnalysis/brandSalesRankingTOP10Ranking/index.vue
new file mode 100644
index 0000000..1f7b415
--- /dev/null
+++ b/src/views/MarketingAnalysis/brandSalesRankingTOP10Ranking/index.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/MarketingAnalysis/brandVolumeTOP10/index.vue b/src/views/MarketingAnalysis/brandVolumeTOP10/index.vue
new file mode 100644
index 0000000..a160253
--- /dev/null
+++ b/src/views/MarketingAnalysis/brandVolumeTOP10/index.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/MarketingAnalysis/brandVolumeTOP10/opt.js b/src/views/MarketingAnalysis/brandVolumeTOP10/opt.js
new file mode 100644
index 0000000..bb0acbb
--- /dev/null
+++ b/src/views/MarketingAnalysis/brandVolumeTOP10/opt.js
@@ -0,0 +1,127 @@
+/*
+ * @Author: your name
+ * @Date: 2021-10-09 11:01:19
+ * @LastEditTime: 2021-10-25 11:18:51
+ * @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, 400, 410,420,405,421]
+ },
+ {
+ name: '论坛',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [120, 132, 101, 134, 90, 400, 410,420,405,421]
+ },
+ {
+ name: '微信',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [220, 182, 191, 234, 290, 400, 410,420,405,421]
+ },
+ {
+ name: '微博',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [150, 212, 201, 154, 190, 400, 410,420,405,421]
+ },
+ {
+ name: 'APP',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [820, 832, 901, 934, 1290, 400, 410,420,405,421]
+ },
+ {
+ name: '其他',
+ type: 'bar',
+ stack: 'total',
+ barWidth: 24,
+ emphasis: {
+ focus: 'series'
+ },
+ data: [820, 832, 901, 934, 1290, 400, 410,420,405,421]
+ }
+ ]
+ }
+
+}
\ No newline at end of file
diff --git a/src/views/MarketingAnalysis/index.vue b/src/views/MarketingAnalysis/index.vue
index 231914c..c2e464e 100644
--- a/src/views/MarketingAnalysis/index.vue
+++ b/src/views/MarketingAnalysis/index.vue
@@ -1,23 +1,44 @@
diff --git a/src/views/MarketingAnalysis/keyActiveMediaTOP10Ranking/index.vue b/src/views/MarketingAnalysis/keyActiveMediaTOP10Ranking/index.vue
new file mode 100644
index 0000000..65138c5
--- /dev/null
+++ b/src/views/MarketingAnalysis/keyActiveMediaTOP10Ranking/index.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Myself/index.vue b/src/views/Myself/index.vue
index 3a57cb4..23e7379 100644
--- a/src/views/Myself/index.vue
+++ b/src/views/Myself/index.vue
@@ -1,7 +1,7 @@