From c95e7e7bbf8b03272dc6cf82f95efcbb328a0cc9 Mon Sep 17 00:00:00 2001 From: jmal Date: Tue, 24 Sep 2024 14:30:08 +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=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Icon/IconFile.vue | 1 - src/components/ShowFile/ShowFile.vue | 23 ++++++++++++++++++----- src/components/popover/MenuPopover.vue | 3 ++- src/styles/home-index.scss | 3 ++- src/views/home/mobile/index.vue | 3 ++- 5 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/components/Icon/IconFile.vue b/src/components/Icon/IconFile.vue index 05a9071..1a56cb3 100644 --- a/src/components/Icon/IconFile.vue +++ b/src/components/Icon/IconFile.vue @@ -152,7 +152,6 @@ export default { } }, mounted() { - console.log(this.item, this.gridWidth) }, computed: { findIconClass() { diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index a927773..627a364 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -305,6 +305,7 @@
@@ -323,6 +324,7 @@ :pagination-show="false" style="width: 100%;margin: 20px 0 0 0;" stripe + :fit="true" :cell-style="rowStyle" :height-change="false" :row-class-name="tableRowClassName" @@ -358,7 +360,8 @@ v-if="index === 2" :key="index" :show-overflow-tooltip="true" - max-width="200" + min-width="200" + :width="tableHeadNameWidth" :index="index" :prop="item.name" :label="item.label" @@ -467,8 +470,8 @@ overflow: 'auto', 'box-shadow': fileListScrollTop > 0 - ? '#a5a7a8 0px 0px 3px' - : '#ffffff 0px 0px 0px', + ? '-1px -1px 4px #00152914' + : '-1px -1px 4px #ffffff', }" > { + // list 视图 + const fileListTableWidth = this.$refs.fileListTableContainer.offsetWidth + this.tableHeadNameWidth = fileListTableWidth - (80 + 200 + 250) - 50 + }) + // 使列表可拖拽 this.rowDrop() this.darwRectangle() @@ -3135,7 +3146,7 @@ export default { if (columnIndex === 0) { return { backgroundColor: '#e0f3fc !important', - borderRadius: '3px 0 0 3px', + borderRadius: '5px 0 0 5px', borderLeft: '1px solid #409eff', borderTop: '1px solid #409eff', borderBottom: '1px solid #409eff', @@ -3144,7 +3155,7 @@ export default { if (columnIndex === 3) { return { backgroundColor: '#e0f3fc !important', - borderRadius: '0 3px 3px 0', + borderRadius: '0 5px 5px 0', borderRight: '1px solid #409eff', borderTop: '1px solid #409eff', borderBottom: '1px solid #409eff', @@ -4575,6 +4586,7 @@ export default { } >>> .el-table { + padding-left: 20px; th.gutter { display: table-cell !important; } @@ -4594,4 +4606,5 @@ export default { .mt-5 { margin-top: 5px; } + diff --git a/src/components/popover/MenuPopover.vue b/src/components/popover/MenuPopover.vue index b4c3671..4a3c694 100644 --- a/src/components/popover/MenuPopover.vue +++ b/src/components/popover/MenuPopover.vue @@ -86,9 +86,10 @@ export default {