diff --git a/src/views/pages/area/components/EarlyWarning.vue b/src/views/pages/area/components/EarlyWarning.vue new file mode 100644 index 0000000..6fe0b7a --- /dev/null +++ b/src/views/pages/area/components/EarlyWarning.vue @@ -0,0 +1,429 @@ + + + + + \ No newline at end of file diff --git a/src/views/pages/area/components/SiteListMore.vue b/src/views/pages/area/components/SiteListMore.vue new file mode 100644 index 0000000..7f8c0e0 --- /dev/null +++ b/src/views/pages/area/components/SiteListMore.vue @@ -0,0 +1,435 @@ + + + + \ No newline at end of file diff --git a/src/views/pages/area/index.vue b/src/views/pages/area/index.vue index ca978e8..0fe8324 100644 --- a/src/views/pages/area/index.vue +++ b/src/views/pages/area/index.vue @@ -43,18 +43,21 @@
- + +
- +
+ 重点区域 +
- +
+ +
@@ -109,9 +112,10 @@ import TiledMap from "./components/tiledMap"; import { searchCamera } from "@/api/videoSurveillance/index"; import bus from "@/views/layout/bus"; import complaintEvent from "./components/ComplaintEvent"; +import EarlyWarning from "./components/EarlyWarning"; import VideoPlay from './components/VideoPlay' import VideoListRight from "./components/VideoListRight"; -import SiteList from "./components/SiteList"; +import SiteListMore from "./components/SiteListMore"; import { selectByJdWd } from "@/api/construction/index"; import { createSiteListPop,createCameraDetailsPop,createEventListDetailsPop,createImportantAreaPop } from "@/supermap/createMarkerPopup"; import { listPassengerFlow, listPassengerFlowByAllNums } from "@/api/civilizedCity.js"; @@ -143,16 +147,18 @@ export default { // 时间轴 timelineData: [], // 热力图当日数据 - hotDataAll: {} + hotDataAll: {}, + keyAreasShow:false, //是否显示重点区域。 }; }, components: { TiledMap, complaintEvent, VideoListRight, - SiteList, + SiteListMore, VideoPlay, - HorizonTimeLine + HorizonTimeLine, + EarlyWarning, }, created() {}, mounted() { @@ -632,6 +638,10 @@ export default { this.hiMapFun.removeLayerByLayerName('景区景点') this.hiMapFun.removeLayerByLayerName('海水浴场') this.hiMapFun.removeLayerByLayerName('窗口单位') + }, + //点击是否显示重点区域。 + handleKeyArea(){ + this.keyAreasShow=!this.keyAreasShow; } }, beforeDestroy() {}, @@ -684,7 +694,7 @@ export default { .searchPoint { position: absolute; z-index: 1000; - left: 496px; + right: 500px; top: 90px; border: 1px solid rgba(31,254,253,.9); ::v-deep .el-input__inner { @@ -773,6 +783,21 @@ export default { } } } + .keyAreas { + width: 100px; + height: 40px; + position: absolute; + cursor: pointer; + top: 110px; + left: 498px; + z-index: 1000; + background-color: #1A69B2; + text-align: center; + padding: 6px 0 13px 0; + font-size: 16px; + color:#fff; + } + .videoList { position: absolute; @@ -787,9 +812,9 @@ export default { .siteList { position: absolute; z-index: 10; - right: 8px; - top: 562px; - width: 398px; + left: 498px; + top: 175px; + width: 574px; height:500px; background: rgba($color: #05213b, $alpha: .85); }