From 84ac580ff152c638bf0ea1976c033bef74587a2d Mon Sep 17 00:00:00 2001 From: wangxy Date: Wed, 30 Jun 2021 14:46:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/base.css | 33 ++++++++++++++++----------------- src/views/etl/index.vue | 19 ++++++++++++++----- src/views/field/index.vue | 2 +- 3 files changed, 31 insertions(+), 23 deletions(-) diff --git a/src/assets/css/base.css b/src/assets/css/base.css index b0838ea..da1689b 100644 --- a/src/assets/css/base.css +++ b/src/assets/css/base.css @@ -17,48 +17,38 @@ body { height: 100%; } /* table样式 */ -/* .el-table--border { - border-left: 2px solid #D5D5D5; - border-right: 2px solid #D5D5D5; -} */ .el-table th { background: linear-gradient(180deg, #FAFCFC 0%, #EEEEEE 47%, #E7E7E7 100%); } -.el-table td, .el-table th.is-leaf { +.el-table--border td { border-bottom: 2px solid #D5D5D5; } -.el-table--border td, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed { +.el-table--border td { border-right: 2px solid #D5D5D5; } .el-table th.is-leaf { border-right: none !important; } +.el-table tr td:first-child { + border-left: 2px solid #D5D5D5; +} .el-table thead { color: #3D3D42; } .el-table th>.cell { font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; - /* font-weight: 500; */ color: #3D3D42; } .el-table .el-table__body .cell { font-size: 14px; font-family: PingFangSC-Medium, PingFang SC; - /* font-weight: 500; */ color: #5C5A5A; } -.el-table__body { - border-left: 2px solid #D5D5D5; - border-right: 2px solid #D5D5D5; - width: calc(100% + 1px) !important; - table-layout: initial; -} /* button样式 */ .el-button { color: #5C5A5A; border-radius: 2px; - /* box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25); */ border: 1px solid #C3C3C3; } .el-table:before { @@ -181,12 +171,21 @@ body { border: 1px solid #CCCCCC; } /* 默认滚动条样式 */ -::-webkit-scrollbar { +/* ::-webkit-scrollbar { width: 10px; height: 10px; background-color: #A8A8A8; +} */ +::-webkit-scrollbar { + width: 10px; + height: 10px; +} +::-webkit-scrollbar-thumb { + background: #ccc; +} +::-webkit-scrollbar-track { + background: #EDEDED; } - /* 浮动以及清除浮动 */ .fr { float: right; diff --git a/src/views/etl/index.vue b/src/views/etl/index.vue index 8a39d7f..35cd4b5 100644 --- a/src/views/etl/index.vue +++ b/src/views/etl/index.vue @@ -7,10 +7,10 @@ - + 搜索 重置 @@ -23,13 +23,13 @@ - + - +