From c2865c8c763148fad85368e0995e15b0e863eb15 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 23 十一月 2022 09:09:15 +0800
Subject: [PATCH] 1.解决固定表格滚动条高低像素差
---
src/views/scgl/scdd.vue | 5 ++---
src/styles/global.css | 6 ++++++
src/layout/components/Sidebar/index.vue | 4 ++++
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index b66020e..55495dd 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -152,4 +152,8 @@
color: #ffffff;
cursor: default;
}
+
+.el-menu{
+ background-color: #213145 !important;
+}
</style>
diff --git a/src/styles/global.css b/src/styles/global.css
index f407cab..7565ce7 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -151,3 +151,9 @@
/*scrollbar END*/
+.el-table__fixed::before{
+ height: 0 !important;
+}
+.el-table__fixed-right::before{
+ height: 0 !important;
+}
diff --git a/src/views/scgl/scdd.vue b/src/views/scgl/scdd.vue
index 2ec5bd2..18b0ff6 100644
--- a/src/views/scgl/scdd.vue
+++ b/src/views/scgl/scdd.vue
@@ -150,9 +150,8 @@
v-model="radioSelectedId"
:label="row.id"
style="color: transparent;padding-left: 10px;"
-
/>
-<!-- @change.native="getCurrentRow(row.id)"-->
+ <!-- @change.native="getCurrentRow(row.id)"-->
</template>
</el-table-column>
<el-table-column
@@ -589,7 +588,7 @@
getCurrentRow(id) {
this.radioSelectedId = id
},
- rowClick(row){
+ rowClick(row) {
this.radioSelectedId = row.id
},
// 璁㈠崟鍏抽棴
--
Gitblit v1.9.3