This commit is contained in:
2025-11-28 15:50:56 +08:00
parent a9c3aeaa73
commit 2df8514867
4 changed files with 26 additions and 23 deletions

View File

@ -147,9 +147,9 @@
> >
<el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入数据" /> <el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入数据" />
<template #footer> <template #footer>
<span class="dialog-footer"> <span class="dialog-footer" style="display: block; text-align: center">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" @click="addType"> 确定 </el-button> <el-button type="primary" @click="addType"> 确定 </el-button>
<el-button @click="closeDialog">取消</el-button>
</span> </span>
</template> </template>
</el-dialog> </el-dialog>
@ -543,7 +543,7 @@ let func = () => {
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func) document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
setTimeout(() => { setTimeout(() => {
contextMenu.visible = false contextMenu.visible = false
}, 100) }, 200)
} }
const toggleExpand = (row: any) => { const toggleExpand = (row: any) => {
if (row.childNodes.length != 0) { if (row.childNodes.length != 0) {

View File

@ -149,13 +149,13 @@
> >
<el-input <el-input
v-model.trim="modelType" v-model.trim="modelType"
style="width(100% - 60px)" style="width: calc(100% - 60px)"
placeholder="请输入模型类型名称" placeholder="请输入模型类型名称"
/> />
<template #footer> <template #footer>
<span class="dialog-footer" style="text-align: center"> <span class="dialog-footer" style="display: block; text-align: center">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" @click="addType"> 确定 </el-button> <el-button type="primary" @click="addType"> 确定 </el-button>
<el-button @click="closeDialog">取消</el-button>
</span> </span>
</template> </template>
</el-dialog> </el-dialog>
@ -611,7 +611,7 @@ let func = () => {
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func) document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
setTimeout(() => { setTimeout(() => {
contextMenu.visible = false contextMenu.visible = false
}, 100) }, 200)
} }
const toggleExpand = (row: any) => { const toggleExpand = (row: any) => {
if (row.childNodes.length != 0) { if (row.childNodes.length != 0) {

View File

@ -179,9 +179,9 @@
> >
<el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入名称" /> <el-input v-model="modelType" style="width: calc(100% - 60px)" placeholder="请输入名称" />
<template #footer> <template #footer>
<span class="dialog-footer"> <span class="dialog-footer" style="display: block; text-align: center">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" @click="addType"> 确定 </el-button> <el-button type="primary" @click="addType"> 确定 </el-button>
<el-button @click="closeDialog">取消</el-button>
</span> </span>
</template> </template>
</el-dialog> </el-dialog>
@ -626,7 +626,7 @@ let func = () => {
document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func) document.getElementsByClassName('settingPop')[0].removeEventListener('mousedown', func)
setTimeout(() => { setTimeout(() => {
contextMenu.visible = false contextMenu.visible = false
}, 100) }, 200)
} }
const toggleExpand = (row: any) => { const toggleExpand = (row: any) => {
if (row.childNodes.length != 0) { if (row.childNodes.length != 0) {

View File

@ -177,11 +177,14 @@ defineExpose({
height: 50vh; height: 50vh;
:deep(.el-dialog) { :deep(.el-dialog) {
background: background: linear-gradient(
linear-gradient(180deg, rgba(var(--color-base1), 0.2) 0%, rgba(var(--color-base1), 0) 100%), 180deg,
rgba(var(--color-base1), 0.2) 0%,
rgba(var(--color-base1), 0) 100%
),
rgba(0, 0, 0, 0.6); rgba(0, 0, 0, 0.6);
border: 1px solid var(--color-border1); border: 1px solid var(--color-border1);
padding-left: 0 !important; // padding-left: 0 !important;
} }
:deep(.el-dialog__body) { :deep(.el-dialog__body) {
@ -246,22 +249,22 @@ defineExpose({
// height: 50vh; // height: 50vh;
:deep( :deep(
.el-tabs--left .el-tabs__active-bar.is-left, .el-tabs--left .el-tabs__active-bar.is-left,
.el-tabs--left .el-tabs__active-bar.is-right, .el-tabs--left .el-tabs__active-bar.is-right,
.el-tabs--right .el-tabs__active-bar.is-left, .el-tabs--right .el-tabs__active-bar.is-left,
.el-tabs--right .el-tabs__active-bar.is-right .el-tabs--right .el-tabs__active-bar.is-right
) { ) {
width: 3px; width: 3px;
background: rgba(var(--color-base1), 1); background: rgba(var(--color-base1), 1);
height: 40px !important; height: 40px !important;
} }
:deep( :deep(
.el-tabs--left .el-tabs__nav-wrap.is-left::after, .el-tabs--left .el-tabs__nav-wrap.is-left::after,
.el-tabs--left .el-tabs__nav-wrap.is-right::after, .el-tabs--left .el-tabs__nav-wrap.is-right::after,
.el-tabs--right .el-tabs__nav-wrap.is-left::after, .el-tabs--right .el-tabs__nav-wrap.is-left::after,
.el-tabs--right .el-tabs__nav-wrap.is-right::after .el-tabs--right .el-tabs__nav-wrap.is-right::after
) { ) {
width: 3px; width: 3px;
} }