From 0f0d87ffbe149d47342d2bf5d5e9ae6ce130c901 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期四, 20 十月 2022 09:44:05 +0800
Subject: [PATCH] 综合展示

---
 src/views/Synthesis/wander.vue |   64 +++++++++++++++++--------------
 1 files changed, 35 insertions(+), 29 deletions(-)

diff --git a/src/views/Synthesis/wander.vue b/src/views/Synthesis/wander.vue
index de38a20..7e35ab1 100644
--- a/src/views/Synthesis/wander.vue
+++ b/src/views/Synthesis/wander.vue
@@ -2,7 +2,7 @@
   <div class="box">
     <ul>
       <li
-style="margin-left: 10px; width: 130px"
+        style="margin-left: 10px; width: 130px"
         @click="changeWander(item)"
         v-for="item in itemsOne"
       >
@@ -21,29 +21,29 @@
     return {
       itemsOne: [
         {
-          id: "1",
-          name: "synthesis.someroaming",
-          class: "c1",
+          id: '1',
+          name: 'synthesis.someroaming',
+          class: 'c1',
         },
         {
-          id: "2",
-          name: "synthesis.lineroaming",
-          class: "c2",
+          id: '2',
+          name: 'synthesis.lineroaming',
+          class: 'c2',
         },
         {
-          id: "3",
-          name: "synthesis.mouseroaming",
-          class: "c3",
+          id: '3',
+          name: 'synthesis.mouseroaming',
+          class: 'c3',
         },
         {
-          id: "4",
-          name: "synthesis.snapshot",
-          class: "c4",
+          id: '4',
+          name: 'synthesis.snapshot',
+          class: 'c4',
         },
         {
-          id: "4",
-          name: "synthesis.tdisplay",
-          class: "c5",
+          id: '4',
+          name: 'synthesis.tdisplay',
+          class: 'c5',
         },
       ],
     };
@@ -56,11 +56,11 @@
       // };
       // this.$bus.$emit("changetool", res_val);
       switch (res.id) {
-        case "1":
+        case '1':
           window.sgworld.Analysis.setPointFly();
           break;
-        case "2":
-          window.sgworld.Command.execute(2, 3, "", (data) => {
+        case '2':
+          window.sgworld.Command.execute(2, 3, '', (data) => {
             data.showPoint = false;
             data.showLine = true;
             data.mode = 1;
@@ -70,17 +70,23 @@
             };
             window.PathAnimationData.winIndex = layer.open({
               type: 2,
-              title: "璺緞鍔ㄧ敾",
+              title: '璺緞鍔ㄧ敾',
               shade: false,
-              area: ["352px", "690px"],
-              offset: "r",
-              skin: "other-class",
-              content: "/SmartEarthSDK/Workers/path/Path.html",
+              area: ['352px', '690px'],
+              offset: 'r',
+              skin: 'other-class',
+              content: '/SmartEarthSDK/Workers/path/Path.html',
               end: function () {
                 PathAnimationData.fly && PathAnimationData.fly.exit();
               },
             });
           });
+          break;
+        case '3':
+          sgworld.Analysis.createindoormode({ showHelp: true });
+          break;
+        case '4':
+          window.sgworld.Analysis.createScreenshot();
           break;
       }
     },
@@ -108,22 +114,22 @@
   margin: 0px;
 }
 .c1 {
-  background: url("../../assets/img/synthesis/妞渾 6.png") no-repeat center;
+  background: url('../../assets/img/synthesis/妞渾 6.png') no-repeat center;
 }
 .c2 {
-  background: url("../../assets/img/synthesis/妞渾 7 鎷疯礉 2.png") no-repeat
+  background: url('../../assets/img/synthesis/妞渾 7 鎷疯礉 2.png') no-repeat
     center;
 }
 .c3 {
-  background: url("../../assets/img/synthesis/鍥惧眰 14 鍓湰 鎷疯礉.png") no-repeat
+  background: url('../../assets/img/synthesis/鍥惧眰 14 鍓湰 鎷疯礉.png') no-repeat
     center;
 }
 .c4 {
-  background: url("../../assets/img/synthesis/鍥惧眰 74 鎷疯礉 2.png") no-repeat
+  background: url('../../assets/img/synthesis/鍥惧眰 74 鎷疯礉 2.png') no-repeat
     center;
 }
 .c5 {
-  background: url("../../assets/img/synthesis/妞渾 7 鎷疯礉 4.png") no-repeat
+  background: url('../../assets/img/synthesis/妞渾 7 鎷疯礉 4.png') no-repeat
     center;
 }
 .backimge3 {

--
Gitblit v1.9.3