浏览代码

Merge branch 'local' of http://192.168.0.115:3000/bill/fuse-code into local

bill 2 年之前
父节点
当前提交
499df3d751
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      src/layout/main.vue

+ 10 - 1
src/layout/main.vue

@@ -1,7 +1,9 @@
 <template>
   <ui-editor-layout @click.stop id="layout-app" class="editor-layout" :class="layoutClassNames">
     <div class="laser-layer">
-      <div class="scene" ref="sceneRef"></div>
+      <div class="scene" ref="sceneRef">
+      <div id="direction"></div>
+      </div>
     </div>
 
     <template v-if="loaded" style="height: 100%">
@@ -91,4 +93,11 @@ const stopSdkInstalWatch = watchEffect(() => {
     background-color: #ccc;
   }
 }
+
+#direction {
+  right: calc(var(--editor-menu-right) + var(--editor-toolbox-width)) !important;
+  top: calc(var(--header-top) + var(--editor-head-height)) !important;
+  margin: 10px;
+  transition: top .3s ease, right .3s ease;
+}
 </style>