pc-master #49
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue