驱采绘制点击变背景色

This commit is contained in:
joylink_zhaoerwei 2024-06-27 16:40:19 +08:00
parent d4c5e5a4a8
commit 530a6cf1a3
2 changed files with 14 additions and 0 deletions

View File

@ -10,6 +10,10 @@
col > 1 &&
ciCjList?.cjList[col - 2].bitList[row - 2].refRelays.length,
changeCellSize: col == 1,
clickHeightLight:
relayCabinetStore.editCiCjConfigIndex &&
relayCabinetStore.editCiCjConfigIndex.row == row - 1 &&
relayCabinetStore.editCiCjConfigIndex.col == col - 1,
}"
v-for="col in showSetCellMessage.cols"
:key="col"
@ -216,4 +220,7 @@ function onMouseOver(e: MouseEvent) {
.heightLight {
background-color: orange;
}
.clickHeightLight {
background-color: red;
}
</style>

View File

@ -10,6 +10,10 @@
col > 1 &&
ciQdList?.qdList[col - 2].bitList[row - 2].refRelays.length,
changeCellSize: col == 1,
clickHeightLight:
relayCabinetStore.editCiCjConfigIndex &&
relayCabinetStore.editCiCjConfigIndex.row == row - 1 &&
relayCabinetStore.editCiCjConfigIndex.col == col - 1,
}"
v-for="col in showSetCellMessage.cols"
:key="col"
@ -212,4 +216,7 @@ function onMouseOver(e: MouseEvent) {
.heightLight {
background-color: orange;
}
.clickHeightLight {
background-color: red;
}
</style>