气泡调整

This commit is contained in:
kron
2025-07-13 11:38:54 +08:00
parent 6b3fc6d059
commit 12a24464c2
6 changed files with 24 additions and 16 deletions

View File

@@ -260,11 +260,7 @@ const onClose = () => {
</view>
<view :style="{ marginBottom: '20px' }">
<SButton v-if="step !== 4" :onClick="nextStep" :disabled="btnDisabled">
<BubbleTip
v-if="showGuide"
type="long"
:location="{ top: '-50%', left: '50%' }"
>
<BubbleTip v-if="showGuide" :type="step === 1 ? 'long' : 'short'">
<text :style="{ transform: 'translateY(-18rpx)' }">{{
step === 1 ? "学会了,我摆得比教练还帅" : "我找到合适的点位了"
}}</text>

View File

@@ -18,7 +18,7 @@ import { storeToRefs } from "pinia";
const store = useStore();
const { user } = storeToRefs(store);
const { updateUser } = store;
const start = ref(true);
const start = ref(false);
const scores = ref([]);
const total = 12;
const currentRound = ref(0);
@@ -113,14 +113,11 @@ onUnmounted(() => {
/>
<view class="user-row">
<Avatar :src="user.avatar" :size="35" />
<BowPower :power="power" />
<BubbleTip
v-if="showGuide"
:location="{ top: '40%', left: '5%', paddingLeft: '16rpx' }"
>
<BubbleTip v-if="showGuide" type="normal2">
<text>还有两场坚持</text>
<text>就是胜利💪</text>
</BubbleTip>
<BowPower :power="power" />
</view>
<BowTarget
:start="start"

View File

@@ -107,14 +107,11 @@ onUnmounted(() => {
/>
<view class="user-row">
<Avatar :src="user.avatar" :size="35" />
<BowPower :power="power" />
<BubbleTip
v-if="showGuide"
:location="{ top: '40%', left: '5%', paddingLeft: '16rpx' }"
>
<BubbleTip v-if="showGuide" type="normal2">
<text>完成过半胜利</text>
<text>在望💪</text>
</BubbleTip>
<BowPower :power="power" />
</view>
<BowTarget
:start="start"