From 10bab8b54c55a836bd9ec89cf2af51001d901679 Mon Sep 17 00:00:00 2001
From: "WANGFAN\\wangf" <15871339963@163.com>
Date: Thu, 16 Jan 2025 15:35:01 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=85=BC?=
=?UTF-8?q?=E5=AE=B9=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/style/global-scrollbar.scss | 4 +-
src/style/global-style.scss | 16 +++++
src/views/component/draggable/draggable.vue | 65 ++++++++++---------
.../components/file-table.vue | 28 ++++----
.../document-library/document-library.vue | 11 +++-
src/views/form/common-form/common-form.vue | 8 +--
src/views/form/step-form/step-form.vue | 10 +--
src/views/table/common-table/common-table.vue | 14 ++--
src/views/table/custom-table/custom-table.vue | 22 ++++---
9 files changed, 105 insertions(+), 73 deletions(-)
diff --git a/src/style/global-scrollbar.scss b/src/style/global-scrollbar.scss
index 4a1953c..c3a7cae 100644
--- a/src/style/global-scrollbar.scss
+++ b/src/style/global-scrollbar.scss
@@ -36,10 +36,10 @@
// arco滚动条样式
// 横向
.arco-scrollbar-thumb-direction-horizontal .arco-scrollbar-thumb-bar {
- height: 6px !important;
+ height: 4px !important;
}
// 纵向
.arco-scrollbar-thumb-direction-vertical .arco-scrollbar-thumb-bar {
- width: 6px !important;
+ width: 4px !important;
}
diff --git a/src/style/global-style.scss b/src/style/global-style.scss
index 4222374..69c36a5 100644
--- a/src/style/global-style.scss
+++ b/src/style/global-style.scss
@@ -22,3 +22,19 @@
overflow-y: auto;
background: $color-fill-1;
}
+
+// 铺满main窗口-有内边距
+.snow-fill {
+ height: 100%;
+ padding: $padding;
+ overflow: hidden;
+ background: $color-fill-1;
+}
+
+// 铺满main窗口-内部-有内边距
+.snow-fill-inner {
+ box-sizing: border-box;
+ height: 100%;
+ padding: $padding;
+ background: $color-bg-1;
+}
diff --git a/src/views/component/draggable/draggable.vue b/src/views/component/draggable/draggable.vue
index 8de7813..86eb506 100644
--- a/src/views/component/draggable/draggable.vue
+++ b/src/views/component/draggable/draggable.vue
@@ -1,35 +1,42 @@
-
-
-
Favorites
-
-
-
-
-
-
{{ element.label }}
-
-
-
-
-
-
- 采用开源拖拽库:
vue.draggable
-
-
-
-
-
+
+
+
+
+
Favorites
+
+
+
+
+
+
{{ element.label }}
+
+
+
+
+
+
+ 采用开源拖拽库:
+
vue.draggable
+
+
+
+
+
+
+
+
+
diff --git a/src/views/file/document-library/components/file-table.vue b/src/views/file/document-library/components/file-table.vue
index f86c6a1..c574ef4 100644
--- a/src/views/file/document-library/components/file-table.vue
+++ b/src/views/file/document-library/components/file-table.vue
@@ -1,7 +1,7 @@
-
-
+
+
@@ -24,20 +24,16 @@
-
-
-
-
-
-
-
-
-
- 搜索
-
-
-
-
+
+
+
+
+
+
+
+ 搜索
+
+
diff --git a/src/views/file/document-library/document-library.vue b/src/views/file/document-library/document-library.vue
index a2f7f72..c183ecc 100644
--- a/src/views/file/document-library/document-library.vue
+++ b/src/views/file/document-library/document-library.vue
@@ -1,12 +1,12 @@
-
+
-
+
{{ item.title }}
@@ -23,7 +23,8 @@
-
+
diff --git a/src/views/table/custom-table/custom-table.vue b/src/views/table/custom-table/custom-table.vue
index 3f5e513..e493720 100644
--- a/src/views/table/custom-table/custom-table.vue
+++ b/src/views/table/custom-table/custom-table.vue
@@ -1,25 +1,25 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -43,12 +43,12 @@
-
+
-
+
已上线
@@ -56,7 +56,7 @@
-
+
@@ -132,6 +132,7 @@
:bordered="{
cell: true
}"
+ :scroll="{ x: '100%', y: '100%', minWidth: 1000 }"
:columns="columnsShow"
:data="data"
:row-selection="rowSelection"
@@ -330,6 +331,9 @@ const exchangeArray = (columns: Array, oldIndex: number, newIndex: number)