Commit d50bb857 authored by yaqizhang's avatar yaqizhang

样式优化

parent 1750ae4d
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<!-- 任务完成率 --> <!-- 任务完成率 -->
<div> <div>
<div class="item1" style="margin-top: 30px;"> <div class="item1" style="margin-top: 25px;">
<span class="dot"> <span class="dot">
<span class="dot-inner"></span> <span class="dot-inner"></span>
</span> </span>
...@@ -201,6 +201,10 @@ ...@@ -201,6 +201,10 @@
color: "#00ffff" color: "#00ffff"
} }
}, },
grid: {
bottom: "7%",
containLabel: true,
},
tooltip: { tooltip: {
trigger: 'item', trigger: 'item',
}, },
...@@ -243,7 +247,7 @@ ...@@ -243,7 +247,7 @@
padding: [0, -55], padding: [0, -55],
rich: { rich: {
a_set: { a_set: {
color: "#fff", color: "#cddbe4",
lineHeight: 20, lineHeight: 20,
align: "center", align: "center",
padding: [55, -40, -15, -40], padding: [55, -40, -15, -40],
...@@ -378,7 +382,6 @@ ...@@ -378,7 +382,6 @@
height: 30px; height: 30px;
font-size: 18px; font-size: 18px;
line-height: 30px; line-height: 30px;
color: #ffffff;
padding-left: 10px; padding-left: 10px;
font-weight: 700; font-weight: 700;
font-style: italic; font-style: italic;
......
<template> <template>
<div style="height: 100%"> <div style="height: 100%">
<!-- 警信息 --> <!-- 警信息 -->
<div> <div>
<div class="item1"> <div class="item1">
<span class="dot"> <span class="dot">
...@@ -168,21 +168,21 @@ ...@@ -168,21 +168,21 @@
<div class="usernum"> <div class="usernum">
<div class="usernumin in1"> <div class="usernumin in1">
<span></span> <span></span>
<span style="color: #fff">在线数量 </span> <span style="color: #cddbe4">在线数量 </span>
<span style="font-family: 'arialbd'; letter-spacing: 2px"> <span style="font-family: 'arialbd'; letter-spacing: 2px">
: {{ diviceNum.changNum }}</span : {{ diviceNum.changNum }}</span
> >
</div> </div>
<div class="usernumin in2"> <div class="usernumin in2">
<span></span> <span></span>
<span style="color: #fff">离线数量 </span> <span style="color: #cddbe4">离线数量 </span>
<span style="font-family: 'arialbd'; letter-spacing: 2px"> <span style="font-family: 'arialbd'; letter-spacing: 2px">
: {{ diviceNum.liNum }}</span : {{ diviceNum.liNum }}</span
> >
</div> </div>
<div class="usernumin in3"> <div class="usernumin in3">
<span></span> <span></span>
<span style="color: #fff">报警数量 </span> <span style="color: #cddbe4">报警数量 </span>
<span style="font-family: 'arialbd'; letter-spacing: 2px"> <span style="font-family: 'arialbd'; letter-spacing: 2px">
: {{ diviceNum.baoNum }}</span : {{ diviceNum.baoNum }}</span
> >
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
<!-- 资源统计 --> <!-- 资源统计 -->
<div> <div>
<div class="item1" style="margin-top: 10px"> <div class="item1" style="margin-top: 15px">
<span class="dot"> <span class="dot">
<span class="dot-inner"></span> <span class="dot-inner"></span>
</span> </span>
...@@ -281,7 +281,7 @@ export default { ...@@ -281,7 +281,7 @@ export default {
changeTimer: false, changeTimer: false,
repeatFinshed: false, repeatFinshed: false,
tableHeight: 230, tableHeight: 215,
tableData: [], tableData: [],
scrollHeight: 0, scrollHeight: 0,
}; };
...@@ -394,8 +394,8 @@ export default { ...@@ -394,8 +394,8 @@ export default {
grid: { grid: {
top: "8%", top: "8%",
left: "8%", left: "8%",
right: "8%", right: "4%",
bottom: "13%", bottom: "7%",
containLabel: true, containLabel: true,
}, },
xAxis: { xAxis: {
...@@ -663,7 +663,6 @@ export default { ...@@ -663,7 +663,6 @@ export default {
height: 30px; height: 30px;
font-size: 18px; font-size: 18px;
line-height: 30px; line-height: 30px;
color: #ffffff;
padding-left: 10px; padding-left: 10px;
font-weight: 700; font-weight: 700;
font-style: italic; font-style: italic;
...@@ -732,14 +731,14 @@ export default { ...@@ -732,14 +731,14 @@ export default {
height: 100%; height: 100%;
text-align: center; text-align: center;
float: left; float: left;
color: #e8f2ff; color: #cddbe4;
} }
.outusertwo { .outusertwo {
width: 50%; width: 50%;
height: 100%; height: 100%;
text-align: center; text-align: center;
float: right; float: right;
color: #e8f2ff; color: #cddbe4;
} }
.outuserspan { .outuserspan {
font-family: "arialbd"; font-family: "arialbd";
...@@ -775,7 +774,7 @@ export default { ...@@ -775,7 +774,7 @@ export default {
margin-top: -138px; margin-top: -138px;
margin-left: 172px; margin-left: 172px;
font-size: 15px; font-size: 15px;
color: #fff; color: #cddbe4;
text-align: center; text-align: center;
line-height: 25px; line-height: 25px;
padding: 28px 0px 0px 0px; padding: 28px 0px 0px 0px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment