From 4907618343198c0c772fce47e1a4a44500637c1f Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期三, 14 四月 2021 15:40:53 +0800
Subject: [PATCH] 弹出框表格问题修改
---
src/components/BaseNav/PublicBounced/common/PublicTable.vue | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/components/BaseNav/PublicBounced/common/PublicTable.vue b/src/components/BaseNav/PublicBounced/common/PublicTable.vue
index 4b610e3..1515187 100644
--- a/src/components/BaseNav/PublicBounced/common/PublicTable.vue
+++ b/src/components/BaseNav/PublicBounced/common/PublicTable.vue
@@ -13,7 +13,7 @@
<span></span>
<span></span>
<div class="main-table">
- <el-table :data="listData" style="width: 100%" height="255px" :row-class-name="tableRowClassName">
+ <el-table :data="listData" style="width: 100%" height="325px" :row-class-name="tableRowClassName">
<el-table-column v-for="(item, index) in listLabel" :key="index" :prop="item.prop"
:label="item.label" :show-overflow-tooltip="true"></el-table-column>
</el-table>
@@ -62,7 +62,7 @@
},
mounted () {
this.$nextTick(() => {
- this.listData.push(this.displayContentTable[0], {}, {})
+ this.listData.push(this.displayContentTable[0], {}, {}, {}, {}, {}, {})
})
},
methods: {
@@ -100,8 +100,12 @@
// //border: 1px red solid;
// }
//}
-/deep/ .el-table td, .el-table th.is-leaf {
- border-bottom: none;
+/deep/ .el-table td {
+ border-bottom: none !important;
+}
+
+/deep/ .el-table th.is-leaf {
+ border-bottom: none !important;
}
/deep/ .el-table td {
@@ -109,6 +113,10 @@
line-height: 45px !important;
}
+/deep/ .el-table tbody tr:hover > td {
+ background: none !important
+}
+
.main {
position: relative;
background: rgba(33, 41, 69, 0.9);
--
Gitblit v1.8.0