This commit is contained in:
unknown 2023-12-25 09:23:43 +08:00
parent a59daff9d7
commit c531261889
28 changed files with 54975 additions and 129 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@
<div class="containter">
<div class="left">
<div class="ndqyyh">
<p class="title">省综代理用户情况</p>
<p class="title">代理用户情况</p>
<div class="bg_title">
<p class="tit_first">2,356<span class="tit_danwei"></span></p>
<div class="tit_second">
@ -27,7 +27,7 @@
<div id="qyyh"></div>
</div>
<div class="ndsdl">
<p class="title">年度售电量</p>
<p class="title">申报响应量情况</p>
<div class="bg_title">
<p class="tit_first">520<span class="tit_danwei">万KW</span></p>
<div class="tit_second">
@ -465,7 +465,7 @@ export default {
grid: {
top: "15%",
right: "5%",
left: "8%",
left: "12%",
bottom: "13%",
},
xAxis: [
@ -481,11 +481,12 @@ export default {
},
formatter: "",
},
// splitLine: {
// lineStyle: {
// color: 'rgba(255,255,255,0.12)'
// }
// }
splitLine: {
show:false,
lineStyle: {
color: "rgba(255,255,255,0.12)",
},
},
},
],
yAxis: [
@ -508,6 +509,12 @@ export default {
axisTick: {
show: false,
},
splitLine: {
show:true,
lineStyle: {
color: "rgba(255,255,255,0.12)",
},
},
},
],
series: [
@ -545,7 +552,7 @@ export default {
show: true,
lineHeight: 10,
formatter: "{c}",
position: "top",
position: "right",
textStyle: {
color: "#fff",
fontSize: "0.0625rem",
@ -587,7 +594,7 @@ export default {
show: true,
lineHeight: 10,
formatter: "{c}",
position: "top",
position: "right",
textStyle: {
color: "#fff",
fontSize: "0.0625rem",
@ -599,8 +606,8 @@ export default {
legend: {
x: "right",
right: 50,
itemWidth:16,
itemHeight:4,
itemWidth: 16,
itemHeight: 4,
data: [
{
icon: "roundRect",
@ -623,10 +630,10 @@ export default {
// trigger: "axis",
// },
grid: {
left: "5%",
left: "10%",
right: "5%",
bottom: "20%",
top:"22%"
top: "22%",
// containLabel: true
},
// toolbox: {
@ -639,18 +646,18 @@ export default {
// boundaryGap: false,
data: ["2019", "2020", "2021"],
axisLine: {
lineStyle: {
color: "#FFFFFF",
},
},
axisTick: {
show: false,
lineStyle: {
color: "#FFFFFF",
},
},
axisTick: {
show: false,
},
axisLabel: {
textStyle: {
fontSize: "0.0729rem",
},
fontSize: "0.0729rem",
},
fontSize: "0.0729rem",
color: "#fff",
margin: 15,
},
@ -682,22 +689,22 @@ export default {
},
},
legend: {
itemWidth:16,
itemHeight:4,
itemWidth: 16,
itemHeight: 4,
data: [
{
icon:"rect",
icon: "rect",
name: "削锋",
},
{
icon:"rect",
icon: "rect",
name: "填谷",
},
],
x: "right",
y: "top",
right:100,
top:0,
right: 100,
top: 0,
textStyle: {
color: "#fff",
fontSize: "0.0625rem",
@ -837,25 +844,25 @@ export default {
bottom: "20%", //
},
title: {
text: "{percents|" + "85.2%" + "}\n{val|" +"工业" + "}",
text: "{percents|" + "85.2%" + "}\n{val|" + "工业" + "}",
left: "16%",
top: "40%",
textStyle: {
color: "#fff",
rich:{
percents:{
rich: {
percents: {
fontSize: "0.0729rem",
align:"center",
fontWeight:700,
lineHeight:28,
color:"#fff",
align: "center",
fontWeight: 700,
lineHeight: 28,
color: "#fff",
},
val:{
fontSize:"0.0625rem",
align:"center",
color:"#fff",
}
}
val: {
fontSize: "0.0625rem",
align: "center",
color: "#fff",
},
},
},
},
legend: {
@ -872,7 +879,7 @@ export default {
console.log(item);
percent = ((item.value / total) * 100).toFixed(2);
if (name !== "") {
return `{name|${name}}` + "\t" + "\t" + `{num|${percent}}{num|%}`;
return `{name|${name}}` + "\t" + "\t" + `{num|${percent}}\t\t{name|%}`;
// return `{name|${name}` + `{num|${percent}}{name|kWh}`;
} else {
return "";
@ -888,7 +895,7 @@ export default {
icon: "rect",
},
],
right: 20,
left: 180,
top: 60,
orient: "vertical",
align: "left",
@ -958,25 +965,25 @@ export default {
bottom: "20%", //
},
title: {
text: "{percents|" + "85.2%" + "}\n{val|" +"削锋" + "}",
text: "{percents|" + "85.2%" + "}\n{val|" + "削锋" + "}",
left: "16%",
top: "40%",
textStyle: {
color: "#fff",
rich:{
percents:{
rich: {
percents: {
fontSize: "0.0729rem",
align:"center",
fontWeight:700,
lineHeight:28,
color:"#fff",
align: "center",
fontWeight: 700,
lineHeight: 28,
color: "#fff",
},
val:{
fontSize:"0.0625rem",
align:"center",
color:"#fff",
}
}
val: {
fontSize: "0.0625rem",
align: "center",
color: "#fff",
},
},
},
},
legend: {
@ -993,7 +1000,7 @@ export default {
console.log(item);
percent = ((item.value / total) * 100).toFixed(2);
if (name !== "") {
return `{name|${name}}` + "\t" + "\t" + `{num|${percent}}{num|%}`;
return `{name|${name}}` + "\t" + "\t" + `{num|${percent}}\t\t{name|%}`;
// return `{name|${name}` + `{num|${percent}}{name|kWh}`;
} else {
return "";
@ -1009,7 +1016,7 @@ export default {
icon: "rect",
},
],
right: 20,
left: 180,
top: 60,
orient: "vertical",
align: "left",
@ -1311,57 +1318,6 @@ export default {
window.addEventListener("resize", function () {
myChart.resize();
});
// var selectedPro = param.name;
// if (!cityProper[selectedPro]) {
// option.series.splice(1);
// option.legend = null;
// option.visualMap = null;
// myChart.setOption(option, true);
// return;
// }
//
// $.get(cityProper[selectedPro], function (geojson) {
// echarts.registerMap(selectedPro, geojson);
// //series[0][1],lefttop
// option.series[0] = {
// name: "",
// type: "map",
// map: selectedPro,
// boxDepth: 80, //
// regionHeight: 5, //
// itemStyle: {
// normal: {
// label: {
// show: true,
// },
// },
// emphasis: {
// label: {
// show: true,
// },
// },
// },
// groundplane: {
// show: false,
// },
// data: data,
// shading: "realistic",
// // shading: 'realistic'
// realisticMaterial: {
// detailTexture: "#fff", //
// textureTiling: 1, // 1
// roughness: 0, // 01
// metalness: 0, // 0 1
// roughnessAdjust: 0,
// },
// viewControl: {
// distance: 30, //
// rotateSensitivity: 1, //
// zoomSensitivity: 1, //
// },
// };
// myChart.setOption(option);
// });
}
}
registerMap();
@ -1413,20 +1369,19 @@ export default {
background-size: cover;
text-align: center;
p {
width: 627px;
height: 47px;
font-size: 44px;
font-family: " Alibaba PuHuiTi" 2, " Alibaba PuHuiTi" 20;
font-weight: 600;
text-align: center;
line-height: 47px;
letter-spacing: 3px;
color: #fff;
margin-left: 490px;
// margin-left: -50px;
width: 627px;
height: 47px;
font-size: 44px;
font-family: " Alibaba PuHuiTi" 2, " Alibaba PuHuiTi" 20;
font-weight: 600;
text-align: center;
line-height: 47px;
letter-spacing: 3px;
color: #fff;
margin-left: 490px;
// margin-left: -50px;
}
}
}
img:nth-of-type(1) {
width: 231px;
@ -2053,13 +2008,13 @@ export default {
}
#map {
width: 994px;
position: absolute;
height: 627px;
background: url(../assets/客户侧总体用能情况分析/背景.png);
background-size: cover;
left: 50%;
transform: translateX(-50%);
overflow: hidden;
position: absolute;
height: 627px;
background: url(../assets/客户侧总体用能情况分析/背景.png);
background-size: cover;
left: 50%;
transform: translateX(-50%);
overflow: hidden;
}
}
</style>