From 3e99bb8ad95c635937cc37b9322b4c27e6ce7c0f Mon Sep 17 00:00:00 2001 From: zhangyibo95 <690096405@qq.com> Date: Wed, 1 Jul 2026 11:52:03 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=96=B0=E6=89=8B=E6=95=99=E7=A8=8B?= =?UTF-8?q?=E6=96=B0=E5=A2=9Evip=E7=89=B9=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/first-try.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/first-try.vue b/src/pages/first-try.vue index cc40e37..9eef54c 100644 --- a/src/pages/first-try.vue +++ b/src/pages/first-try.vue @@ -29,6 +29,7 @@ import { storeToRefs } from "pinia"; const store = useStore(); const { user } = storeToRefs(store); const scores = ref([]); +const isSvip = ref(false); const step = ref(0); const total = 12; const stepButtonTexts = [ @@ -114,6 +115,7 @@ const onOver = async () => { async function onReceiveMessage(msg) { if (msg.type === MESSAGETYPESV2.ShootResult) { + isSvip.value = msg.sVip === true; scores.value = msg.details; } else if (msg.type === MESSAGETYPESV2.BattleEnd) { setTimeout(onOver, 1500); @@ -204,6 +206,7 @@ const nextStep = async () => { title.value = "小试牛刀"; await startPractiseAPI(); scores.value = []; + isSvip.value = false; step.value = 5; start.value = true; setTimeout(() => { @@ -230,6 +233,7 @@ const onClose = async () => { practiseResult.value = {}; start.value = false; scores.value = []; + isSvip.value = false; step.value = 4; const result = await createPractiseAPI(total, 120); if (result) practiseId.value = result.id; @@ -343,6 +347,7 @@ const onClose = async () => { :currentRound="step === 5 ? scores.length : 0" :totalRound="step === 5 ? total : 0" :scores="scores" + :isSvip="isSvip" />