From 57b35eb7e4c335226bacf7f4cb7ec6775f1d89a3 Mon Sep 17 00:00:00 2001 From: Andy Leong Date: Sun, 21 Jan 2024 01:32:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E7=94=BB=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Index.vue | 45 ++++++-- src/components/MyPrize.vue | 2 +- src/components/Result.vue | 45 ++++++++ src/components/Rule.vue | 202 +++++++++++++++++--------------- src/page/Cash/App.vue | 231 ++++++++++++++++++------------------- 5 files changed, 305 insertions(+), 220 deletions(-) diff --git a/src/components/Index.vue b/src/components/Index.vue index 7790d06..9baf4d1 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -2,10 +2,10 @@ import { Toast } from "vant"; import { debounceTap } from "@/plugins"; import gsap from "gsap"; -import { useMainStore } from '@/store' +import { useMainStore } from "@/store"; const emit = defineEmits(["IndexPage"]); -const userStore = useMainStore() +const userStore = useMainStore(); const start = (event) => { debounceTap(event.target, () => { @@ -13,7 +13,7 @@ const start = (event) => { gsap.to(".IndexPage", { duration: 0.5, autoAlpha: 0, - onComplete: () => { }, + onComplete: () => {}, }); }); }; @@ -32,7 +32,6 @@ const showRule = (event) => { }); }; - const clockAni = () => { gsap.to(".index-clock-h", { duration: 12, @@ -55,6 +54,28 @@ const clockAni = () => { }; onMounted(() => { + gsap.from(".index-bg", { duration: 1, scale: 1.2, autoAlpha: 0 }); + gsap.from(".index-title", { duration: 1, y: 20, autoAlpha: 0 }); + gsap.from(".index-rule-btn", { duration: 1, x: -100, autoAlpha: 0 }); + gsap.from(".index-prize-btn", { + duration: 1, + x: -100, + autoAlpha: 0, + delay: 0.3, + }); + gsap.from(".index-start-btn", { + duration: 1, + y: 30, + autoAlpha: 0, + delay: 0.5, + }); + gsap.from(".index-agreement", { + duration: 1, + scale: 0.4, + autoAlpha: 0, + delay: 0.5, + }); + clockAni(); }); @@ -72,13 +93,21 @@ onMounted(() => {
-
+
风险提示:本材料由平安理财有限责任公司(以下简称“平安理财”)制作并提供。本资料内容及观点仅供参考,不构成对任何人的投资建议。以上产品投资管理机构/管理人为平安理财,代理销售机构不承担产品的投资、兑付和风险管理的责任。以上产品通过代理销售机构渠道销售的,产品风险评级应当以代理销售机构最终披露的评级结果为准。以上产品为非保本浮动收益理财产品,具体以产品说明书或产品公告披露为准。产品的业绩比较基准指管理人基于过往投资经验以及对产品存续期投资市场波动的预判而对本产品所设定的投资目标,业绩比较基准不是预期收益率,不代表产品的未来表现和实际收益,不构成对产品收益的承诺。理财产品过往业绩不代表其未来表现,不等于理财产品实际收益,投资须谨慎。过往业绩相关数据已经托管人核对。理财非存款,产品有风险,投资须谨慎。金融消费者不得利用金融产品和服务从事违法活动。 + class="b" + >本资料内容及观点仅供参考,不构成对任何人的投资建议。以上产品投资管理机构/管理人为平安理财,代理销售机构不承担产品的投资、兑付和风险管理的责任。以上产品通过代理销售机构渠道销售的,产品风险评级应当以代理销售机构最终披露的评级结果为准。以上产品为非保本浮动收益理财产品,具体以产品说明书或产品公告披露为准。产品的业绩比较基准指管理人基于过往投资经验以及对产品存续期投资市场波动的预判而对本产品所设定的投资目标,业绩比较基准不是预期收益率,不代表产品的未来表现和实际收益,不构成对产品收益的承诺。理财产品过往业绩不代表其未来表现,不等于理财产品实际收益,投资须谨慎。过往业绩相关数据已经托管人核对。理财非存款,产品有风险,投资须谨慎。金融消费者不得利用金融产品和服务从事违法活动。
diff --git a/src/components/MyPrize.vue b/src/components/MyPrize.vue index 914511b..00d214b 100644 --- a/src/components/MyPrize.vue +++ b/src/components/MyPrize.vue @@ -36,7 +36,7 @@ const hide = (event) => { const entryAni = () => { gsap.from(".MyPrizePage", { duration: 0.2, autoAlpha: 0 }); - gsap.from(".myPrize-container", { duration: 0.5, autoAlpha: 0, scale: 0.7 }); + gsap.from(".myPrize-container", { duration: 1, autoAlpha: 0, scale: 0.7 }); }; onMounted(() => { diff --git a/src/components/Result.vue b/src/components/Result.vue index 533ce2c..1c65fbd 100644 --- a/src/components/Result.vue +++ b/src/components/Result.vue @@ -56,6 +56,51 @@ onMounted(() => { .catch((err) => { console.error(err); }); + + gsap.from(".result-bg", { + duration: 0.7, + scale: 1.2, + autoAlpha: 0, + }); + gsap.from(".mbti-title", { + duration: 0.7, + x: 100, + autoAlpha: 0, + delay: 0.3, + }); + gsap.from(".des", { + duration: 0.7, + x: 100, + autoAlpha: 0, + stagger: 0.3, + delay: 0.5, + }); + gsap.from(".blessings", { + duration: 0.7, + x: 100, + autoAlpha: 0, + stagger: 0.2, + delay: 0.6, + }); + gsap.from(".product", { + duration: 0.7, + x: 100, + autoAlpha: 0, + delay: 0.9, + }); + gsap.from(".produc-img", { + duration: 0.7, + x: 100, + autoAlpha: 0, + delay: 1.2, + }); + gsap.from(".theme-tab", { + duration: 0.7, + x: 100, + autoAlpha: 0, + stagger: 0.3, + delay: 1.4, + }); }); const createPoster = (event) => { diff --git a/src/components/Rule.vue b/src/components/Rule.vue index 9f10bfd..6a6ea7c 100644 --- a/src/components/Rule.vue +++ b/src/components/Rule.vue @@ -1,117 +1,137 @@ \ No newline at end of file diff --git a/src/page/Cash/App.vue b/src/page/Cash/App.vue index edee392..ebb9ca1 100644 --- a/src/page/Cash/App.vue +++ b/src/page/Cash/App.vue @@ -1,150 +1,136 @@ -