From 853873ddb35e8eeb42b1b1b9fdb247ba5b1f19d1 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期三, 22 二月 2023 14:35:40 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.20.39:8989/r/LFWEB_NEW

---
 src/components/Screen/bottom.vue |   50 ++++++--------------------------------------------
 1 files changed, 6 insertions(+), 44 deletions(-)

diff --git a/src/components/Screen/bottom.vue b/src/components/Screen/bottom.vue
index 7de4602..0c8c667 100644
--- a/src/components/Screen/bottom.vue
+++ b/src/components/Screen/bottom.vue
@@ -171,6 +171,7 @@
   },
   created() {
     this.getCountProjectDisplay()
+    this.getCountProjectTour()
   },
   methods: {
     ChangeBaseLayer() {
@@ -210,56 +211,17 @@
       const position = line.coordinates[0]
       const result = []
       position.forEach(pos => {
-        pos.push(50)
+        // 娣诲姞婕父楂樺害锛屽悗缁慨鏀筍DK婧愮爜鍙互閫傞厤涓哄湴闈㈤珮绋�
+        pos.push(1000)
         result.push(...pos)
       })
-      //
       console.log("line", position)
-      // 瑗挎皵涓滆緭浜岀嚎瑗挎骞茬嚎
-      // console.log("PipeLine", PipeLine)
-      const features = PipeLine.features
-      // features.forEach(item => {
-      //   const name = item.properties.pipename
-      //   const rawArr = item.geometry.coordinates
-      // })
-      // const pipeline = features.find(
-      //   item => item.properties.pipename == "瑗挎皵涓滆緭涓�绾�"
-      // )
-      // const name = pipeline.properties.pipename
-      // const rawArr = pipeline.geometry.coordinates[0]
-      // const result = []
-      // rawArr.forEach(pos => {
-      //   pos.push(50)
-      //   result.push(...pos)
-      // })
-      // console.log("result", result);
-      // sgworld.Command.execute(2, 3, "", data => {
-      //   data.showPoint = false
-      //   data.showLine = true
-      //   data.mode = 1
-      //   // 寮圭獥鏁版嵁
-      //   window.PathAnimationData = {
-      //     flyData: data,
-      //   }
-      //   window.PathAnimationData.winIndex = layer.open({
-      //     type: 2,
-      //     title: "璺緞鍔ㄧ敾",
-      //     shade: false,
-      //     area: ["352px", "690px"],
-      //     offset: "r",
-      //     skin: "other-class",
-      //     content: SmartEarthRootUrl + "Workers/path/Path.html",
-      //     end: function () {
-      //       PathAnimationData.fly && PathAnimationData.fly.exit()
-      //     },
-      //   })
-      // })
 
       window.sgworld.Creator.getFlyData(result, data => {
         data.showPoint = false
         data.showLine = true
         data.mode = 1
-        data.height = 2000
+        data.height = 5000
 
         // 寮圭獥鏁版嵁
         window.PathAnimationData = {
@@ -267,12 +229,12 @@
         }
         window.PathAnimationData.winIndex = layer.open({
           type: 2,
-          title: "璺緞鍔ㄧ敾",
+          title: "宸ョ▼宸¤",
           shade: false,
           area: ["352px", "690px"],
           offset: "r",
           skin: "other-class",
-          content: SmartEarthRootUrl + "Workers/path/Path.html",
+          content: SmartEarthRootUrl + "Workers/path/ProjectPath.html",
           end: function () {
             PathAnimationData.fly && PathAnimationData.fly.exit()
           },

--
Gitblit v1.9.3