优化代码

This commit is contained in:
wuxw 2022-09-26 21:22:20 +08:00
parent 9b634f393f
commit bbd15b83d3
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
<div :id="'receiverDiv'+item.machineId" style="border: 1px solid #dee2e6;">
<img width="100%" src="../../../img/init.jpg" height="300px" :id="'receiver'+item.machineId"
style="border: 1;" />
<img src="sdfsdf" style="position: absolute;left: 15px;bottom: 50px;"/>
<img :src="item.inOutImg" style="position: absolute;left: 15px;bottom: 50px;"/>
</div>
<div class="margin-top-sm margin-left-sm" style="font-size: 14px;" v-if="item.carNum">
<span class="fa fa-bell" style="color: #007bff;"></span>

View File

@ -39,7 +39,7 @@
_machines.forEach(item =>{
if(item.machineId == _data.extMachineId){
setTimeout(function() {
item.inOutImg = _data.img;
item.inOutImg = _data.img.replace('.jpg','_plate.jpg');
}, 1500);
}
})