Compare commits

..

No commits in common. "5aebb3309363ac8e6c81c4cf5d40ab3f9a2b023c" and "773ced60cdce56212cb875377d776f4c5e9ff0f7" have entirely different histories.

2 changed files with 12 additions and 26 deletions

View File

@ -11,11 +11,11 @@
</div>
<div class="calendar">
<img src="../../assets/img/calendar.png" alt="">
<span>2023.11.16</span>
<span>2023.10.30</span>
<span class="line"></span>
<span>星期</span>
<span>星期</span>
<span class="line"></span>
<span>15:39</span>
<span>14:17</span>
</div>
<div class="nav">
<div class="item">
@ -201,7 +201,6 @@
</template>
<script>
import { getnowtime } from '../../assets/js/nowTime'
import Swiper from '@/assets/js/swiper.min.js'
import '@/assets/js/swiper.min.css'
import { weather_echart, thisWeekTemperature_echart } from '@/assets/js/echarts'
@ -276,8 +275,6 @@ export default {
name: '风机', open: 0, status: []
},
statusList: [],
time: null,//
}
},
mounted() {
@ -300,14 +297,12 @@ export default {
this.drag_boxHandler()
// this.timer_ = setTimeout(() => {
// this.$router.push({ path: '/largeScreen1' })
// }, 6000);
this.timer_ = setTimeout(() => {
this.$router.push({ path: '/largeScreen1' })
}, 6000);
this.login()
this.getTime()
},
destroyed() {
this.timer_ = null
@ -441,15 +436,6 @@ export default {
return str.padStart(length, '0');
},
getTime() {
this.time = getnowtime()
console.log(this.time);
const that = this
setInterval(() => {
that.time = getnowtime()
}, 1000);
},
// Copy
get_readControl_getState(deviceId) {

View File

@ -191,15 +191,15 @@ export default {
mounted() {
this.drag_boxHandler()
// this.timer1 = setTimeout(() => {
// this.$router.push({ path: '/largeScreen' })
// }, 20000);
this.timer1 = setTimeout(() => {
this.$router.push({ path: '/largeScreen' })
}, 20000);
// this.timer = setInterval(() => {
// this.dialogVisible = !this.dialogVisible
// }, 3000);
this.timer = setInterval(() => {
this.dialogVisible = !this.dialogVisible
}, 3000);
this.login()