任一存 3 anni fa
parent
commit
4acb00b7da

+ 1 - 1
src/components/userInfo.vue

@@ -34,7 +34,7 @@ export default {
   },
   methods: {
     onClickPersonalCenter() {
-      window.location.href = '/#/information'
+      window.location.href = '/#/navigation'
     },
     onClickLogout() {
       localStorage.setItem('token', '')

+ 2 - 2
src/config/menu.js

@@ -11,8 +11,8 @@ const PCMenu = [
   {
     text: "导航",
     icon: "navigation",
-    link: "/information",
-    name: "information",
+    link: "/navigation",
+    name: "navigation",
     hidden: false,
     hidescene:true
   },

+ 2 - 2
src/framework/EditAppLayout.vue

@@ -5,8 +5,8 @@
   </div>
 </template>
 <script>
-import AppHead from "./Head";
-import AppMain from "./Main";
+import AppHead from "./EditorHead.vue";
+import AppMain from "./EditorMain.vue";
 export default {
   name: "app-layout",
   components: {

+ 1 - 1
src/framework/Head.vue

@@ -78,7 +78,7 @@ export default {
       //     content: "至少添加一个场景才保存/预览,请前往“场景导航”添加",
       //     forceOK: true,
       //     ok: () => {
-      //       this.$router.push({ path: "/information" });
+      //       this.$router.push({ path: "/navigation" });
       //     },
       //   });
       //   return false;

+ 22 - 20
src/framework/Main.vue

@@ -53,32 +53,34 @@ export default {
   height: 100%;
   width: 100%;
   overflow: hidden;
-}
-
-.app-player {
-  padding: 10px;
-  position: relative;
-  display: flex;
-  flex: 1;
-  height: calc(100% - 260px);
-  flex-direction: column;
-  &.page-guide {
-    height: calc(100% - 210px);
+  
+  .app-player {
+    padding: 10px;
+    position: relative;
+    display: flex;
+    flex: 1;
+    height: calc(100% - 260px);
+    flex-direction: column;
+    &.page-guide {
+      height: calc(100% - 210px);
+    }
   }
-}
 
-.app-view {
-  display: flex;
-  width: 236px;
-  height: 100%;
-  z-index: 1000;
-  > div {
+  .app-view {
     display: flex;
-    width: 100%;
+    width: 236px;
     height: 100%;
-    white-space: nowrap;
+    z-index: 1000;
+    > div {
+      display: flex;
+      width: 100%;
+      height: 100%;
+      white-space: nowrap;
+    }
   }
 }
+
+
 .app-view-toolbar {
   display: flex;
   position: fixed !important;

+ 1 - 1
src/pages/Edit.vue

@@ -4,7 +4,7 @@
   </div>
 </template>
 <script>
-import AppLayout from "@/framework/EditAppLayout.vue";
+import AppLayout from "@/framework/EditorAppLayout.vue";
 
 export default {
   components: {

+ 1 - 1
src/router/index.js

@@ -1,6 +1,6 @@
 import Vue from 'vue'
 import Router from 'vue-router'
-import { PCMenu } from "../config/menu";
+import { PCMenu } from "../config/menu.js";
 import { checkWork, checkLogin,getPanoInfo } from '@/api'
 import { $alert } from '@/components/shared/message'
 import store from '../Store'

+ 1 - 1
src/views/base/index.vue

@@ -11,7 +11,7 @@
 import Setting from "./Setting";
 import Toolbar from "./Toolbar";
 export default {
-  name: "home",
+  name: "EditorBase",
   components: {
     Setting,
     Toolbar

src/views/information/Setting.vue → src/views/navigation/Setting.vue


src/views/information/Toolbar.vue → src/views/navigation/Toolbar.vue


+ 1 - 1
src/views/information/index.vue

@@ -112,7 +112,7 @@ import { savePanoToWorks } from "@/api";
 import { changeByteUnit } from '@/utils/file'
 
 export default {
-  name: "home",
+  name: "EditorNavigation",
   components: {
     Setting,
     Toolbar,