机械化施工装备配置率

This commit is contained in:
cwchen 2025-10-29 17:22:09 +08:00
parent be5893b8bc
commit 7523e6c4be
1 changed files with 29 additions and 4 deletions

View File

@ -5,8 +5,9 @@
<div v-if="!showSecondPage"> <div v-if="!showSecondPage">
<el-table <el-table
:data="tableData" :data="tableData"
border
stripe
show-overflow-tooltip show-overflow-tooltip
:header-cell-style="headerCellStyle"
:cell-style="{ textAlign: 'center' }" :cell-style="{ textAlign: 'center' }"
class="custom-table" class="custom-table"
> >
@ -124,7 +125,7 @@ export default {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.equipment-table { .equipment-table {
padding: 20px; padding: 20px;
background: #fff; background: #fff;
@ -142,8 +143,8 @@ export default {
.diagonal-header { .diagonal-header {
width: 100%; width: 100%;
background-color: #00a288; // background-color: #00a288;
color: white; // color: white;
position: relative; position: relative;
height: 40px; height: 40px;
font-size: 12px; font-size: 12px;
@ -193,5 +194,29 @@ export default {
border: 1px solid #ebeef5; border: 1px solid #ebeef5;
text-align: center; text-align: center;
} }
::v-deep .el-table {
//
&.el-table--striped .el-table__body {
tr.el-table__row--striped td {
background-color: #F6FBFA !important; //
}
}
.el-table__header {
background: #E9F0EE;
th {
background: #E9F0EE !important;
color: #606266;
font-weight: 600;
height: 50px;
}
}
&.el-table--striped .el-table__body tr.el-table__row:hover>td.el-table__cell {
background-color: #CCF1E9 !important;
}
}
</style> </style>