|
@@ -2,7 +2,7 @@
|
|
* @Author: WangJiaCheng
|
|
* @Author: WangJiaCheng
|
|
* @Date: 2021-08-20 09:10:36
|
|
* @Date: 2021-08-20 09:10:36
|
|
* @LastEditors: wjc
|
|
* @LastEditors: wjc
|
|
- * @LastEditTime: 2021-09-23 15:19:06
|
|
|
|
|
|
+ * @LastEditTime: 2021-09-24 16:40:57
|
|
* @Description: 编辑器
|
|
* @Description: 编辑器
|
|
-->
|
|
-->
|
|
<template>
|
|
<template>
|
|
@@ -34,19 +34,15 @@
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
</el-tabs>
|
|
</el-tabs>
|
|
</div>
|
|
</div>
|
|
- <div class="editor-main">
|
|
|
|
- <editor-area
|
|
|
|
- ref="editorArea"
|
|
|
|
- :active-id="activeId"
|
|
|
|
- @active-item="handleActiveItem"
|
|
|
|
- />
|
|
|
|
- </div>
|
|
|
|
- <div class="props-panel">
|
|
|
|
- <attribute-panel
|
|
|
|
- :drag-list="dragList"
|
|
|
|
- :active-data="activeData"
|
|
|
|
- />
|
|
|
|
- </div>
|
|
|
|
|
|
+ <editor-area
|
|
|
|
+ ref="editorArea"
|
|
|
|
+ :active-id="activeId"
|
|
|
|
+ @active-item="handleActiveItem"
|
|
|
|
+ />
|
|
|
|
+ <attribute-panel
|
|
|
|
+ :drag-list="dragList"
|
|
|
|
+ :active-data="activeData"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -100,19 +96,15 @@ export default {
|
|
.editor-menu {
|
|
.editor-menu {
|
|
width: 20%;
|
|
width: 20%;
|
|
height: 100%;
|
|
height: 100%;
|
|
|
|
+ .el-tabs__content {
|
|
|
|
+ height: calc(100% - 60px);
|
|
|
|
+ overflow: scroll;
|
|
|
|
+ }
|
|
.el-tabs__nav {
|
|
.el-tabs__nav {
|
|
.el-tabs__item {
|
|
.el-tabs__item {
|
|
text-align: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .editor-main {
|
|
|
|
- padding: 20px;
|
|
|
|
- background: #f5f5f5;
|
|
|
|
- width: 60%;
|
|
|
|
- }
|
|
|
|
- .props-panel {
|
|
|
|
- width: 20%;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|