From 4932bbaa459a26fdddc5dea3f53e888500c96c15 Mon Sep 17 00:00:00 2001 From: "WANGFAN\\wangf" <15871339963@163.com> Date: Thu, 16 Jan 2025 00:22:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BB=E5=BD=95=E9=A1=B5=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/global-scrollbar.scss | 11 ++++++++++ .../components/file-table.vue | 3 ++- src/views/login/login.vue | 6 ++++-- src/views/table/common-table/common-table.vue | 21 +++++++++++-------- 4 files changed, 29 insertions(+), 12 deletions(-) diff --git a/src/style/global-scrollbar.scss b/src/style/global-scrollbar.scss index 5db6c6a..4a1953c 100644 --- a/src/style/global-scrollbar.scss +++ b/src/style/global-scrollbar.scss @@ -32,3 +32,14 @@ height: 6px; background-color: $color-border-4; } + +// arco滚动条样式 +// 横向 +.arco-scrollbar-thumb-direction-horizontal .arco-scrollbar-thumb-bar { + height: 6px !important; +} + +// 纵向 +.arco-scrollbar-thumb-direction-vertical .arco-scrollbar-thumb-bar { + width: 6px !important; +} diff --git a/src/views/file/document-library/components/file-table.vue b/src/views/file/document-library/components/file-table.vue index 99ccbd0..f86c6a1 100644 --- a/src/views/file/document-library/components/file-table.vue +++ b/src/views/file/document-library/components/file-table.vue @@ -47,6 +47,7 @@ :bordered="{ cell: true }" + :scroll="{ x: '100%', y: '100%', minWidth: 1000 }" :loading="loading" :data="list" :row-selection="rowSelection" @@ -94,7 +95,7 @@ - +