diff --git a/god-ui/public/index.html b/god-ui/public/index.html index f8c2bb75..30744690 100644 --- a/god-ui/public/index.html +++ b/god-ui/public/index.html @@ -213,6 +213,6 @@ - + diff --git a/god-ui/src/views/dataVisualization/visualization/index.vue b/god-ui/src/views/dataVisualization/visualization/index.vue index 0a7b8d1d..c58bd1bb 100644 --- a/god-ui/src/views/dataVisualization/visualization/index.vue +++ b/god-ui/src/views/dataVisualization/visualization/index.vue @@ -67,10 +67,10 @@
车牌号
-
- +
+
-
查询
+ 查询
@@ -184,6 +184,7 @@ export default { value: "3", }, ], + map: null, }; }, mounted() { @@ -443,40 +444,6 @@ export default { console.log(e); }); }, - // 添加图形点标记 - // addMapMarker(sourceData = [], type = "sxt", info = {}) { - // const marker = new AMap.Marker({ - // position: new AMap.LngLat(sourceData[0], sourceData[1]), - // offset: new AMap.Pixel(-30, -52), - // icon: `/images/${type}.png`, // 添加 Icon 图标 URL - // title: "", - // }); - // this.map.add(marker); - // marker.on("click", (e) => { - // this.showInfoWindow(sourceData[0], sourceData[1], { - // type: "#304156", - // ...info, - // }); - // }); - // }, - // // 显示信息窗体 - // showInfoWindow(lng, lat, sourceInfo) { - // let content = ` - //
- //
- //
${sourceInfo.device}
- //
${sourceInfo.name}
- //
正常运行
- //
- //
- // `; - // const infoWindow = new AMap.InfoWindow({ - // content, - // anchor: "middle-left", - // isCustom: true, - // }); - // infoWindow.open(this.map, [lng, lat]); - // }, }, }; @@ -578,15 +545,17 @@ export default { padding: 15px; .trip-warper { width: 100%; - height: calc(450px - 2rem); + height: 600px; position: relative; .trip-top { position: absolute; - top: 0; - left: 0; + top: 10px; + left: 10px; + padding: 10px 14px; + background-color: #fff; + border-radius: 6px; z-index: 999; display: flex; - width: 26%; align-items: center; justify-content: space-between; height: 40px; diff --git a/god-ui/src/views/loader/data/track/index.vue b/god-ui/src/views/loader/data/track/index.vue index cfe810e2..18043813 100644 --- a/god-ui/src/views/loader/data/track/index.vue +++ b/god-ui/src/views/loader/data/track/index.vue @@ -21,8 +21,11 @@