From 963349da1b0d6660b77ef2a421223ecb25c287aa Mon Sep 17 00:00:00 2001 From: wangwei <707714829@qq.com> Date: Wed, 23 Nov 2022 17:42:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/pages/area/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/pages/area/index.vue b/src/views/pages/area/index.vue index ca978e8..f6ad44f 100644 --- a/src/views/pages/area/index.vue +++ b/src/views/pages/area/index.vue @@ -684,7 +684,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 { From 04cb3a0f910d8f62beef5a191d8f23ec16219fbf Mon Sep 17 00:00:00 2001 From: wangwei <707714829@qq.com> Date: Thu, 24 Nov 2022 15:25:15 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=87=8D=E7=82=B9=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/area/components/EarlyWarning.vue | 429 +++++++++++++++++ .../pages/area/components/SiteListMore.vue | 435 ++++++++++++++++++ src/views/pages/area/index.vue | 49 +- 3 files changed, 901 insertions(+), 12 deletions(-) create mode 100644 src/views/pages/area/components/EarlyWarning.vue create mode 100644 src/views/pages/area/components/SiteListMore.vue 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 f6ad44f..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() {}, @@ -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); }