diff --git a/src/style/global-scrollbar.scss b/src/style/global-scrollbar.scss index 63f0a1b..b0fe742 100644 --- a/src/style/global-scrollbar.scss +++ b/src/style/global-scrollbar.scss @@ -8,21 +8,21 @@ ::-webkit-scrollbar-thumb { width: 6px; border-radius: 6px; - background-color: $color-border-2; + background-color: $color-border-3; } // 设置滚动条hover样式,宽、圆角、背景颜色 ::-webkit-scrollbar-thumb:hover { width: 6px; - background-color: $color-border-3; + background-color: $color-border-4; } // 设置IE/Edge浏览器滚动条的样式,与webkit内核浏览器样式相同 ::-ms-scrollbar-thumb { width: 6px; border-radius: 6px; - background-color: $color-border-2; + background-color: $color-border-3; } ::-ms-scrollbar-thumb:hover { width: 6px; - background-color: $color-border-3; + background-color: $color-border-4; } diff --git a/src/style/global-style.scss b/src/style/global-style.scss index 2e89a13..1fe6166 100644 --- a/src/style/global-style.scss +++ b/src/style/global-style.scss @@ -2,13 +2,11 @@ // 有背景色的页面 .snow-page { - // margin 和 padding 边距一致,是为了保持视觉上的内外统一 - // margin: $padding; - box-sizing: border-box; flex: 1; padding: $padding; + box-sizing: border-box; overflow-y: auto; - background: $color-bg-1; + background: $color-fill-1; } // 没有背景色的页面 diff --git a/src/views/file-management/document-library/components/file-tree.vue b/src/views/file-management/document-library/components/file-tree.vue index d441716..c9312da 100644 --- a/src/views/file-management/document-library/components/file-tree.vue +++ b/src/views/file-management/document-library/components/file-tree.vue @@ -90,8 +90,7 @@ const sourceTree = ref(fileTreeData.tree); } } -// 修改底部横向滚动条高度 -:deep(.arco-scrollbar-thumb-direction-horizontal .arco-scrollbar-thumb-bar) { - height: 4px; +:deep(.arco-scrollbar-thumb-bar) { + width: 4px; } diff --git a/src/views/file-management/document-library/document-library.vue b/src/views/file-management/document-library/document-library.vue index 7e69eff..facc721 100644 --- a/src/views/file-management/document-library/document-library.vue +++ b/src/views/file-management/document-library/document-library.vue @@ -1,25 +1,23 @@ - +