From e2c264f82c079dff76a797c259b14e4eb826723d Mon Sep 17 00:00:00 2001 From: Andy Leong Date: Thu, 1 Feb 2024 19:28:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=BD=E5=A5=96=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=85=B3=E9=97=AD=E4=B9=8B=E5=90=8E=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Draw.vue | 5 +++-- src/components/Result.vue | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Draw.vue b/src/components/Draw.vue index 8580e0e..0365e46 100644 --- a/src/components/Draw.vue +++ b/src/components/Draw.vue @@ -100,7 +100,7 @@ const hide = (event) => { duration: 0.3, autoAlpha: 0, onComplete: () => { - emit("DrawPage", "hide"); + emit("DrawPage", {action: "hide"}); }, }); }); @@ -116,7 +116,7 @@ const copyFn = (event) => { const entryAni = () => { - gsap.from(".DrawPage", { duration: 0.2, autoAlpha: 0 }); + gsap.to(".DrawPage", { duration: 0.2, autoAlpha: 1 }); gsap.from(".draw-container", { duration: 0.5, autoAlpha: 0, scale: 0.7 }); gsap.from(".draw-light", { duration: 3, @@ -170,6 +170,7 @@ onMounted(() => { @include fixed(); @include flexCen(); background-color: rgba($color: #000000, $alpha: 0.8); + visibility: hidden; // 抽奖弹窗样式 .draw-container { diff --git a/src/components/Result.vue b/src/components/Result.vue index 1aa2d89..9321464 100644 --- a/src/components/Result.vue +++ b/src/components/Result.vue @@ -354,7 +354,7 @@ const hideShare = () => { } .mbti-blessings-box { - @include pos(500px, 160px, 130px, 715px); + @include pos(600px, 160px, 130px, 710px); display: flex; flex-direction: column; justify-content: space-around;