From 3a4e92acaa231be90348ebf2ff79956b47f884c5 Mon Sep 17 00:00:00 2001
From: zhengpz <1838927346@qq.com>
Date: Thu, 25 Nov 2021 15:34:59 +0800
Subject: [PATCH] 取消表格滚动条
---
src/views/home/index.scss | 47 +++++++++++++++++++++++++++++++++++++----------
1 files changed, 37 insertions(+), 10 deletions(-)
diff --git a/src/views/home/index.scss b/src/views/home/index.scss
index b3f7c47..6c4b929 100644
--- a/src/views/home/index.scss
+++ b/src/views/home/index.scss
@@ -238,12 +238,12 @@
}
}
.middle {
- .el-table {
- width: calc(100% - 40px);
- height: calc(100% - 65px);
- margin: 0px 20px 15px;
- top: 50px;
- }
+ // .el-table {
+ // width: calc(100% - 40px);
+ // height: calc(100% - 65px);
+ // margin: 0px 20px 15px;
+ // top: 50px;
+ // }
/deep/ .el-table--striped .el-table__body tr.el-table__row--striped td {
background: #031d4b !important;
}
@@ -405,10 +405,10 @@
.mapBtn:nth-child(3) {
margin-top: 160px;
}
- /deep/ .el-table__body-wrapper {
- overflow: auto;
- height: calc(100% - 50px);
- }
+ // /deep/ .el-table__body-wrapper {
+ // overflow: auto;
+ // height: calc(100% - 50px);
+ // }
}
.left2-btn {
height: 21px;
@@ -694,3 +694,30 @@
height: 77%;
}
}
+.bottom-table{
+ width: calc(100% - 40px);
+ height: 100%;
+ margin: 0px 20px 15px;
+ top: 50px;
+ .el-table{
+ width: 100%;
+ height: calc(100% - 65px);
+ top: 50px;
+ overflow-y: auto;
+ }
+}
+::-webkit-scrollbar{
+ display: none;
+}
+.dialog-table{
+ top: 0px !important;
+ margin: 0px !important;
+ width: 100% !important;
+ height: calc(100% - 50px) !important;
+ overflow: auto;
+ .el-table{
+ width: 100%;
+ height: 100%;
+ overflow: auto;
+ }
+}
--
Gitblit v1.9.3