新手试炼页面完善

This commit is contained in:
kron
2025-05-15 12:43:40 +08:00
parent a949786226
commit 34c9dd00e2
7 changed files with 67 additions and 26 deletions

View File

@@ -59,29 +59,51 @@ const onClose = () => {
>这是我们人帅技高的高教练首先请按教练示范尝试自己去做这些动作和手势吧</text
>
<view v-if="step === 2">
<text :style="{ color: '#fed847' }">你知道5米射程有多远吗</text>
<text>
在我们的排位赛中射程小于5米的成绩无效建议平时练习距离至少5米现在来边射箭边调整你的站位点吧
</text>
<view :style="{ display: 'flex', flexDirection: 'column' }">
<text :style="{ color: '#fed847' }">你知道5米射程有多远吗</text>
<text>
在我们的排位赛中射程小于5米的成绩无效建议平时练习距离至少5米现在来边射箭边调整你的站位点吧
</text>
</view>
</view>
<view v-if="step === 3">
<text :style="{ color: '#fed847' }">一切准备就绪</text>
<text>试着完成一个真正的弓箭手任务吧</text>
<view :style="{ display: 'flex', flexDirection: 'column' }">
<text :style="{ color: '#fed847' }">一切准备就绪</text>
<text>试着完成一个真正的弓箭手任务吧</text>
</view>
</view>
<view v-if="step === 5">
<text :style="{ color: '#fed847' }">新手试炼场通关啦优秀</text>
<text
>反曲弓运动基本知识和射灵世界系统规则你已Get是不是挺容易呀</text
<view
:style="{ display: 'flex', flexDirection: 'column', marginTop: 20 }"
>
<text :style="{ color: '#fed847' }">新手试炼场通关啦优秀</text>
<text
>反曲弓运动基本知识和射灵世界系统规则你已Get是不是挺容易呀</text
>
<!-- 这行是占位用的 -->
<text :style="{ opacity: 0 }">新手试炼场通关啦优秀</text>
</view>
</view>
</Guide>
<image
src="../static/first-try-tip.png"
class="try-tip"
mode="widthFix"
v-if="step === 0 || step === 5"
v-if="step === 0"
/>
<view style="height: 450px" v-if="step === 1">
<image
src="../static/first-try-tip2.png"
class="try-tip"
mode="widthFix"
v-if="step === 3"
/>
<image
src="../static/first-try-tip3.png"
class="try-tip"
mode="widthFix"
v-if="step === 5"
/>
<view style="height: 570px" v-if="step === 1">
<Swiper
:data="[
'../static/first-try-tip.png',
@@ -106,12 +128,6 @@ const onClose = () => {
v-if="step === 4"
:onClose="onClose"
/>
<image
src="../static/first-try-tip.png"
class="try-tip"
mode="widthFix"
v-if="step === 3"
/>
<SButton v-if="step !== 4" :onClick="nextStep">{{
stepButtonTexts[step]
}}</SButton>