实现添加浮动面板功能:创建Area时自动添加Panel并填充满父容器
This commit is contained in:
@@ -50,7 +50,8 @@
|
||||
|
||||
<!-- 内容区域 -->
|
||||
<div class="vs-content">
|
||||
<!-- 内容区域 -->
|
||||
<!-- 这里是内容区域,使用slot接收子组件 -->
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -316,7 +317,7 @@ onMounted(() => {
|
||||
.hdr-close:hover { opacity: 1; }
|
||||
|
||||
/* 内容区域 */
|
||||
.vs-content { display: flex; flex: 1; overflow: hidden; }
|
||||
.vs-content { display: flex; flex: 1; overflow: visible; background-color: #ffffff; position: relative; }
|
||||
|
||||
/* 左侧输出 */
|
||||
.vs-left { flex: 1; background: var(--vs-panel); display: flex; }
|
||||
|
||||
Reference in New Issue
Block a user