|
@@ -54,14 +54,22 @@
|
|
|
<div class="chart">
|
|
|
<div class="subtitle">平台传播量</div>
|
|
|
<el-divider></el-divider>
|
|
|
- <div class="pieChart" ref="pieChart" style="width: 100%;min-height: 100px"></div>
|
|
|
+ <div
|
|
|
+ class="pieChart"
|
|
|
+ ref="pieChart"
|
|
|
+ style="width: 100%;min-height: 100px"
|
|
|
+ ></div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<div class="chart">
|
|
|
<div class="subtitle">词云</div>
|
|
|
<el-divider></el-divider>
|
|
|
- <div class="cloudChart" ref="cloudChart" style="width: 100%;min-height: 100px"></div>
|
|
|
+ <div
|
|
|
+ class="cloudChart"
|
|
|
+ ref="cloudChart"
|
|
|
+ style="width: 100%;min-height: 100px"
|
|
|
+ ></div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -70,7 +78,11 @@
|
|
|
<div class="chart">
|
|
|
<div class="subtitle">直播观众性别比例</div>
|
|
|
<el-divider></el-divider>
|
|
|
- <div class="sexChart" ref="sexChart" style="width: 100%;min-height: 100px"></div>
|
|
|
+ <div
|
|
|
+ class="sexChart"
|
|
|
+ ref="sexChart"
|
|
|
+ style="width: 100%;min-height: 100px"
|
|
|
+ ></div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -83,7 +95,7 @@
|
|
|
<div
|
|
|
:class="'platformChart' + item"
|
|
|
:ref="'platformChart' + item"
|
|
|
- style="width: 100%;min-height: 100px"
|
|
|
+ style="width: 100%;min-height: 100px"
|
|
|
></div>
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
@@ -98,29 +110,29 @@
|
|
|
:data="platformLi"
|
|
|
style="width: 100%"
|
|
|
>
|
|
|
- <el-table-column align="center" label="子活动名称" prop="alias_name" >
|
|
|
+ <el-table-column align="center" label="子活动名称" prop="alias_name">
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="浏览量" prop="total_pv" >
|
|
|
+ <el-table-column align="center" label="浏览量" prop="total_pv">
|
|
|
<template #default="scope">
|
|
|
{{ formateNum(scope.row.total_pv || 0) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="原创量" prop="total_ori" >
|
|
|
+ <el-table-column align="center" label="原创量" prop="total_ori">
|
|
|
<template #default="scope">
|
|
|
{{ formateNum(scope.row.total_ori || 0) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="点赞数" prop="total_digg" >
|
|
|
+ <el-table-column align="center" label="点赞数" prop="total_digg">
|
|
|
<template #default="scope">
|
|
|
{{ formateNum(scope.row.total_digg || 0) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="评论数" prop="total_comment" >
|
|
|
+ <el-table-column align="center" label="评论数" prop="total_comment">
|
|
|
<template #default="scope">
|
|
|
{{ formateNum(scope.row.total_comment || 0) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="转发量" prop="total_forward" >
|
|
|
+ <el-table-column align="center" label="转发量" prop="total_forward">
|
|
|
<template #default="scope">
|
|
|
{{ formateNum(scope.row.total_forward || 0) }}
|
|
|
</template>
|
|
@@ -167,7 +179,7 @@ export default {
|
|
|
return {
|
|
|
platform: [],
|
|
|
channelList: [],
|
|
|
- platformLi:[],
|
|
|
+ platformLi: [],
|
|
|
words: [],
|
|
|
sex: [],
|
|
|
h: 0,
|
|
@@ -225,7 +237,6 @@ export default {
|
|
|
}).then(res => {
|
|
|
this.cloudChart(res || []);
|
|
|
});
|
|
|
-
|
|
|
},
|
|
|
computed: {},
|
|
|
methods: {
|
|
@@ -253,26 +264,18 @@ export default {
|
|
|
},
|
|
|
label: {
|
|
|
formatter: " {b|{b}:} {per|{d}%} ",
|
|
|
- borderColor: "#8C8D8E",
|
|
|
- borderWidth: 1,
|
|
|
- borderRadius: 4,
|
|
|
rich: {
|
|
|
- a: {
|
|
|
- color: "#6E7079",
|
|
|
- lineHeight: 22,
|
|
|
- align: "center",
|
|
|
- },
|
|
|
b: {
|
|
|
color: "#4C5058",
|
|
|
fontSize: 14,
|
|
|
fontWeight: "bold",
|
|
|
+ padding: [3, 0],
|
|
|
lineHeight: 33,
|
|
|
},
|
|
|
per: {
|
|
|
- color: "#fff",
|
|
|
- backgroundColor: "#4C5058",
|
|
|
- padding: [3, 4],
|
|
|
- borderRadius: 4,
|
|
|
+ color: "#000",
|
|
|
+ fontSize: 14,
|
|
|
+ padding: [3, 0],
|
|
|
},
|
|
|
},
|
|
|
},
|