From b2e64e58e53245ff69f6c6d845c6037e12018130 Mon Sep 17 00:00:00 2001 From: jmal Date: Tue, 24 Sep 2024 15:32:22 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=88=97=E8=A1=A8list=E8=A7=86=E5=9B=BE=E6=8B=96=E6=8B=BD?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowFile/ShowFile.vue | 15 +++++++++++---- src/components/TaskProgress/index.vue | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index 627a364..e4729e9 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -1578,7 +1578,7 @@ export default { this.$nextTick(() => { // list 视图 const fileListTableWidth = this.$refs.fileListTableContainer.offsetWidth - this.tableHeadNameWidth = fileListTableWidth - (80 + 200 + 250) - 50 + this.tableHeadNameWidth = fileListTableWidth - (80 + 200 + 250) - 90 }) // 使列表可拖拽 @@ -2036,15 +2036,22 @@ export default { dragingDiv.firstChild.style.textAlign = 'center' let tds = Array.prototype.slice.call(dragingDiv.childNodes) tds.forEach((node, index) => { + if (index === 0) { + node.firstChild.style.margin = '0 20px' + } + if (index === 1) { + node.firstChild.style.width = '280px' + node.firstChild.style.marginRight = '20px' + } if (index === 2) { - node.style.borderRadius = '0 3px 3px 0' + node.style.borderRadius = '0 5px 5px 0' node.style.borderRight = '1px solid #409eff' node.firstChild.style.height = '44px' node.firstChild.style.lineHeight = '44px' node.firstChild.style.width = '80px' return true } - if (index !== 0 && index !== 1) { + if (index === 3) { dragingDiv.removeChild(node) } }) @@ -4586,7 +4593,7 @@ export default { } >>> .el-table { - padding-left: 20px; + padding-left: 40px; th.gutter { display: table-cell !important; } diff --git a/src/components/TaskProgress/index.vue b/src/components/TaskProgress/index.vue index 24a6fc5..d1cd803 100644 --- a/src/components/TaskProgress/index.vue +++ b/src/components/TaskProgress/index.vue @@ -1,7 +1,7 @@