diff --git a/src/views/page/largeScreen1.vue b/src/views/page/largeScreen1.vue index e3ab2d3..f746ce3 100644 --- a/src/views/page/largeScreen1.vue +++ b/src/views/page/largeScreen1.vue @@ -220,7 +220,7 @@ export default { left_: 2, popContentList: [], - popContentCurrent: 0, + popContentCurrent: 1, // 自动跳转和手动跳转切换 autoPlay: false, //false 手动切换 true 自动切换 @@ -666,8 +666,8 @@ export default { localStorage.setItem("autoPlay", JSON.stringify(this.autoPlay)); this.timer2 = setInterval(() => { this.popContentCurrent++; - if (this.popContentCurrent > 7) { - this.popContentCurrent = 0; + if (this.popContentCurrent > 6) { + this.popContentCurrent = 1; // this.$router.push({ path: "/largeScreen" }); } }, 3000); @@ -711,8 +711,8 @@ export default { this.timer2 = setInterval(() => { this.popContentCurrent++; console.log('this.popContentCurrent', this.popContentCurrent); - if (this.popContentCurrent > 7) { - this.popContentCurrent = 0; + if (this.popContentCurrent > 6) { + this.popContentCurrent = 1; // this.$router.push({ path: "/largeScreen" }); } }, 3000);