剩下兑奖逻辑

This commit is contained in:
Andy Leong
2024-01-21 21:22:16 +08:00
parent 57b35eb7e4
commit 22a4a20c97
12 changed files with 114 additions and 86 deletions

View File

@@ -104,8 +104,7 @@ const showResult = (event) => {
subAnswer({}, userStore.token).then((res) => {
console.log("key:", res);
if (res.code == 0) {
userStore.updateDrawKey(res.data)
userStore.updateDrawKey(res.data);
}
});
}
@@ -218,11 +217,11 @@ onMounted(() => {
duration: 1.5,
ease: "slow(0.7,0.7,false)",
onStart: () => {
gsap.to(".question-bg", {
backgroundPosition: "0px 835px",
duration: 0.75,
ease: "slow(0.7,0.7,false)",
});
// gsap.to(".question-bg", {
// backgroundPosition: "0px 835px",
// duration: 0.75,
// ease: "slow(0.7,0.7,false)",
// });
},
})
.to(