Commit 4ee405022e06f0a5dfdf3cc619eaa81fc614a3c0

Authored by 王强
1 parent 1f5a8997

购好物,首页,“折扣专区”和“积分商城”图片渐入渐出切换时间调整为5秒~

src/pages/optimization2/optimization2.vue
... ... @@ -687,7 +687,7 @@
687 687  
688 688 // 切换折扣专区数据
689 689 this.fade(this.discountData, this.discountLists);
690   - }, 3000);
  690 + }, 5000);
691 691 }
692 692 }
693 693 });
... ... @@ -719,14 +719,14 @@
719 719 setTimeout(() => {
720 720  
721 721 // 随机生成轮训时间
722   - let timer = (parseInt(Math.random() * (500 + 1) + 3000, 10) || 3000);
  722 + let timer = (parseInt(Math.random() * (500 + 1) + 5000, 10) || 5000);
723 723  
724 724 // 轮训计时器
725 725 this.pointsData.interval = setInterval(() => {
726 726  
727 727 // 切换折扣专区数据
728 728 this.fade(this.pointsData, this.pointsLists);
729   - }, timer || 3000);
  729 + }, timer);
730 730 }, 1000);
731 731 }
732 732 }
... ...