index.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <!-- 编辑器-初始 -->
  3. <div class="view-screen">
  4. <!-- 内嵌的全景场景预览区域 -->
  5. <div
  6. class="app-player"
  7. ref="layer"
  8. >
  9. <Core/>
  10. <Toolbar class="navigation-toolbar"></Toolbar>
  11. </div>
  12. <!-- 初始和热点 底部的 全景场景列表 -->
  13. <!-- <toolbar></toolbar> -->
  14. <setting class="setting-panel"></setting>
  15. </div>
  16. </template>
  17. <script>
  18. import Setting from "./Setting.vue";
  19. import Core from "@/framework/core/core-v1.2.vue";
  20. import Toolbar from "@/framework/Toolbar.vue";
  21. export default {
  22. name: "editor-initial-setting",
  23. components: {
  24. Setting,
  25. Core,
  26. Toolbar,
  27. }
  28. };
  29. </script>
  30. <style lang="less" scoped>
  31. .view-screen {
  32. height: 100%;
  33. display: flex;
  34. .app-player {
  35. flex: 1 1 auto;
  36. padding: 10px;
  37. position: relative;
  38. height: 100%;
  39. .navigation-toolbar {
  40. position: absolute;
  41. left: 10%;
  42. right: 10%;
  43. top: 70%;
  44. bottom: 10%;
  45. }
  46. }
  47. .setting-panel {
  48. width: 274px;
  49. flex: 0 0 auto;
  50. }
  51. }
  52. </style>