mirror of
https://github.com/potato47/ccc-devtools.git
synced 2024-12-26 03:39:16 +00:00
修改样式
This commit is contained in:
parent
6996762b68
commit
f275405307
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
release/preview-template/dist/index.html
vendored
4
release/preview-template/dist/index.html
vendored
@ -1,3 +1,3 @@
|
|||||||
<script type="module" crossorigin src="/dist/assets/index.7eaa14f5.js"></script>
|
<script type="module" crossorigin src="/dist/assets/index.02b86726.js"></script>
|
||||||
<link rel="stylesheet" href="/dist/assets/index.0ba83c26.css">
|
<link rel="stylesheet" href="/dist/assets/index.1d01bced.css">
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
@ -27,8 +27,7 @@ let showTree = ref(false);
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 1px solid #e2e8f0;
|
border: 1px solid cadetblue;
|
||||||
border-radius: 0.25rem;
|
|
||||||
background: #171920;
|
background: #171920;
|
||||||
min-width: 400px;
|
min-width: 400px;
|
||||||
height: 80%;
|
height: 80%;
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div style="width: 100%;height: 30px;background-color: #26282f;display: flex;align-items: center;justify-content: center;color: white;" class="modal-drag">
|
<div
|
||||||
|
style="width: 100%;height: 30px;background-color: #26282f;display: flex;align-items: center;justify-content: center;color: white;"
|
||||||
|
class="modal-drag">
|
||||||
节点树
|
节点树
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%;overflow: auto;" :style="{ height: treeViewHeight + 10 }">
|
<!-- <div style="width: 100%;" :style="{ height: treeViewHeight }">
|
||||||
|
|
||||||
|
</div> -->
|
||||||
<el-tree-v2 ref="treeView" :props="defaultProps" empty-text="正在加载场景" :highlight-current="true"
|
<el-tree-v2 ref="treeView" :props="defaultProps" empty-text="正在加载场景" :highlight-current="true"
|
||||||
:expand-on-click-node="false" :default-expanded-keys="expandedKeys" @current-change="handleCurrentNodeChange"
|
:expand-on-click-node="false" :default-expanded-keys="expandedKeys" @current-change="handleCurrentNodeChange"
|
||||||
@node-expand="handleNodeExpand" @node-collapse="handleNodeCollapse" :height="treeViewHeight">
|
@node-expand="handleNodeExpand" @node-collapse="handleNodeCollapse" :height="treeViewHeight">
|
||||||
@ -10,7 +14,6 @@
|
|||||||
<span :class="{ 'node-hide': !node.data.active }">{{ node.label }}</span>
|
<span :class="{ 'node-hide': !node.data.active }">{{ node.label }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-tree-v2>
|
</el-tree-v2>
|
||||||
</div>
|
|
||||||
<div style="width: 100%;border-top: 2px solid #1d1e21;overflow: auto;flex: 1;">
|
<div style="width: 100%;border-top: 2px solid #1d1e21;overflow: auto;flex: 1;">
|
||||||
<template v-if="updateKey !== 0 && Utils.checkNodeValid(currentNode)">
|
<template v-if="updateKey !== 0 && Utils.checkNodeValid(currentNode)">
|
||||||
<el-scrollbar>
|
<el-scrollbar>
|
||||||
@ -159,6 +162,10 @@ const intervalId = setInterval(() => {
|
|||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-tree-virtual-list {
|
||||||
|
overflow-y: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: #cfd3dc;
|
color: #cfd3dc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user