From f0b2b04b1b43d4891c1808ad060b9959f9a1209c Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期二, 25 七月 2023 14:29:42 +0800 Subject: [PATCH] 内容修改 --- src/pages/show/showIndex/YunweiBlock.vue | 36 +++++++++++++++++++++++++++--------- 1 files changed, 27 insertions(+), 9 deletions(-) diff --git a/src/pages/show/showIndex/YunweiBlock.vue b/src/pages/show/showIndex/YunweiBlock.vue index 80574fb..8c82814 100644 --- a/src/pages/show/showIndex/YunweiBlock.vue +++ b/src/pages/show/showIndex/YunweiBlock.vue @@ -164,7 +164,7 @@ clearInterval(this.timer) }, mounted() { - this.loading() + //this.loading() this.resizeLsit() this.timer = setInterval(() => { this.getTaskByDate() @@ -223,20 +223,38 @@ } }) }, - 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, - // ease: 'power2.out', - delay:0.5, - ease:'back.out(1.7)', + 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)', + }) + }, headerCellName(obj) { return 'kehuxinxiBox' }, -- Gitblit v1.9.1