mirror of
https://github.com/potato47/ccc-devtools.git
synced 2024-12-25 11:19:10 +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>
|
||||
<link rel="stylesheet" href="/dist/assets/index.0ba83c26.css">
|
||||
<script type="module" crossorigin src="/dist/assets/index.02b86726.js"></script>
|
||||
<link rel="stylesheet" href="/dist/assets/index.1d01bced.css">
|
||||
<div id="app"></div>
|
||||
|
@ -27,8 +27,7 @@ let showTree = ref(false);
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 0.25rem;
|
||||
border: 1px solid cadetblue;
|
||||
background: #171920;
|
||||
min-width: 400px;
|
||||
height: 80%;
|
||||
|
@ -1,8 +1,12 @@
|
||||
<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 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"
|
||||
:expand-on-click-node="false" :default-expanded-keys="expandedKeys" @current-change="handleCurrentNodeChange"
|
||||
@node-expand="handleNodeExpand" @node-collapse="handleNodeCollapse" :height="treeViewHeight">
|
||||
@ -10,7 +14,6 @@
|
||||
<span :class="{ 'node-hide': !node.data.active }">{{ node.label }}</span>
|
||||
</template>
|
||||
</el-tree-v2>
|
||||
</div>
|
||||
<div style="width: 100%;border-top: 2px solid #1d1e21;overflow: auto;flex: 1;">
|
||||
<template v-if="updateKey !== 0 && Utils.checkNodeValid(currentNode)">
|
||||
<el-scrollbar>
|
||||
@ -159,6 +162,10 @@ const intervalId = setInterval(() => {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.el-tree-virtual-list {
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #cfd3dc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user