修改看板

boardTest
夜笙歌 3 weeks ago
parent 5a28c2be10
commit 33732ea8b4

@ -484,7 +484,7 @@ export default {
}
}
</script>
<style lang="less">
<style lang="less" >
.almReminder {
position: fixed;
top: calc(15% + 2vw);

@ -830,6 +830,8 @@ export default {
}
},
mounted() {
console.log(document.getElementsByClassName('scTable1')[0])
document.getElementsByClassName('scTable1')[0].style.display = 'block'
this.$bus.$on('websocket-device-data', (e) => {
let deviceID = e?.deviceParam?.monitorId?.split('_')?.[0]
if (Object.keys(this.deviceData).includes(deviceID)) {
@ -848,11 +850,19 @@ export default {
}
})
},
methods: {}
methods: {},
beforeDestroy() {
console.log(1122, '31231')
document.getElementsByClassName('scTable1')[0].style.display = 'none'
}
}
</script>
<style lang="less" scoped>
.scTable1 {
display: block;
}
.deviceInfo {
position: absolute;
bottom: calc(2vw + 2vh);
@ -1256,16 +1266,6 @@ export default {
}
.scTable1 {
display: none;
position: absolute;
top: 48%;
left: 2.5%;
width: 20%;
height: 45%;
overflow: hidden;
}
.line:before {
content: "";
position: absolute;
@ -1490,7 +1490,4 @@ export default {
</style>
<style>
.scTable1 {
display: block;
}
</style>

Loading…
Cancel
Save