This commit is contained in:
kron
2026-01-12 10:09:36 +08:00
parent 88fbc93d97
commit 121d0e36f3
7 changed files with 22 additions and 18 deletions

View File

@@ -153,7 +153,7 @@ const onClose = () => {
</script>
<template>
<Container :bgType="1" :title="title">
<Container :bgType="1" :title="title" :showBottom="step !== 4">
<view class="container">
<Guide
v-if="step !== 4"
@@ -261,7 +261,7 @@ const onClose = () => {
<canvas class="share-canvas" id="shareCanvas" type="2d"></canvas>
</view>
<template #bottom>
<SButton v-if="step !== 4" :onClick="nextStep" :disabled="btnDisabled">
<SButton :onClick="nextStep" :disabled="btnDisabled">
<BubbleTip v-if="showGuide" :type="step === 1 ? 'long' : 'short'">
<text :style="{ transform: 'translateY(-18rpx)' }">{{
step === 1 ? "学会了,我摆得比教练还帅" : "我找到合适的点位了"

View File

@@ -159,7 +159,7 @@ onShareTimeline(() => {
mode="widthFix"
@click="() => toPage('/pages/first-try')"
/>
<BubbleTip v-if="showGuide" :location="{ top: '60%', left: '40%' }">
<BubbleTip v-if="showGuide" :location="{ top: '60%', left: '47%' }">
<text>新人必刷</text>
<text>快来报到吧~</text>
</BubbleTip>

View File

@@ -59,11 +59,7 @@ const shareImage = async () => {
<view>
<image src="../static/point-champion.png" mode="widthFix" />
<image
:src="
list[0] && list[0].avatar
? list[0].avatar
: '../static/user-icon.png'
"
:src="list[0] && list[0].avatar ? list[0].avatar : ''"
mode="widthFix"
/>
</view>
@@ -78,7 +74,11 @@ const shareImage = async () => {
<text>本周箭数</text>
<text>消耗</text>
</view>
<view class="data-list" :style="{ marginBottom: '20rpx' }" v-if="user.id && mine">
<view
class="data-list"
:style="{ marginBottom: '20rpx' }"
v-if="user.id && mine"
>
<PointRankItem :data="mine" :borderWidth="0" />
</view>
<view

View File

@@ -109,7 +109,7 @@ onBeforeUnmount(() => {
</script>
<template>
<Container :bgType="1" title="个人单组练习">
<Container :bgType="1" title="个人单组练习" :showBottom="!start && !scores.length">
<view>
<TestDistance v-if="!practiseId" />
<block v-if="practiseId">
@@ -156,7 +156,7 @@ onBeforeUnmount(() => {
</block>
</view>
<template #bottom>
<SButton v-if="!start" :onClick="onReady">准备好了直接开始</SButton>
<SButton :onClick="onReady">准备好了直接开始</SButton>
</template>
</Container>
</template>

View File

@@ -102,7 +102,7 @@ onBeforeUnmount(() => {
</script>
<template>
<Container :bgType="1" title="日常耐力挑战">
<Container :bgType="1" title="日常耐力挑战" :showBottom="!start && !scores.length">
<view>
<TestDistance v-if="!practiseId" />
<block v-if="practiseId">
@@ -151,7 +151,7 @@ onBeforeUnmount(() => {
</block>
</view>
<template #bottom>
<SButton v-if="!start" :onClick="onReady">准备好了直接开始</SButton>
<SButton :onClick="onReady">准备好了直接开始</SButton>
</template>
</Container>
</template>