网络管理优化

main
项洋 2 weeks ago
parent cd3270fe1b
commit 3197ef6ae8

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -160,10 +160,10 @@
<!-- 表格区域 -->
<div class="firewall-table">
<div class="table-header">
<div class="header-cell" style="width: 220px">时间</div>
<div class="header-cell" style="width: 120px">部门</div>
<div class="header-cell" style="width: 330px">时间</div>
<div class="header-cell" style="width: 150px">部门</div>
<div class="header-cell" style="width: 170px">地址</div>
<div class="header-cell">事件</div>
<div class="header-cell" style="flex: 1">事件</div>
</div>
<vue-seamless-scroll
:data="firewallData"
@ -177,14 +177,14 @@
:key="index"
:class="{ 'odd-row': index % 2 === 0 }"
>
<div class="cell" style="width: 220px">{{ item.time }}</div>
<div class="cell" style="width: 120px">
<div class="cell" style="width: 330px">{{ item.time }}</div>
<div class="cell" style="width: 150px">
{{ item.department }}
</div>
<div class="cell" style="width: 170px">
{{ item.address }}
</div>
<div class="cell violation-text">{{ item.event }}</div>
<div class="cell violation-text" style="flex:1">{{ item.event }}</div>
</div>
</div>
</vue-seamless-scroll>
@ -1853,14 +1853,25 @@ export default {
background: url("~@/assets/sentimeent/背景表格.png") no-repeat
center;
background-size: 100% 100%;
height: 60px;
text-align: center;
vertical-align: center;
.header-cell {
padding: 12px;
color: #ffffff;
font-size: 18px;
font-weight: normal;
flex: 1;
text-align: center;
padding: 10px;
font-family: AlibabaPuHuiTiM;
font-size: 28px;
color: #e4f0ff;
line-height: 22px;
text-align: justifyLeft;
display: flex;
justify-content: center;
align-items: center;
// color: #ffffff;
// font-size: 28px;
// font-weight: normal;
// flex: 1;
// text-align: center;
}
}
@ -1887,14 +1898,15 @@ export default {
}
.cell {
padding: 10px;
font-family: AlibabaPuHuiTiR;
font-size: 26px;
color: #b9ccdf;
// color: #b9ccdf;
line-height: 60px;
text-align: justifyLeft;
color: #9bb8d5;
font-size: 16px;
flex: 1;
// font-size: 16px;
// flex: 1;
text-align: center;
}

