代码提交

This commit is contained in:
lixiaobang 2023-05-19 09:17:36 +08:00
parent 01470cda34
commit ce2c247386
5 changed files with 19 additions and 6 deletions

View File

@ -262,7 +262,7 @@ export default {
#app { #app {
// width: 6144px; // width: 6144px;
// height: 1920px; // height: 1920px;
background: rgba(1, 1, 7, 0); background: rgba(1, 1, 7, 1);
// overflow: hidden; // overflow: hidden;
.header { .header {
height: 11%; height: 11%;

View File

@ -388,6 +388,7 @@ export default {
mouseOver() { mouseOver() {
let that = this; let that = this;
clearInterval(that.intervalTime); clearInterval(that.intervalTime);
that.intervalTime = null
}, },
mouseLeave() { mouseLeave() {
this.autoScroll2(67, 50, 0, document.getElementById("courtHouse")); this.autoScroll2(67, 50, 0, document.getElementById("courtHouse"));
@ -396,6 +397,7 @@ export default {
mouseOver2() { mouseOver2() {
let that = this; let that = this;
clearInterval(that.intervalTime1); clearInterval(that.intervalTime1);
that.intervalTime1 = null
}, },
mouseLeave2() { mouseLeave2() {
let name = 'courtHouse2' let name = 'courtHouse2'
@ -405,6 +407,7 @@ export default {
mouseOver3() { mouseOver3() {
let that = this; let that = this;
clearInterval(that.intervalTime2); clearInterval(that.intervalTime2);
that.intervalTime2 = null
}, },
mouseLeave3() { mouseLeave3() {
let name = 'courtHouse3' let name = 'courtHouse3'

View File

@ -1113,9 +1113,12 @@ export default {
mouseOver() { mouseOver() {
let that = this let that = this
clearInterval(that.interval); clearInterval(that.interval);
that.interval = null
}, },
mouseLeave() { mouseLeave() {
if (this.interval == null) {
this.autoScroll(67, 50, 0, document.getElementById("equipmentWarnList")); this.autoScroll(67, 50, 0, document.getElementById("equipmentWarnList"));
}
}, },
}, },
beforeDestroy() { beforeDestroy() {

View File

@ -650,7 +650,7 @@ export default {
buildingId: this.selectValue.value, //id buildingId: this.selectValue.value, //id
customerId: "12345678", customerId: "12345678",
date: this.value1, date: this.value1,
dateType: 1, dateType: 3,
meterType: "1", //1.,2. meterType: "1", //1.,2.
pbuildingId: this.selectValue.parentId, //id pbuildingId: this.selectValue.parentId, //id
}; };
@ -696,7 +696,7 @@ export default {
buildingId: this.selectValue.value, //id buildingId: this.selectValue.value, //id
customerId: "12345678", customerId: "12345678",
date: this.value3, date: this.value3,
dateType: 3, dateType: 1,
meterType: "1", //1.,2. meterType: "1", //1.,2.
pbuildingId: this.selectValue.parentId, //id pbuildingId: this.selectValue.parentId, //id
}; };
@ -1743,9 +1743,12 @@ export default {
mouseOver() { mouseOver() {
let that = this let that = this
clearInterval(that.interval); clearInterval(that.interval);
that.interval = null
}, },
mouseLeave() { mouseLeave() {
this.autoScroll(67, 50, 0, document.getElementById("warnList")); if (this.interval == null) {
this.autoScroll(67, 50, 0, document.getElementById("warnList"));
}
}, },
}, },
beforeDestroy() { beforeDestroy() {

View File

@ -809,6 +809,7 @@ export default {
mouseOver() { mouseOver() {
let that = this; let that = this;
clearInterval(that.intervalTime); clearInterval(that.intervalTime);
that.intervalTime = null
}, },
mouseLeave() { mouseLeave() {
let name = 'fire' let name = 'fire'
@ -818,10 +819,13 @@ export default {
mouseOver1() { mouseOver1() {
let that = this; let that = this;
clearInterval(that.intervalTime1); clearInterval(that.intervalTime1);
that.intervalTime1 = null
}, },
mouseLeave1() { mouseLeave1() {
let name = 'police' if (this.intervalTime1 == null) {
this.autoScroll(67, 50, 0, document.getElementById("police"),name); let name = 'police'
this.autoScroll(67, 50, 0, document.getElementById("police"),name);
}
}, },
}, },
beforeDestroy() { beforeDestroy() {