北京经济技术开发区经开区虚拟城市项目-【前端】-移动端Web
少年
2024-02-27 7a1966fcaf11102e608d248532eb60eafb878b2c
youhua
已修改4个文件
34 ■■■■ 文件已修改
src/components/rightNavigation/NavigationBar2.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/sideMenu/directionMenu/directionPanel.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/sideMenu/directionMenu/main.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/viewer2.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/rightNavigation/NavigationBar2.vue
@@ -58,13 +58,13 @@
        //     img: require("@/assets/img/navigation/tj.png"),
        //     imgActive: require("@/assets/img/navigation/tjA.png"),
        // },
        {
          id: "0004sc",
          name: "位置",
          attr: "location",
          img: require("@/assets/img/navigation/sc.png"),
          imgActive: require("@/assets/img/navigation/scA.png"),
        },
        // {
        //   id: "0004sc",
        //   name: "位置",
        //   attr: "location",
        //   img: require("@/assets/img/navigation/sc.png"),
        //   imgActive: require("@/assets/img/navigation/scA.png"),
        // },
        // {
        //     id: '0005sz',
        //     name: '设置',
src/components/sideMenu/directionMenu/directionPanel.vue
@@ -16,14 +16,14 @@
  },
  methods: {
    trueNorth() {
      sgworld.Navigate.flyToPointsInterest({
        destination: Viewer.camera.position,
        orientation: {
          heading: 0,
          pitch: Viewer.camera.pitch,
          roll: 0,
        },
      });
      // sgworld.Navigate.flyToPointsInterest({
      //   destination: Viewer.camera.position,
      //   orientation: {
      //     heading: 0,
      //     pitch: Viewer.camera.pitch,
      //     roll: 0,
      //   },
      // });
    },
  },
};
src/components/sideMenu/directionMenu/main.vue
@@ -5,7 +5,7 @@
</template>
<script>
import store from "@/utils/store.js";
import store from "@/utils/store2.js";
import directionPanel from './directionPanel.vue';
export default {
    components: {
src/components/viewer2.vue
@@ -34,7 +34,7 @@
    <!-- 位置面板 -->
    <my-collection-panel></my-collection-panel>
    <!-- 指北针面板 -->
    <!-- <my-direction-panel></my-direction-panel> -->
    <my-direction-panel></my-direction-panel>
    <!-- 新增收藏面板 -->
    <my-add-collection-panel></my-add-collection-panel>
    <!-- 窨井、摄像头统计面板 -->