Surpriseplus
2022-10-20 0f0d87ffbe149d47342d2bf5d5e9ae6ce130c901
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 {