From 0063b2eecc2993342eaef87c9caeedb938dbf217 Mon Sep 17 00:00:00 2001 From: ZhaoYang <565837861@qq.com> Date: Wed, 22 Apr 2026 10:37:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=BF=E5=8C=96=E5=9C=B0=E5=9B=BE=E5=AE=9A?= =?UTF-8?q?=E4=BD=8D=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chenhai-ui/.env.development | 2 +- chenhai-ui/.env.production | 2 +- chenhai-ui/.env.staging | 2 +- chenhai-ui/package.json | 2 +- chenhai-ui/src/views/index.vue | 1208 -------------------- chenhai-ui/src/views/map_pol/mapVisual.vue | 43 +- 6 files changed, 22 insertions(+), 1237 deletions(-) diff --git a/chenhai-ui/.env.development b/chenhai-ui/.env.development index 302ecd1..1249c56 100644 --- a/chenhai-ui/.env.development +++ b/chenhai-ui/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 园林事务中心系统 # 开发环境配置 ENV = 'development' diff --git a/chenhai-ui/.env.production b/chenhai-ui/.env.production index b4893b0..43cbfcd 100644 --- a/chenhai-ui/.env.production +++ b/chenhai-ui/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 园林事务中心系统 # 生产环境配置 ENV = 'production' diff --git a/chenhai-ui/.env.staging b/chenhai-ui/.env.staging index 209b64e..e606bcd 100644 --- a/chenhai-ui/.env.staging +++ b/chenhai-ui/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 园林事务中心系统 BABEL_ENV = production diff --git a/chenhai-ui/package.json b/chenhai-ui/package.json index 7480e31..2678db9 100644 --- a/chenhai-ui/package.json +++ b/chenhai-ui/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi", "version": "3.9.2", - "description": "若依管理系统", + "description": "园林事务中心系统", "author": "若依", "license": "MIT", "scripts": { diff --git a/chenhai-ui/src/views/index.vue b/chenhai-ui/src/views/index.vue index 36194bf..e69de29 100644 --- a/chenhai-ui/src/views/index.vue +++ b/chenhai-ui/src/views/index.vue @@ -1,1208 +0,0 @@ - - - - - - diff --git a/chenhai-ui/src/views/map_pol/mapVisual.vue b/chenhai-ui/src/views/map_pol/mapVisual.vue index d68ed08..b3fef47 100644 --- a/chenhai-ui/src/views/map_pol/mapVisual.vue +++ b/chenhai-ui/src/views/map_pol/mapVisual.vue @@ -88,9 +88,11 @@ export default { for (var item of res.rows) { this.publicToilet(item, [item.longitude, item.latitude]) } - break + break case '绿化': - this.greening() + for (var item of res.rows) { + this.greening(item, item.coordinates) + } break case '垃圾箱': for (var item of res.rows) { @@ -103,9 +105,9 @@ export default { } break case '古树': - for (var item of res.rows) { - this.oldTrees(item, [item.longitude, item.latitude]) - } + for (var item of res.rows) { + this.oldTrees(item, [item.longitude, item.latitude]) + } break default: this.clean() @@ -211,27 +213,11 @@ export default { }, // 绿化 - greening() { + greening(item,position) { + console.log('经纬度',position); map.setCameraView({ lat: 38.824084, lng: 105.736887, alt: 994.9, heading: 351.4, pitch: -26.9 }) afforest = new mars3d.graphic.ScrollWall({ - positions: [ - [ - 105.736462, - 38.840078 - ], - [ - 105.736533, - 38.839389 - ], - [ - 105.737683, - 38.839479 - ], - [ - 105.73757, - 38.840146 - ] - ], + positions: position, style: { diffHeight: 30, // 高度 color: "#0BEDAA", @@ -245,7 +231,14 @@ export default { } } }, - attr: { remark: "示例1", xiaoguo: "鼠标移入时展示高亮效果" } + attr: item, + popup: `
+
点位信息
+
+
类型:${item.type}
+
位置:${item.name}
+
+
` }) graphicLayer.addGraphic(afforest) },