prod
lily.zhang 4 years ago
parent 6f9039328b
commit 1564d1ffb7

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 883 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

@ -64,7 +64,7 @@ export default {
)
})
const table = (
<a-table props={props} scopedSlots={this.$scopedSlots} on={on} row-class-name={isRedRow}>
<a-table props={props} scopedSlots={this.$scopedSlots} on={on} row-class-name={isRedRow} >
{slots}
</a-table>
)

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-10-15 09:16:31
* @LastEditTime: 2021-10-15 11:32:12
* @LastEditTime: 2021-10-18 13:27:20
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/lycomponents/iSwitchBrand/index.vue
@ -43,7 +43,7 @@ export default {
},
data() {
return {
show: true,
show: false,
activeLi: 0,
letterArr: [
"热门",

@ -0,0 +1,151 @@
<!--
* @Author: your name
* @Date: 2021-10-18 10:42:29
* @LastEditTime: 2021-10-18 13:44:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/ec-d1/index.vue
-->
<template>
<div class="ec-d1">
<v-label-div title="切换事件">
<span class="iconfont icon-guanbi v-m-close" @click="handlerClose"></span>
</v-label-div>
<div class="ec-d1-inner">
<div class="ec-d1-dd1">
<div class="d1">新车上市</div>
<div class="d2">
<div class="d2-d1">宠爱 东风日产启辰重庆驾练营公益项目重庆车asdasdasdasdasd</div>
<div class="d2-d2">
<span class="s1">开始时间</span><span class="s2">2021-05-30 20:20:24</span>
<span class="s1" style="margin-left: 40px">信息总量</span><span class="s2" style="margin-left: 8px">76446</span>
</div>
</div>
<div class="ec-btn">
删除事件
</div>
</div>
<div class="ec-d1-dd2">
<img src="../../../assets/images/comm/img_vs.png" />
</div>
<div class="ec-d1-dd1">
<div class="dx1">新车上市</div>
<div class="d2">
<div class="d2-d1">今日长安福特在重庆车展主场以全明星阵容开启新纪元</div>
<div class="d2-d2">
<span class="s1">开始时间</span><span class="s2">2021-05-30 20:20:24</span>
<span class="s1" style="margin-left: 40px">信息总量</span><span class="s2" style="margin-left: 8px">76446</span>
</div>
</div>
<div class="ec-btn">
删除事件
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: "ec-top",
methods: {
handlerClose() {
this.$emit("close")
}
}
};
</script>
<style lang="less" scoped>
.ec-d1 {
width: 100%;
height: 222px;
border: 2px solid #0f2a4d;
.ec-d1-inner {
width: 100%;
height: calc(100% - 48px);
display: flex;
justify-content: flex-start;
align-items: center;
.ec-d1-dd2 {
margin-left: 68px;
margin-right: 68px;
}
.ec-d1-dd1 {
width: 800px;
height: 120px;
background: linear-gradient(180deg, #0088c9 0%, #001c43 100%);
border-radius: 4px;
border: 2px solid #0091ff;
margin-left: 16px;
display: flex;
justify-content: flex-start;
align-items: center;
position: relative;
.ec-btn {
position: absolute;
width: 137px;
height: 37px;
background-image: url("../../../assets/images/EventInsight/img_zbut.png");
text-align: center;
line-height: 37px;
color: #60abcb;
right: 0px;
top: 0px;
cursor: pointer;
}
.d1 {
width: 86px;
height: 86px;
background-image: url("../../../assets/images/EventInsight/img_xlq.png");
background-repeat: no-repeat;
background-size: cover;
margin-left: 14px;
text-align: center;
line-height: 86px;
font-size: 14px;
color: #97c6ec;
}
.dx1 {
width: 86px;
height: 86px;
background-image: url("../../../assets/images/EventInsight/img_xlvq.png");
background-repeat: no-repeat;
background-size: cover;
margin-left: 14px;
text-align: center;
line-height: 86px;
font-size: 14px;
color: #97c6ec;
}
.d2 {
margin-left: 14px;
.d2-d1 {
font-size: 20px;
color: #fff;
font-weight: 500;
width: 515px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.d2-d2 {
display: flex;
justify-content: flex-start;
.s1 {
display: block;
font-size: 14px;
color: #7b93a5;
}
.s2 {
display: block;
color: #fff;
font-size: 14px;
}
}
}
}
}
}
</style>

@ -0,0 +1,169 @@
<!--
* @Author: your name
* @Date: 2021-10-18 10:56:38
* @LastEditTime: 2021-10-18 12:01:48
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/eventRecommendationList/index.vue
-->
<template>
<div class="erl-outter">
<v-label-div title="事件推荐列表">
</v-label-div>
<div class="erl-inner">
<a-form-model layout="inline" :model="formInline" @submit="handleSubmit">
<a-form-model-item label="品牌选择">
<a-select v-model="formInline.region1" placeholder="请选择" style="width: 240px;">
<a-select-option value="shanghai">
Zone one
</a-select-option>
<a-select-option value="beijing">
Zone two
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item label="车型选择">
<a-select v-model="formInline.region2" placeholder="请选择" style="width: 240px;">
<a-select-option value="shanghai">
Zone one
</a-select-option>
<a-select-option value="beijing">
Zone two
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item label="事件类型">
<a-select v-model="formInline.region3" placeholder="请选择" style="width: 240px;">
<a-select-option value="shanghai">
Zone one
</a-select-option>
<a-select-option value="beijing">
Zone two
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item label="关键词语">
<a-input v-model="formInline.user" placeholder="Username" style="width: 240px;">
</a-input>
</a-form-model-item>
<a-form-model-item>
<a-button type="primary" style="margin-left: 40px">搜索</a-button>
<a-button style="margin-left: 24px">重置</a-button>
</a-form-model-item>
</a-form-model>
<v-table :columns="columns" :data="tbData" table-layout= 'fixed' style="margin-top: 24px" :pagination="pagination" :rowKey="(record,index)=>{return index}">
<span slot="action">
<a-button>添加</a-button>
</span>
</v-table>
</div>
</div>
</template>
<script>
export default {
name: "eventRecommendationList",
data() {
return {
labelCol: { span: 4 },
wrapperCol: { span: 14 },
formInline: {
region1: "",
region2: "",
region3: "",
user: "",
},
pagination: {
"show-total": total => `${total}`
},
columns: [
{
title: "事件类型",
dataIndex: "a",
key: "a",
},
{
title: "事件标题",
dataIndex: "b",
key: "b",
},
{
title: "相关品牌",
dataIndex: "c",
key: "c",
},
{
title: "相关车型",
dataIndex: "d",
key: "d",
},
{
title: "开始时间",
dataIndex: "e",
key: "e",
},
{
title: "文章篇数(篇)",
dataIndex: "f",
key: "f",
},
{
title: "传播周期(天)",
dataIndex: "g",
key: "g",
},
{
title: "信息条数(条)",
dataIndex: "h",
key: "h",
},
{
title: "传播人数(人)",
dataIndex: "j",
key: "j",
},
{
title: "操作",
key: "action",
width: 120,
scopedSlots: { customRender: "action" },
},
],
tbData: [
{
a: '新车上市',
b: '2021广州车展现场更多你没见过的…',
c: '奥迪',
d: '奥迪A4',
e: '2021-05-30 20:20:24',
f: '123',
g: '123',
h: '7766',
j: '7766'
}
]
};
},
methods: {
handleSubmit() {},
},
};
</script>
<style lang="less" scoped>
.erl-outter {
width: 100%;
height: 586px;
border: 2px solid #0f2a4d;
margin-top: 16px;
.erl-inner {
width: 100%;
height: calc(100% - 48px);
padding: 16px;
}
}
/deep/ .ant-table-body{
height: 392px;
}
</style>

@ -0,0 +1,168 @@
<!--
* @Author: your name
* @Date: 2021-10-18 09:55:16
* @LastEditTime: 2021-10-18 16:26:26
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/index.vue
-->
<template>
<div class="ise-container" v-show="show">
<div class="ec-outter">
<ec-top @close="handlerClose"></ec-top>
<eventRecommendationList></eventRecommendationList>
<div align="center" class="ec-footer">
<img src="../../assets/images/EventInsight/img_sjdb_nor.png" v-if="!status"/>
<img src="../../assets/images/EventInsight/img_sjdb_sel.png" v-if="status"/>
</div>
</div>
</div>
</template>
<script>
import ecTop from "./ec-top"
import eventRecommendationList from "./eventRecommendationList"
export default {
name: "iSwitchEvent",
props: {
visible: {
type: Boolean,
default: false
}
},
watch: {
visible: {
handler(val) {
console.log(val)
this.show = val ? true : false;
},
immediate: true
}
},
components: {
ecTop,
eventRecommendationList //
},
data() {
return {
show: false,
status: 0
}
},
methods: {
handlerClose() {
this.show = false;
this.$emit("update:visible", this.show);
}
}
};
</script>
<style lang="less" scoped>
.ise-container {
width: 100%;
height: 100%;
position: fixed;
z-index: 1000;
top: 0px;
left: 0px;
background-color: rgba(0, 0, 0, 0.45);
overflow: auto;
}
.ec-outter {
position: absolute;
padding: 0px 16px 16px 16px;
width: auto;
height: auto;
left: 50%;
transform: translate(-50%, 90px);
background: #010b19;
.ec-footer {
padding: 40px 0px;
img {
width: 480px;
height: 80px;
}
}
}
.ec-d1 {
width: 100%;
height: 222px;
border: 2px solid #0f2a4d;
.ec-d1-inner {
width: 100%;
height: calc(100% - 48px);
display: flex;
justify-content: flex-start;
align-items: center;
.ec-d1-dd2 {
margin-left: 68px;
margin-right: 68px;
}
.ec-d1-dd1 {
width: 800px;
height: 120px;
background: linear-gradient(180deg, #0088c9 0%, #001c43 100%);
border-radius: 4px;
border: 2px solid #0091ff;
margin-left: 16px;
display: flex;
justify-content: flex-start;
align-items: center;
.d1 {
width: 86px;
height: 86px;
background-image: url("../../assets/images/EventInsight/img_xlq.png");
background-repeat: no-repeat;
background-size: cover;
margin-left: 14px;
text-align: center;
line-height: 86px;
font-size: 14px;
color: #97c6ec;
}
.dx1 {
width: 86px;
height: 86px;
background-image: url("../../assets/images/EventInsight/img_xlvq.png");
background-repeat: no-repeat;
background-size: cover;
margin-left: 14px;
text-align: center;
line-height: 86px;
font-size: 14px;
color: #97c6ec;
}
.d2 {
margin-left: 14px;
.d2-d1 {
font-size: 20px;
color: #fff;
font-weight: 500;
width: 515px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.d2-d2 {
display: flex;
justify-content: flex-start;
.s1 {
display: block;
font-size: 14px;
color: #7b93a5;
}
.s2 {
display: block;
color: #fff;
font-size: 14px;
}
}
}
}
}
}
</style>

@ -1,7 +1,7 @@
/*
* @Author: your name
* @Date: 2021-10-08 09:26:29
* @LastEditTime: 2021-10-18 09:23:27
* @LastEditTime: 2021-10-18 09:59:44
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/router/index.js
@ -26,6 +26,7 @@ import TailInsightDetails from "@/views/TailInsightDetails"
import WeiboDetails from "@/views/WeiboDetails"
import BrandComparison from "@/views/BrandComparison"
import EventInsight from "@/views/EventInsight"
import EventComparison from "@/views/EventComparison"
const router = [
{
path: "/",
@ -93,6 +94,12 @@ const router = [
desc: "事件洞察",
component: EventInsight
},
{
path: '/eventComparison',
name: "eventComparison",
desc: "事件对比",
component: EventComparison
},
]
},

@ -196,5 +196,10 @@
.ant-pagination-total-text {
color: #3373CC !important;
}
.ant-btn {
background-color: #010e1f !important;
border: 1px solid #1EC8FA !important;
color: #41D4FF !important;
}

@ -0,0 +1,40 @@
<!--
* @Author: your name
* @Date: 2021-10-18 14:06:09
* @LastEditTime: 2021-10-18 14:25:12
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/comparativeData/index.vue
-->
<template>
<div class="coedc-outter">
<v-label-div title="事件传播渠道对比" :showLine="false" :eStyle="{'border-style': 'none'}">
</v-label-div>
<div class="coedc-inner">
<v-echarts :opt="opt"></v-echarts>
</div>
</div>
</template>
<script>
import createOpt from "./opt"
export default {
name: "comparisonOfEventDisseminationChannels",
data() {
return {
opt: createOpt()
}
}
}
</script>
<style lang="less" scoped>
.coedc-outter {
width: 944px;
height: 412px;
.coedc-inner {
width: 100%;
height: calc(100% - 48px);
}
}
</style>

@ -0,0 +1,88 @@
/*
* @Author: your name
* @Date: 2021-10-09 11:01:19
* @LastEditTime: 2021-10-18 14:27:55
* @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: ['微信', '微博', '论坛', '新闻', 'APP', '其他']
},
yAxis: {
type: 'value',
axisLine: {
show: false,
lineStyle: {
color: "#fff",
},
},
splitLine: {
lineStyle: {
type: "dashed", // y轴分割线类型
color: "#012b4b",
},
},
},
series: [
{
name: '事件1',
type: 'bar',
stack: 'total',
barWidth: 24,
emphasis: {
focus: 'series'
},
data: [320, 302, 301, 334, 390, 600]
},
{
name: '事件2',
type: 'bar',
stack: 'total',
barWidth: 24,
emphasis: {
focus: 'series'
},
data: [120, 132, 101, 134, 90, 130]
}
]
}
}

@ -0,0 +1,311 @@
<!--
* @Author: your name
* @Date: 2021-10-18 16:03:35
* @LastEditTime: 2021-10-18 19:35:28
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/comparisonOfEventpp/index.vue
-->
<template>
<div class="coe-outter">
<v-label-div title="事件传播历程对比" :showLine="false" :eStyle="{'border-style': 'none'}">
</v-label-div>
<div class="coe-ts">
<div class="coe-ts-d1"><img src="../../../assets/images/EventInsight/img_zuo.png" /></div>
<span class="coe-ts-s1">事件一传播历程</span>
<div class="coe-ts-d2">
<div class="dd1-label">
<div class="d1">新车上市</div>
<div class="d2">状态事件发生</div>
<div class="d3">2021-06-01 11:26</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m1" style="transform:rotate(180deg);margin-top: 140px" />
<div class="dd1-fen"></div>
<div class="dt-d1" style="margin-top: 158px">
<div class="d1" style="color: #CC7733">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">今日头条</div>
<div class="d3">2021-06-01 11:26</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m1" />
<div class="dd1-fen"></div>
<div class="dt-d1">
<div class="d1" style="color: #CC7733">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">易车</div>
<div class="d3">2021-06-01 11:28</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m2" style="margin-top: 140px" />
<div class="dd1-fen"></div>
<div class="dt-d1" style="margin-top: 158px">
<div class="d1" style="color: #3373CC">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">今日头条</div>
<div class="d3">2021-06-01 11:26</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m2" style="transform:rotate(180deg);" />
<div class="dd1-fen"></div>
<div class="dt-d1">
<div class="d1" style="color: #3373CC">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">海报新闻</div>
<div class="d3">2021-06-01 11:28</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m1" style="transform:rotate(180deg); margin-top: 140px" />
<div class="dd1-fen"></div>
<div class="dt-d1" style="margin-top: 158px">
<div class="d1" style="color: #CC7733">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">今日头条</div>
<div class="d3">2021-06-01 11:26</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m2" style="transform:rotate(180deg);" />
<div class="dd1-fen"></div>
<div class="dt-d1">
<div class="d1" style="color: #3373CC">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">海报新闻</div>
<div class="d3">2021-06-01 11:28</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m1" style="transform:rotate(180deg);margin-top: 140px" />
<div class="dd1-fen"></div>
<div class="dt-d1" style="margin-top: 158px">
<div class="d1" style="color: #CC7733">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">今日头条</div>
<div class="d3">2021-06-01 11:26</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m2" style="transform:rotate(180deg);" />
<div class="dd1-fen"></div>
<div class="dt-d1">
<div class="d1" style="color: #3373CC">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">海报新闻</div>
<div class="d3">2021-06-01 11:28</div>
</div>
</div>
</div>
<div class="coe-ts-d1"><img src="../../../assets/images/EventInsight/img_xan.png" /></div>
</div>
<div class="coe-ts">
<div class="coe-ts-d1"><img src="../../../assets/images/EventInsight/img_zuo.png" /></div>
<span class="coe-ts-s1" style="color: #54BF93 ">事件二传播历程</span>
<div class="coe-ts-d2">
<div class="dd1-label">
<div class="d1x">新车上市</div>
<div class="d2">状态事件发生</div>
<div class="d3">2021-06-01 11:26</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m1" style="transform:rotate(180deg);margin-top: 140px" />
<div class="dd1-fen"></div>
<div class="dt-d1" style="margin-top: 158px">
<div class="d1" style="color: #CC7733">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">今日头条</div>
<div class="d3">2021-06-01 11:26</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m1" />
<div class="dd1-fen"></div>
<div class="dt-d1">
<div class="d1" style="color: #CC7733">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">易车</div>
<div class="d3">2021-06-01 11:28</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m2" style="margin-top: 140px" />
<div class="dd1-fen"></div>
<div class="dt-d1" style="margin-top: 158px">
<div class="d1" style="color: #3373CC">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">今日头条</div>
<div class="d3">2021-06-01 11:26</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m2" style="transform:rotate(180deg);" />
<div class="dd1-fen"></div>
<div class="dt-d1">
<div class="d1" style="color: #3373CC">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">海报新闻</div>
<div class="d3">2021-06-01 11:28</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m1" style="transform:rotate(180deg); margin-top: 140px" />
<div class="dd1-fen"></div>
<div class="dt-d1" style="margin-top: 158px">
<div class="d1" style="color: #CC7733">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">今日头条</div>
<div class="d3">2021-06-01 11:26</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m2" style="transform:rotate(180deg);" />
<div class="dd1-fen"></div>
<div class="dt-d1">
<div class="d1" style="color: #3373CC">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">海报新闻</div>
<div class="d3">2021-06-01 11:28</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m1" style="transform:rotate(180deg);margin-top: 140px" />
<div class="dd1-fen"></div>
<div class="dt-d1" style="margin-top: 158px">
<div class="d1" style="color: #CC7733">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">今日头条</div>
<div class="d3">2021-06-01 11:26</div>
</div>
</div>
<div class="dd1-item">
<img class="m1" :src="m2" style="transform:rotate(180deg);" />
<div class="dd1-fen"></div>
<div class="dt-d1">
<div class="d1" style="color: #3373CC">东莞奥迪Q5L可以试乘降价达</div>
<div class="d2">海报新闻</div>
<div class="d3">2021-06-01 11:28</div>
</div>
</div>
</div>
<div class="coe-ts-d1"><img src="../../../assets/images/EventInsight/img_xan.png" /></div>
</div>
</div>
</template>
<script>
export default {
name: "comparisonOfEventpp",
data() {
return {
m1: require("../../../assets/images/EventInsight/img_ct.png"),
m2: require("../../../assets/images/EventInsight/img_lt.png"),
};
},
};
</script>
<style lang="less" scoped>
.coe-outter {
width: 100%;
height: auto;
.coe-ts {
position: relative;
width: 100%;
padding: 0px 16px;
height: 380px;
display: flex;
justify-content: space-between;
align-items: center;
.coe-ts-s1 {
position: absolute;
color: #fff;
top: 16px;
left: 16px;
font-size: 16px;
color: #3373CC;
}
.coe-ts-d2 {
width: 1726px;
height: 400px;
display: flex;
justify-content: flex-start;
align-items: center;
position: relative;
overflow-y: auto;
.dd1-label {
.d1x {
width: 120px;
height: 120px;
background-image: url("../../../assets/images/EventInsight/img_xlvq.png");
background-repeat: no-repeat;
background-size: cover;
font-size: 14px;
color: #b0deff;
text-align: center;
line-height: 120px;
}
.d1 {
width: 120px;
height: 120px;
background-image: url("../../../assets/images/EventInsight/img_xlq.png");
background-repeat: no-repeat;
background-size: cover;
font-size: 14px;
color: #b0deff;
text-align: center;
line-height: 120px;
}
.d2 {
font-size: 16px;
color: #fff;
text-align: center;
}
.d3 {
font-size: 14px;
font-family: Bebas;
color: #616974;
text-align: center;
}
}
.dd1-fen {
position: absolute;
width: 100%;
height: 2px;
background: #004877;
left: 0px;
top: 136px;
}
.dd1-item {
position: relative;
width: 214px;
height: 320px;
display: flex;
flex-shrink: 0;
padding-left: 84px;
justify-content: flex-start;
.m1 {
height: 148px;
}
.dt-d1 {
margin-left: 18px;
.d1 {
width: 120px;
padding-top: 16px;
height: 88px;
font-size: 16px;
}
.d2 {
font-size: 14px;
color: #fff;
}
.d3 {
font-size: 13px;
font-family: Bebas;
color: #616974;
}
}
}
}
.coe-ts-d1 {
width: 32px;
height: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
img {
cursor: pointer;
}
}
}
}
</style>

@ -0,0 +1,166 @@
<!--
* @Author: your name
* @Date: 2021-10-18 10:42:29
* @LastEditTime: 2021-10-18 14:20:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/ec-d1/index.vue
-->
<template>
<div class="ec-d1">
<v-label-div title="事件对比">
<v-btn @click="goback"></v-btn>
</v-label-div>
<div class="ec-d1-inner">
<div class="ec-d1-dd1">
<div class="d1">新车上市</div>
<div class="d2">
<div class="d2-d1">宠爱 东风日产启辰重庆驾练营公益项目重庆车asdasdasdasdasd</div>
<div class="d2-d2">
<span class="s1">开始时间</span><span class="s2">2021-05-30 20:20:24</span>
<span class="s1" style="margin-left: 40px">信息总量</span><span class="s2" style="margin-left: 8px">76446</span>
</div>
</div>
<div class="ec-btn" @click="handlerSwitch">
切换事件
</div>
</div>
<div class="ec-d1-dd2">
<img src="../../../assets/images/comm/img_vs.png" />
</div>
<div class="ec-d1-dd1">
<div class="dx1">新车上市</div>
<div class="d2">
<div class="d2-d1">今日长安福特在重庆车展主场以全明星阵容开启新纪元</div>
<div class="d2-d2">
<span class="s1">开始时间</span><span class="s2">2021-05-30 20:20:24</span>
<span class="s1" style="margin-left: 40px">信息总量</span><span class="s2" style="margin-left: 8px">76446</span>
</div>
</div>
<div class="ec-btn" @click="handlerSwitch">
切换事件
</div>
</div>
</div>
<iSwitchEvent :visible.sync="se.visible"></iSwitchEvent>
</div>
</template>
<script>
import iSwitchEvent from "@/lycomponents/iSwitchEvent"
export default {
name: "ecx-top",
components: {
iSwitchEvent
},
data() {
return {
se: {
visible: false
}
}
},
methods: {
goback() {
this.$router.go(-1);
},
handlerSwitch() {
this.se.visible = true;
}
}
};
</script>
<style lang="less" scoped>
.ec-d1 {
width: 100%;
height: 222px;
border: 2px solid #0f2a4d;
.ec-d1-inner {
width: 100%;
height: calc(100% - 48px);
display: flex;
justify-content: flex-start;
align-items: center;
.ec-d1-dd2 {
margin-left: 68px;
margin-right: 68px;
}
.ec-d1-dd1 {
width: 800px;
height: 120px;
background: linear-gradient(180deg, #0088c9 0%, #001c43 100%);
border-radius: 4px;
border: 2px solid #0091ff;
margin-left: 16px;
display: flex;
justify-content: flex-start;
align-items: center;
position: relative;
.ec-btn {
position: absolute;
width: 137px;
height: 37px;
background-image: url("../../../assets/images/EventInsight/img_zbut.png");
text-align: center;
line-height: 37px;
color: #60abcb;
right: 0px;
top: 0px;
cursor: pointer;
}
.d1 {
width: 86px;
height: 86px;
background-image: url("../../../assets/images/EventInsight/img_xlq.png");
background-repeat: no-repeat;
background-size: cover;
margin-left: 14px;
text-align: center;
line-height: 86px;
font-size: 14px;
color: #97c6ec;
}
.dx1 {
width: 86px;
height: 86px;
background-image: url("../../../assets/images/EventInsight/img_xlvq.png");
background-repeat: no-repeat;
background-size: cover;
margin-left: 14px;
text-align: center;
line-height: 86px;
font-size: 14px;
color: #97c6ec;
}
.d2 {
margin-left: 14px;
.d2-d1 {
font-size: 20px;
color: #fff;
font-weight: 500;
width: 515px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.d2-d2 {
display: flex;
justify-content: flex-start;
.s1 {
display: block;
font-size: 14px;
color: #7b93a5;
}
.s2 {
display: block;
color: #fff;
font-size: 14px;
}
}
}
}
}
}
</style>

@ -0,0 +1,71 @@
<!--
* @Author: your name
* @Date: 2021-10-18 14:31:05
* @LastEditTime: 2021-10-18 15:42:26
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/etc-cc/index.vue
-->
<template>
<div class="etcc-outter">
<v-label-div title="事件调性对比" :showLine="false" :eStyle="{'border-style': 'none'}">
</v-label-div>
<div class="bd-d1">
<div class="dd1" style="margin-left: 16px"><span class="s1"></span><span class="s2">正面</span></div>
<div class="dd1" style="margin-left: 24px;"><span class="s1" :style="{background: '#54BF93'}"></span><span class="s2">中性</span></div>
<div class="dd1" style="margin-left: 24px;"><span class="s1" :style="{background: '#CC9D12'}"></span><span class="s2">负面</span></div>
</div>
<div class="etcc-inner">
<roundatacc title="事件一" color="#3373CC" style="margin-left: 46px"></roundatacc>
<roundatacc title="事件二" color="#63AECC" style="margin-left: 110px"></roundatacc>
</div>
</div>
</template>
<script>
import roundatacc from "./roundatacc";
export default {
name: "etc-cc",
components: {
roundatacc
}
}
</script>
<style lang="less" scoped>
.etcc-outter {
width: 944px;
height: 412px;
.bd-d1 {
width: 100%;
display: flex;
height: 36px;
justify-content: flex-start;
align-items: center;
.dd1 {
display: flex;
justify-content: flex-start;
align-items: center;
}
.s1 {
display: inline-block;
width: 12px;
height: 12px;
background: #3373cc;
}
.s2 {
display: inline-block;
font-size: 12px;
color: #fff;
margin-left: 10px;
}
}
.etcc-inner {
position: relative;
width: 100%;
height: calc(100% - 48px);
display: flex;
justify-content: flex-start;
}
}
</style>

@ -0,0 +1,81 @@
<!--
* @Author: your name
* @Date: 2021-10-15 13:41:17
* @LastEditTime: 2021-10-18 15:02:21
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/BrandComparison/brandTonalDistribution/roundata/index.vue
-->
<template>
<div class="bd-item-round">
<div class="bd-item-r-cav">
<v-echarts :opt="opt" @echarsUpdate="echarsFun"></v-echarts>
</div>
<span class="bd-item-r-c-s1" :style="{color: color}">{{title}}</span>
</div>
</template>
<script>
import createOpt from "./opt";
export default {
name: "roundatacc",
props: {
title: {
type: String,
default: "",
},
color: {
type: String,
default: "",
},
},
data() {
return {
opt: createOpt(),
};
},
methods: {
echarsFun(myChart) {
let index = 0;
myChart.dispatchAction({
type: "highlight",
seriesIndex: 0,
dataIndex: 0,
});
myChart.on("mouseover", function (e) {
if (e.dataIndex != index) {
myChart.dispatchAction({
type: "downplay",
seriesIndex: 0,
dataIndex: index,
});
}
});
myChart.on("mouseout", function (e) {
index = e.dataIndex;
myChart.dispatchAction({
type: "highlight",
seriesIndex: 0,
dataIndex: e.dataIndex,
});
});
},
},
};
</script>
<style lang="less" scoped>
.bd-item-round {
display: inline-block;
.bd-item-r-cav {
width: 380px;
height: 284px;
}
.bd-item-r-c-s1 {
display: block;
text-align: center;
color: #fff;
font-size: 18px;
margin-top: 10px;
}
}
</style>

@ -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'
}])} },
],
}
]
}
}

@ -0,0 +1,58 @@
<!--
* @Author: your name
* @Date: 2021-10-18 15:33:05
* @LastEditTime: 2021-10-18 15:46:39
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/eventSTM/index.vue
-->
<template>
<div class="estm-outter">
<div class="estm-item">
<v-label-div title="事件传播TOP媒体" :showLine="false" :eStyle="{'border-style': 'none'}">
<span style="font-size: 18px; color: #3373CC">事件一</span>
</v-label-div>
<div class="estm-inner">
<v-echarts :opt="opt1"></v-echarts>
</div>
</div>
<div class="estm-item">
<v-label-div title="" :showLine="false" :eStyle="{'border-style': 'none'}">
<span style="font-size: 18px; color: #3373CC">事件二</span>
</v-label-div>
<div class="estm-inner">
<v-echarts :opt="opt2"></v-echarts>
</div>
</div>
</div>
</template>
<script>
import {createSideSingleColumn} from "@/utils/gol/sideSingleColumn"
export default {
name: "estm-outter",
data() {
return {
opt1: createSideSingleColumn(['企鹅网', '懂车帝','凤凰网','汽车之家','一点资讯'], [400, 500, 600, 800, 1000], '#3373CC'),
opt2: createSideSingleColumn(['企鹅网', '懂车帝','凤凰网','汽车之家','一点资讯'], [400, 500, 600, 800, 1000], '#50b68c'),
}
}
}
</script>
<style lang="less" scoped>
.estm-outter {
width: auoto;
height: auoto;
display: flex;
justify-content: flex-start;
.estm-item {
width: 472px;
height: 412px;
.estm-inner {
width: 100%;
height: calc(100% - 48px);
}
}
}
</style>

@ -1,24 +1,80 @@
<!--
* @Author: your name
* @Date: 2021-10-18 09:55:16
* @LastEditTime: 2021-10-18 09:56:18
* @Date: 2021-10-18 13:35:07
* @LastEditTime: 2021-10-18 19:45:08
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/index.vue
-->
<template>
<div class="d-container">
<div class="ec-outter">
<ecx-top></ecx-top>
<div class="ece-d1">
<v-label-div title="对比数据">
</v-label-div>
<div class="dd1">
<comparisonOfEventDisseminationChannels></comparisonOfEventDisseminationChannels>
<etc-cc></etc-cc>
</div>
<div class="dd2">
<profileOfAssociatedAuthorsOne></profileOfAssociatedAuthorsOne>
<eventSTM></eventSTM>
</div>
<comparisonOfEventpp></comparisonOfEventpp>
<positiveAndNegativeWordCloudContrast></positiveAndNegativeWordCloudContrast>
</div>
</div>
</div>
</template>
<script>
import ecxTop from "./ecx-top";
import comparisonOfEventDisseminationChannels from "./comparisonOfEventDisseminationChannels"
import profileOfAssociatedAuthorsOne from "./profileOfAssociatedAuthorsOne"
import etcCc from "./etc-cc"
import eventSTM from "./eventSTM"
import comparisonOfEventpp from "./comparisonOfEventpp"
import positiveAndNegativeWordCloudContrast from "./positiveAndNegativeWordCloudContrast"
export default {
name: "EventComparison"
}
name: "EventComparison",
components: {
ecxTop, //
comparisonOfEventDisseminationChannels, //
etcCc, //
profileOfAssociatedAuthorsOne, //
eventSTM, // TOP
comparisonOfEventpp, //
positiveAndNegativeWordCloudContrast
},
data() {
return {
se: {
visible: false,
},
};
},
};
</script>
<style lang="less" scoped>
.ec-outter {
padding: 0px 16px 16px 16px;
.ece-d1 {
width: 100%;
height: auto;
border: 2px solid #0f2a4d;
margin-top: 16px;
.dd1 {
width: 100%;
display: flex;
justify-content: flex-start;
}
.dd2 {
width: 100%;
display: flex;
justify-content: flex-start;
}
}
}
</style>

@ -0,0 +1,71 @@
<!--
* @Author: your name
* @Date: 2021-10-18 19:37:58
* @LastEditTime: 2021-10-18 20:03:21
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/positiveAndNegativeWordCloudContrast/index.vue
-->
<template>
<div class="panwc-outter">
<div class="panwc-inner">
<div class="panwc-d1">
<v-label-div title="事件调性对比" :showLine="false" :eStyle="{'border-style': 'none'}">
<v-tab-group :btns="['正面','负面']"></v-tab-group>
</v-label-div>
<span class="p-d1-s1">事件一</span>
<div class="panwc-inner">
<v-echarts :opt="opt"></v-echarts>
</div>
</div>
<div class="panwc-d1">
<v-label-div title="" :showLine="false" :eStyle="{'border-style': 'none'}">
<v-tab-group :btns="['正面','负面']"></v-tab-group>
</v-label-div>
<span class="p-d1-s1" style="color: #54BF93">事件二</span>
<div class="panwc-inner">
<v-echarts :opt="opt"></v-echarts>
</div>
</div>
</div>
</div>
</template>
<script>
import createOpt from "./opt"
export default {
name: "positiveAndNegativeWordCloudContrast",
data() {
return {
opt: createOpt()
}
}
}
</script>
<style lang="less" scoped>
.panwc-outter {
width: 100%;
.panwc-inner {
width: 100%;
display: flex;
justify-content: flex-start;
.panwc-d1 {
width: 944px;
height: 412px;
.p-d1-s1 {
padding-left: 16px;
display: block;
font-size: 16px;
color: #3373CC;
height: 24px;
width: calc(100% - 16px);
}
.panwc-inner {
width: 100%;
height: calc(100% - 74px);
}
}
}
}
</style>

@ -0,0 +1,215 @@
/*
* @Author: your name
* @Date: 2021-10-09 13:35:13
* @LastEditTime: 2021-10-18 20:04:26
* @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: 16,
left: 16,
right: 16,
bottom: 0,
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 `<span>${value[value.length - 1]}</span><br><span>${value[0]}</span>`
}
},
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
}
]
}
}

@ -0,0 +1,132 @@
<!--
* @Author: your name
* @Date: 2021-10-18 15:05:22
* @LastEditTime: 2021-10-18 15:50:00
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/profileOfAssociatedAuthors/index.vue
-->
<template>
<div class="poao-outter">
<div class="poao-inner">
<div class="poao-d1">
<v-label-div title="关联作者概况" :showLine="false" :eStyle="{'border-style': 'none'}">
<span style="font-size: 18px; color: #3373CC">事件一</span>
</v-label-div>
<div class="poao-item" style="margin-top: 12px">
<div>
<img class="m1" src="../../../assets/images/EventInsight/img_glzz.png" />
<span class="s1">关联作者数量</span>
</div>
<span class="s2">74,073,195</span>
</div>
<div class="poao-item">
<div>
<img class="m1" src="../../../assets/images/EventInsight/img_ljgj.png" />
<span class="s1">累计稿件数量</span>
</div>
<span class="s2">74,073,1</span>
</div>
<div class="poao-item">
<div>
<img class="m1" src="../../../assets/images/EventInsight/img_glmt.png" />
<span class="s1">关联媒体数量</span>
</div>
<span class="s2">74,073</span>
</div>
<div class="poao-item">
<div>
<img class="m1" src="../../../assets/images/EventInsight/ic_cbl.png" />
<span class="s1">传播量</span>
</div>
<span class="s2">74,073,195</span>
</div>
</div>
<div class="poao-d1">
<v-label-div title="" :showLine="false" :eStyle="{'border-style': 'none'}">
<span style="font-size: 18px; color: #3373CC">事件二</span>
</v-label-div>
<div class="poao-item" style="margin-top: 12px">
<div>
<img class="m1" src="../../../assets/images/EventInsight/img_glzz.png" />
<span class="s1">关联作者数量</span>
</div>
<span class="s2">74,073,195</span>
</div>
<div class="poao-item">
<div>
<img class="m1" src="../../../assets/images/EventInsight/img_ljgj.png" />
<span class="s1">累计稿件数量</span>
</div>
<span class="s2">74,073,1</span>
</div>
<div class="poao-item">
<div>
<img class="m1" src="../../../assets/images/EventInsight/img_glmt.png" />
<span class="s1">关联媒体数量</span>
</div>
<span class="s2">74,073</span>
</div>
<div class="poao-item">
<div>
<img class="m1" src="../../../assets/images/EventInsight/ic_cbl.png" />
<span class="s1">传播量</span>
</div>
<span class="s2">74,073,195</span>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: "profileOfAssociatedAuthors",
};
</script>
<style lang="less" scoped>
.poao-outter {
width: auto;
height: auto;
.poao-inner {
display: flex;
justify-content: flex-start;
.poao-d1 {
width: 472px;
height: 412px;
.poao-item {
width: 440px;
height: 80px;
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid #022248;
border-radius: 2px;
margin-left: 16px;
margin-top: 5px;
.m1 {
display: inline-block;
width: 54px;
height: 54px;
margin-left: 12px;
}
.s1 {
display: inline-block;
font-size: 14px;
color: #fff;
margin-left: 12px;
}
.s2 {
display: inline-block;
font-size: 32px;
font-family: Bebas;
color: #ffffff;
margin-right: 16px;
}
}
}
}
}
</style>

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-10-18 09:07:18
* @LastEditTime: 2021-10-18 09:21:37
* @LastEditTime: 2021-10-18 10:01:35
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventInsight/hotEventPropagationOriented/index.vue
@ -9,7 +9,7 @@
<template>
<div class="hpo-outter">
<v-label-div title="热点事件传播导向">
<v-btn >事件对比</v-btn>
<v-btn @click="goPath"></v-btn>
</v-label-div>
<div class="hpo-inner">
<v-echarts :opt="opt"></v-echarts>
@ -26,6 +26,11 @@ export default {
return {
opt: createOpt()
}
},
methods: {
goPath() {
this.$router.push({path: '/eventComparison'})
}
}
};
</script>

Loading…
Cancel
Save