|
@@ -29,7 +29,7 @@
|
|
|
<div class="line_blue">
|
|
|
<div class="blue_dot"></div>
|
|
|
</div>
|
|
|
- <div class="monit_title">在线</div>
|
|
|
+ <div class="monit_title">空闲车位</div>
|
|
|
<span class="monit_num">{{ leftData.Online }}</span>
|
|
|
</div>
|
|
|
<div class="camera">
|
|
@@ -47,7 +47,7 @@
|
|
|
<stop offset="100%" stop-color="rgb(4, 223, 247)" />
|
|
|
</linearGradient>
|
|
|
</defs>
|
|
|
- <use xlink:href="#icon-camera" fill="url('#myGradientil')" />
|
|
|
+ <use xlink:href="#icon-parkingSpot" fill="url('#myGradientil')" />
|
|
|
</svg>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -55,8 +55,8 @@
|
|
|
<div class="line_green">
|
|
|
<div class="green_dot"></div>
|
|
|
</div>
|
|
|
- <div class="monit_title">离线</div>
|
|
|
- <span class="monit_num">{{ leftData.Offline }}</span>
|
|
|
+ <div class="monit_title">已占车位</div>
|
|
|
+ <span class="monit_num1">{{ leftData.Offline }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</dv-border-box-1>
|
|
@@ -69,7 +69,7 @@
|
|
|
</div>
|
|
|
</div> -->
|
|
|
<div class="flex_spection">
|
|
|
- <HeadlineTag type="right" value="设备排名"></HeadlineTag>
|
|
|
+ <HeadlineTag type="right" value="设备出入统计排名(Top5)"></HeadlineTag>
|
|
|
<div class="box_arch">
|
|
|
<div ref="chartRouting" style="width: 100%;height: 100%;"></div>
|
|
|
</div>
|
|
@@ -137,7 +137,13 @@ const initChart = () => {
|
|
|
},
|
|
|
formatter: function (res) {
|
|
|
return `${res.name} : ${res.data}万人`;
|
|
|
- }
|
|
|
+ },
|
|
|
+ textStyle: {
|
|
|
+ color: '#fafafa',
|
|
|
+ },
|
|
|
+ borderColor: 'transparent',
|
|
|
+ backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
|
+ extraCssText: 'backdrop-filter: blur(6px);',
|
|
|
},
|
|
|
legend: {
|
|
|
selectedMode: false,
|
|
@@ -270,13 +276,17 @@ function getAccessData() {
|
|
|
|
|
|
watch(() => leftData.value, (newVal) => {
|
|
|
if (chartInstance) {
|
|
|
+ let result = newVal.DeviceRanking.map(person => person.DeviceName)
|
|
|
+ var firstFive = result.slice(0, 5)
|
|
|
+ let result1 = newVal.DeviceRanking.map(person => person.Value)
|
|
|
+ var firstFive1 = result1.slice(0, 5)
|
|
|
chartInstance.setOption({
|
|
|
yAxis: [{
|
|
|
- data: newVal.DeviceRanking.map(person => person.DeviceName),
|
|
|
+ data: firstFive,
|
|
|
}],
|
|
|
series: [{
|
|
|
name: '标准化',
|
|
|
- data: newVal.DeviceRanking.map(person => person.Value),
|
|
|
+ data: firstFive1,
|
|
|
}],
|
|
|
})
|
|
|
}
|
|
@@ -420,7 +430,7 @@ window.addEventListener('resize', () => {
|
|
|
position: relative;
|
|
|
height: 5px;
|
|
|
width: 70%;
|
|
|
- background-color: rgba(5, 125, 230, .5);
|
|
|
+ background-color: rgba(12, 208, 67, .5);
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
@@ -430,16 +440,16 @@ window.addEventListener('resize', () => {
|
|
|
top: 0;
|
|
|
bottom: 0;
|
|
|
width: 20px;
|
|
|
- border-left: 5px solid #000;
|
|
|
- border-right: 5px solid #000;
|
|
|
- background-color: rgba(5, 125, 230, 1);
|
|
|
+ border-left: 5px solid rgb(5, 26, 52);
|
|
|
+ border-right: 5px solid rgb(5, 26, 52);
|
|
|
+ background-color: rgba(12, 208, 67, 1);
|
|
|
}
|
|
|
|
|
|
.line_green {
|
|
|
position: relative;
|
|
|
height: 5px;
|
|
|
width: 70%;
|
|
|
- background-color: rgba(5, 227, 227, .5);
|
|
|
+ background-color: rgba(254, 33, 44, .5);
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
@@ -449,9 +459,9 @@ window.addEventListener('resize', () => {
|
|
|
top: 0;
|
|
|
bottom: 0;
|
|
|
width: 20px;
|
|
|
- border-left: 5px solid #000;
|
|
|
- border-right: 5px solid #000;
|
|
|
- background-color: rgba(5, 227, 227, 1);
|
|
|
+ border-left: 5px solid rgb(5, 26, 52);
|
|
|
+ border-right: 5px solid rgb(5, 26, 52);
|
|
|
+ background-color: rgba(254, 33, 44, 1);
|
|
|
}
|
|
|
|
|
|
.img_camera {
|
|
@@ -462,7 +472,7 @@ window.addEventListener('resize', () => {
|
|
|
left: calc(50% - 60px);
|
|
|
border-radius: 50%;
|
|
|
border: 1px solid rgb(15, 39, 66);
|
|
|
- box-shadow: inset 0px 0px 20px 2px rgb(78, 207, 220);
|
|
|
+ box-shadow: inset 0px 0px 20px 2px rgb(42, 147, 223);
|
|
|
}
|
|
|
|
|
|
.camera_box_icon {
|
|
@@ -566,6 +576,13 @@ window.addEventListener('resize', () => {
|
|
|
|
|
|
.monit_num {
|
|
|
font-size: 30px;
|
|
|
+ color: rgba(12, 208, 67, 1);
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.monit_num1 {
|
|
|
+ font-size: 30px;
|
|
|
+ color: rgba(254, 33, 44, 1);
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
</style>
|