This commit is contained in:
wangchengming 2025-07-17 20:02:13 +08:00
parent 12d7132e2d
commit 85ce75b499

View File

@ -25,7 +25,7 @@
<img :src="closeImg" class="custom-icon" @click="closePropModal" />
</el-col>
</el-row>
<table>
<table class="myTable">
<thead>
<tr>
<th>部门</th>
@ -833,50 +833,50 @@ const initShunYi = () => {
cursor: pointer;
}
table {
.myTable {
width: 100%;
border-collapse: collapse;
}
th,
td {
border: 1px solid #ddd;
padding: 8px 12px;
text-align: left;
}
th,
td {
border: 1px solid #ddd;
padding: 8px 12px;
text-align: left;
}
th {
background-color: #787878;
color: #ffffff;
font-weight: 600;
font-size: 16px;
}
th {
background-color: #787878;
color: #ffffff;
font-weight: 600;
font-size: 16px;
}
/* 隔行变色 - 奇数行 */
tr {
background-color: #f5f5f5;
font-family: Microsoft YaHei;
font-weight: 400;
font-size: 16px;
text-align: left;
color: #000000;
}
/* 隔行变色 - 奇数行 */
tr {
background-color: #f5f5f5;
font-family: Microsoft YaHei;
font-weight: 400;
font-size: 16px;
text-align: left;
color: #000000;
}
/* 隔行变色 - 偶数行 */
tr:nth-child(even) {
background-color: #E4E4E4;
font-family: Microsoft YaHei;
font-weight: 400;
font-size: 16px;
text-align: left;
color: #000000;
}
/* 隔行变色 - 偶数行 */
tr:nth-child(even) {
background-color: #E4E4E4;
font-family: Microsoft YaHei;
font-weight: 400;
font-size: 16px;
text-align: left;
color: #000000;
}
.status-checked {
color: #00B32A;
}
.status-checked {
color: #00B32A;
}
.status-pending {
color: #E13434;
.status-pending {
color: #E13434;
}
}
</style>