|
@@ -2,12 +2,51 @@
|
|
|
<div class="securityAlarmMap">
|
|
|
<Card title="地图模式">
|
|
|
<div class="securityAlarmMap-query">
|
|
|
- <a-select v-model="floor">
|
|
|
+ <span>楼层:</span>
|
|
|
+ <a-select v-model="floor" style="width: 150px">
|
|
|
<a-select-option value="1">1F</a-select-option>
|
|
|
- <a-select-option value="2">2F</a-select-option>
|
|
|
- <a-select-option value="3">3F</a-select-option>
|
|
|
- <a-select-option value="4">4F</a-select-option>
|
|
|
+ <a-select-option value="2">B2</a-select-option>
|
|
|
+ <a-select-option value="3">B3</a-select-option>
|
|
|
</a-select>
|
|
|
+
|
|
|
+ <div style="display: inline-block;float: right">
|
|
|
+ <span class="anticon" style="vertical-align: bottom"><IconCamera :color="'#5f95e7'" ></IconCamera></span>
|
|
|
+ <span style="display: inline-block;margin-right: 12px">在线</span>
|
|
|
+ <span class="anticon" style="vertical-align: bottom"><IconCamera :color="'#a2a4a2'" ></IconCamera></span>
|
|
|
+ <span style="display: inline-block;margin-right: 12px">离线</span>
|
|
|
+ <span class="anticon" style="vertical-align: bottom"><IconCamera :color="'#bd3124'" ></IconCamera></span>
|
|
|
+ <span style="display: inline-block;margin-right: 12px">告警</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="securityAlarmMap-alert">
|
|
|
+ <a-alert type="warning" show-icon>
|
|
|
+ <template #message>
|
|
|
+ 有<span style="color: red;font-weight: bold;display: inline-block;padding: 0 3px">2</span>条告警事件待处理
|
|
|
+ </template>
|
|
|
+ </a-alert>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="securityAlarmMap-info">
|
|
|
+ <span class="securityAlarmMap-info-item">
|
|
|
+ 当前在线摄像头
|
|
|
+ <span class="securityAlarmMap-info-item-num" style="color: #2f8cc8">16</span>
|
|
|
+ 台
|
|
|
+ </span>
|
|
|
+ <span class="securityAlarmMap-info-item">
|
|
|
+ 当前离线摄像头
|
|
|
+ <span class="securityAlarmMap-info-item-num" style="color: #4D4D4D">16</span>
|
|
|
+ 台
|
|
|
+ </span>
|
|
|
+ <span class="securityAlarmMap-info-item">
|
|
|
+ 当前告警摄像头
|
|
|
+ <span class="securityAlarmMap-info-item-num" style="color: #F1934E">16</span>
|
|
|
+ 台
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="securityAlarmMap-map">
|
|
|
+ <ImageMap ></ImageMap>
|
|
|
</div>
|
|
|
</Card>
|
|
|
</div>
|
|
@@ -15,20 +54,23 @@
|
|
|
|
|
|
<script>
|
|
|
import Card from "@/components/common/card.vue";
|
|
|
+import IconCamera from "@/assets/svg/IconCamera.vue";
|
|
|
+import ImageMap from "@/components/security/alarm/map/imageMap.vue";
|
|
|
+
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- floor: 0,
|
|
|
+ floor: '1',
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
- Card
|
|
|
+ Card,
|
|
|
+ IconCamera,
|
|
|
+ ImageMap,
|
|
|
},
|
|
|
mounted() {
|
|
|
},
|
|
|
- methods: {
|
|
|
-
|
|
|
- }
|
|
|
+ methods: {}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
@@ -36,5 +78,35 @@ export default {
|
|
|
.securityAlarmMap {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
+ padding: 0px 15px;
|
|
|
+
|
|
|
+ .securityAlarmMap-query {
|
|
|
+ margin-top: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .securityAlarmMap-alert {
|
|
|
+ margin-top: 15px;
|
|
|
+ height: 60px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .securityAlarmMap-info {
|
|
|
+ width: 100%;
|
|
|
+ border: 1px solid #f0f2f5;
|
|
|
+ padding: 5px 0;
|
|
|
+ .securityAlarmMap-info-item {
|
|
|
+ display: inline-block;
|
|
|
+ margin: 0 5%;
|
|
|
+ font-size: 15px;
|
|
|
+ .securityAlarmMap-info-item-num {
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .securityAlarmMap-map {
|
|
|
+ width: 100%;
|
|
|
+ padding: 2% 5%;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|