diff --git a/src/views/sylive/activity/statistics/index.vue b/src/views/sylive/activity/statistics/index.vue index 858eaa5..5304633 100644 --- a/src/views/sylive/activity/statistics/index.vue +++ b/src/views/sylive/activity/statistics/index.vue @@ -36,6 +36,15 @@ + +
+ +
+
0) { + this.hotSearchChartOption = { + series: [ + { + name: 'Expected', + type: 'funnel', + top: '1%', + bottom: '5%', + left: '2%', + width: '72%', + label: { + position: 'right', + formatter: '{b}' + }, + labelLine: { + show: false + }, + itemStyle: { + opacity: 0.7 + }, + data: data.funnel.expected_data + }, + { + name: 'Actual', + type: 'funnel', + top: '1%', + bottom: '5%', + left: '7%', + width: '62%', + maxSize: '62%', + label: { + position: 'inside', + formatter: '{c}', + color: '#000' + }, + itemStyle: { + opacity: 0.4, + borderColor: '#fff', + borderWidth: 1 + }, + data: data.funnel.actual_data, + z: 100 + } + ] + }; + } // 修改页签标题 if (this.$route.path === ROUTE_PATH) { setPageTabTitle(data.title + '的数据统计');