From e765d3974558793043740a7ca46d6b1bc5e260d7 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期一, 11 四月 2022 17:57:43 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/pages/components/jiuyeQingkuang/chengzhenXinzengJiuye.vue | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/src/pages/components/jiuyeQingkuang/chengzhenXinzengJiuye.vue b/src/pages/components/jiuyeQingkuang/chengzhenXinzengJiuye.vue
index 757b421..a7853e9 100644
--- a/src/pages/components/jiuyeQingkuang/chengzhenXinzengJiuye.vue
+++ b/src/pages/components/jiuyeQingkuang/chengzhenXinzengJiuye.vue
@@ -3,6 +3,7 @@
<el-table
border
:data="tableData"
+ :header-cell-style="handleheader"
style="width: 100%">
<el-table-column
prop="shiqu"
@@ -101,6 +102,13 @@
address: '624'
}]
}
+ },
+ methods: {
+ handleheader(data) {
+ return {
+ lineHeight: '0',
+ }
+ }
}
}
</script>
@@ -109,12 +117,12 @@
@import "../../../assets/css/base";
.chengzhenXinzengJiuye-wrap{
width: 100%;
- margin-top: 2rem;
+ margin-top: 0.078125rem /* 20/256 */;
.el-table th.el-table__cell{
background-color:$color-blue;
}
- .el-table tr{
- height: 6.4rem;
+ .el-table .el-table__body-wrapper tr{
+ height: 0.25rem /* 64/256 */;
}
.el-table tr:nth-child(odd){
background-color: #CEF2FF;
@@ -138,10 +146,10 @@
line-height: 1;
}
.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{
- border-bottom:1px solid $color-grey; /*no*/
+ border-bottom:1Px solid $color-grey; /*no*/
}
.el-table--border .el-table__cell, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{
- border-right:1px solid $color-grey; /*no*/
+ border-right:1Px solid $color-grey; /*no*/
}
}
</style>
--
Gitblit v1.9.1