diff --git a/src/components/Table/src/BasicTable.vue b/src/components/Table/src/BasicTable.vue index e358389..c69c34b 100644 --- a/src/components/Table/src/BasicTable.vue +++ b/src/components/Table/src/BasicTable.vue @@ -434,7 +434,7 @@ /* 整个滚动条的样式 */ ::-webkit-scrollbar { - width: 10px; + width: 8px; height: 8px; } @@ -446,7 +446,7 @@ /* 滚动条滑块 */ ::-webkit-scrollbar-thumb { - background: transparent; + background: #a3a3a3; border-radius: 10px; } diff --git a/src/design/index.less b/src/design/index.less index ebfb346..3185810 100644 --- a/src/design/index.less +++ b/src/design/index.less @@ -90,6 +90,9 @@ ul { color: rgba(0, 0, 0, 0.8) !important; background: rgba(0, 0, 0, 0.01) !important; } +.ant-table .ant-table-body{ + overflow: auto !important; +} @font-face { font-family: 'PingFangSC-Medium'; src: url('/public/datamaintenance/fonts/PingFangSC-Medium.ttf') format('truetype'); diff --git a/src/design/public.less b/src/design/public.less index 0323b84..ee15611 100644 --- a/src/design/public.less +++ b/src/design/public.less @@ -8,7 +8,7 @@ // ================================= ::-webkit-scrollbar { - width: 7px; + width: 8px; height: 8px; } @@ -18,18 +18,22 @@ ::-webkit-scrollbar-track { background-color: rgb(0 0 0 / 5%); + border-radius: 10px; } ::-webkit-scrollbar-thumb { // background-color: rgba(144, 147, 153, 0.3); - border-radius: 2px; - // background: rgba(0, 0, 0, 0.6); - background-color: rgb(144 147 153 / 30%); - box-shadow: inset 0 0 6px rgb(0 0 0 / 20%); + // border-radius: 2px; + // // background: rgba(0, 0, 0, 0.6); + // background-color: rgb(144 147 153 / 30%); + // box-shadow: inset 0 0 6px rgb(0 0 0 / 20%); + background: #a3a3a3; + border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { - background-color: @border-color-dark; + // background-color: @border-color-dark; + background: #c7c7c7; } ::-webkit-scrollbar-corner { diff --git a/src/views/demo/Categories/index.vue b/src/views/demo/Categories/index.vue index 583f4dd..cc07167 100644 --- a/src/views/demo/Categories/index.vue +++ b/src/views/demo/Categories/index.vue @@ -1,21 +1,37 @@