驱采绘制点击变背景色

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

View File

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