@ -38,10 +38,8 @@
<span style="margin-left: -25px">反馈举报人</span>
</div>
</div>
<!-- <div id="processRotate"></div> -->
<!-- <div class="processCenter">
</div> -->
<div id="processRotate"></div>
<div class="processCenter"></div>
</div>
</div>
<div class="section">
@ -663,8 +661,8 @@ export default {
radius: ["45%", "60%"],
labelLine: {
show: false,
length: 30,
fontSize: 14,
length: 60,
fontSize: 26,
},
label: {
show: false,
@ -672,6 +670,7 @@ export default {
formatter: "{b}{c} ",
borderWidth: 1,
borderRadius: 4,
fontSize: 28,
rich: {
a: {
color: "#6E7079",
@ -686,8 +685,9 @@ export default {
},
b: {
color: "#4C5058",
fontSize: 14,
fontWeight: "bold",
fontStyle: {
fontSize: 32,
},
lineHeight: 33,
},
per: {
@ -696,6 +696,11 @@ export default {
padding: [3, 4],
borderRadius: 4,
},
c: {
fontStyle: {
fontSize: 32,
},
},
},
},
data: this.pieData,
@ -703,12 +708,16 @@ export default {
labelLine: {
show: true,
length: 30,
fontWeight: "bold",
lineStyle: {
width: 2,
},
},
label: {
show: true,
position: "outside",
formatter: "{b}{c} ",
fontSize: 32,
fontWeight: "bold",
borderWidth: 1,
borderRadius: 4,
rich: {
@ -725,7 +734,7 @@ export default {
},
b: {
color: "#4C5058",
fontSize: 14,
fontSize: 26,
fontWeight: "bold",
lineHeight: 33,
},
@ -752,8 +761,8 @@ export default {
style: {
width: 60,
height: 60,
x: -5,
y: -5,
x: 15,
y: 15,
image: require("@/assets/sentimeent/警告.png"),
},
},
@ -761,8 +770,8 @@ export default {
type: "image",
z: 99,
style: {
width: 100,
height: 100,
width: 140,
height: 140,
x: -25,
y: -25,
image: require("@/assets/sentimeent/椭圆.png"),
@ -776,111 +785,6 @@ export default {
echartsJump(myChart, optionSecond);
},
//
generateLegendItems() {
//
const colorMap = ["#37a4ff", "#00ffde", "#ff7e2b", "#fbe84f"];
//
const total = this.pieData.reduce((sum, item) => sum + item.value, 0);
//
return this.pieData.map((item, index) => {
//
const percent = ((item.value / total) * 100).toFixed(1);
// (190px)
const left = index * 180;
//
const legendItem = {
type: "group",
left: left,
top: "85%",
children: [
{
//
type: "rect",
z: 91,
shape: {
x: 2,
y: 2,
width: 166,
height: 61,
r: 0,
},
style: {
backgroundImage: `url(${require("@/assets/sentimeent/" +
(item.name === "小程序" ? "其他" : item.name) +
".png")})`,
backgroundSize: "100% 100%",
// stroke: 'transparent'
},
},
{
//
type: "text",
z: 95,
left: 40,
top: 10,
style: {
text: percent + "%",
fill: colorMap[index],
fontSize: 24,
fontWeight: "bold",
fontFamily: "Arial",
},
},
{
//
type: "text",
z: 95,
left: 85,
top: 35,
style: {
text: item.name,
fill: "#ffffff",
fontSize: 16,
fontFamily: "Microsoft YaHei",
},
},
],
};
// ""
if (item.name === "无效" && this.showNotifications) {
legendItem.children.push(
{
type: "circle",
z: 100,
shape: {
cx: 160,
cy: -25,
r: 20,
},
style: {
fill: "#ff3131",
},
},
{
type: "text",
z: 101,
left: 141,
top: -33,
style: {
text: "3.44%",
fill: "#ffffff",
fontSize: 12,
fontWeight: "bold",
fontFamily: "Arial",
},
}
);
}
return legendItem;
});
},
// +
reportingProcessTimer() {
let index = 0;
@ -1274,7 +1178,9 @@ export default {
height: calc(100% - 76px);
background: url("~@/assets/sentimeent/举报流程环形图.png") no-repeat
center,
url("~@/assets/sentimeent/举报流程(环形中间).png") no-repeat center;
url("~@/assets/sentimeent/举报流程(环型).png") no-repeat center,
url("~@/assets/sentimeent/举报流程(中间).png") no-repeat center;
// background-size: 430px 410px, 215px 210px;
.processTitle {
width: 90px;
@ -1292,6 +1198,7 @@ export default {
#feffff 0%,
rgba(111, 226, 251, 1) 100%
);
background: url("~@/assets/sentimeent/举报流程(环型).png") no-repeat center;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
@ -1315,18 +1222,7 @@ export default {
text-transform: none;
}
}
}
#processRotate {
top: 86px;
left: 213px;
position: absolute;
height: 259px;
width: 259px;
background: url("~@/assets/ecosphere/高亮箭头.png") no-repeat;
transform-origin: center;
transition: transform 0.5s ease-in 0s;
}
@keyframes rotate {
}@keyframes rotate {
0% {
transform: rotateZ(0deg);
transform-origin: center;
@ -1380,16 +1276,27 @@ export default {
transform-origin: center;
}
}
.processCenter {
#processRotate {
top: 180px;
left: 350px;
position: absolute;
top: 30%;
left: 39%;
width: 180px;
height: 180px;
background: url("~@/assets/sentimeent/举报流程(环形中间).png")
no-repeat center;
background-size: 100% 100%;
height: 240px;
width: 140px;
background: url("~@/assets/sentimeent/举报流程(旋转高亮).png") no-repeat;
transform-origin: center;
transition: transform 0.5s ease-in 0s;
}
// .processCenter {
// position: absolute;
// top: 30%;
// left: 39%;
// width: 240px;
// height: 240px;
// background: url("~@/assets/sentimeent/().png")
// no-repeat center;
// background-size: 100% 100%;
// }
}
}

Loading…
Cancel
Save