From b796339c1ceebc8f446670ef8c1558006db983e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Mon, 4 Jul 2022 02:01:50 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F(table):=20=E4=B8=A5=E6=A0=BC?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=20table=20=E8=BE=B9=E6=A1=86=E4=B8=8E?= =?UTF-8?q?=E9=94=99=E4=BD=8D=E5=83=8F=E7=B4=A0,=20=E5=BE=85=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/src/component/table/index.less | 29 ++++--------------- .../component/src/component/table/index.vue | 3 +- 2 files changed, 7 insertions(+), 25 deletions(-) diff --git a/package/component/src/component/table/index.less b/package/component/src/component/table/index.less index d47cf660..70210d61 100644 --- a/package/component/src/component/table/index.less +++ b/package/component/src/component/table/index.less @@ -376,29 +376,6 @@ position: relative; overflow: auto; margin-bottom: -1px; - &::-webkit-scrollbar { - width: 13px; - height: 13px; - } - - &::-webkit-scrollbar-thumb { - background-color: rgba(0, 0, 0, 0.2); - background-clip: padding-box; - border: 3px solid transparent; - border-radius: 7px; - } - - &::-webkit-scrollbar-thumb:hover { - background-color: rgba(0, 0, 0, 0.5); - } - - &::-webkit-scrollbar-track { - background-color: transparent; - } - - &::-webkit-scrollbar-track:hover { - background-color: #f8fafc; - } } .layui-table-body .layui-none { @@ -437,8 +414,14 @@ display: block; background: white; position: sticky!important; + border-left: 1px solid #eee!important; + border-right: none!important; } +.layui-table-view .layui-table tr th:last-child, +.layui-table-view .layui-table tr td:last-child { + border-right: none!important; +} .layui-table-mend { position: absolute; diff --git a/package/component/src/component/table/index.vue b/package/component/src/component/table/index.vue index 94ca473f..f8c09e55 100644 --- a/package/component/src/component/table/index.vue +++ b/package/component/src/component/table/index.vue @@ -6,7 +6,7 @@ export default {