提交 fd9c110a authored 作者: 闫鹏's avatar 闫鹏

合并分支 'yp-dev' 到 'master'

Yp dev 查看合并请求 !161
...@@ -1084,7 +1084,8 @@ const processRankingData = rawData => { ...@@ -1084,7 +1084,8 @@ const processRankingData = rawData => {
// 新增字段 // 新增字段
domains: item.domainList ? item.domainList.map(d => d.name) : [], domains: item.domainList ? item.domainList.map(d => d.name) : [],
date: formattedDate, date: formattedDate,
member: item.keyMember || "-" member: item.keyMember || "-",
province: item.province || ""
}; };
}); });
}; };
......
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
<div class="warning"> <div class="warning">
<div class="warning-title"> <div class="warning-title">
<img src="./assets/warning.png" alt /> <img src="./assets/warning.png" alt />
<span>新增排华联盟预警1</span> <span>新增排华联盟预警</span>
</div> </div>
<div class="warning-content"> <div class="warning-content">
<div class="content-item" v-for="(item, index) in warningList" :key="index"> <div class="content-item" v-for="(item, index) in warningList" :key="index">
......
...@@ -469,43 +469,45 @@ const handleIndicatorChange = indicator => { ...@@ -469,43 +469,45 @@ const handleIndicatorChange = indicator => {
{ {
name: "中国", name: "中国",
type: "line", type: "line",
symbolSize: 10, symbolSize: 8,
smooth: true,
itemStyle: { itemStyle: {
color: "#CE4F51" color: "#CE4F51"
}, },
areaStyle: { // areaStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ // {
offset: 0, // offset: 0,
color: "rgb(206, 79, 81, .8)" // color: "rgb(206, 79, 81, .8)"
}, // },
{ // {
offset: 1, // offset: 1,
color: "rgb(206, 79, 81, .3)" // color: "rgb(206, 79, 81, .3)"
} // }
]) // ])
}, // },
data: chinaValues data: chinaValues
}, },
{ {
name: "美国", name: "美国",
type: "line", type: "line",
symbolSize: 10, smooth: true,
symbolSize: 8,
itemStyle: { itemStyle: {
color: "#055FC2" color: "#055FC2"
}, },
areaStyle: { // areaStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ // {
offset: 0, // offset: 0,
color: "rgb(5, 95, 194,.8)" // color: "rgb(5, 95, 194,.8)"
}, // },
{ // {
offset: 1, // offset: 1,
color: "rgb(5, 95, 194, .3)" // color: "rgb(5, 95, 194, .3)"
} // }
]) // ])
}, // },
data: usaValues data: usaValues
} }
]; ];
...@@ -540,22 +542,25 @@ const lineOption = ref({ ...@@ -540,22 +542,25 @@ const lineOption = ref({
xAxis: { xAxis: {
type: "category", type: "category",
boundaryGap: false, boundaryGap: false,
minInterval: 1,
scale: true,
axisLine: { axisLine: {
lineStyle: { lineStyle: {
color: "#ccc", color: "#e0e0e0",
width: 1 width: 1
} }
}, },
axisTick: { axisTick: {
show: true, show: false,
lineStyle: { lineStyle: {
color: "#ccc" color: "#ccc"
} }
}, },
axisLabel: { axisLabel: {
color: "#ccc", color: "#666",
fontSize: 16, fontSize: 13,
fontWeight: 400 fontWeight: 500,
margin: 12
}, },
data: ["2021", "2022", "2023", "2024", "2025"] data: ["2021", "2022", "2023", "2024", "2025"]
}, },
...@@ -571,9 +576,9 @@ const lineOption = ref({ ...@@ -571,9 +576,9 @@ const lineOption = ref({
padding: [0, 0, 10, 0] padding: [0, 0, 10, 0]
}, },
axisLine: { axisLine: {
show: false, show: true,
lineStyle: { lineStyle: {
color: "#ccc", color: "#e0e0e0",
width: 1 width: 1
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论