| | |
| | | clearInterval(this.timer) |
| | | }, |
| | | mounted() { |
| | | this.loading() |
| | | //this.loading() |
| | | this.resizeLsit() |
| | | this.timer = setInterval(() => { |
| | | this.getTaskByDate() |
| | |
| | | } |
| | | }) |
| | | }, |
| | | loading() { |
| | | loading() { //出来 |
| | | const tl = this.gsap.timeline({defaults: {duration: 0.8}}) |
| | | animateShanFlash('.zhuangshi span',{ |
| | | duration: 1, |
| | | }) |
| | | tl.from('.YunweiBlock-wrap',{ |
| | | x: '-200', |
| | | autoAlpha: 0, |
| | | duration:0.8, |
| | | tl.fromTo('.YunweiBlock-wrap',{ |
| | | x: '-110%', |
| | | },{ |
| | | x: '0', |
| | | //autoAlpha: 0, |
| | | duration:1, |
| | | // ease: 'power2.out', |
| | | delay:0.5, |
| | | ease:'back.out(1.7)', |
| | | }) |
| | | }, |
| | | loading2() { //出来 |
| | | const tl = this.gsap.timeline({defaults: {duration: 0.8}}) |
| | | animateShanFlash('.zhuangshi span',{ |
| | | duration: 1, |
| | | }) |
| | | tl.fromTo('.YunweiBlock-wrap',{ |
| | | x: '0', |
| | | },{ |
| | | x: '-110%', |
| | | //autoAlpha: 0, |
| | | duration:1, |
| | | // ease: 'power2.out', |
| | | delay:0.5, |
| | | ease:'back.out(1.7)', |