fix:全局按钮播放音效完成

This commit is contained in:
2026-05-19 17:24:02 +08:00
parent f44c22c594
commit 74ca0bb3d7
14 changed files with 36 additions and 22 deletions

View File

@@ -178,7 +178,7 @@ onShareTimeline(() => {
v-else
src="https://static.shelingxingqiu.com/attachment/2026-01-04/dffohwtk1gwh0xfa6h.png"
mode="widthFix"
@click="() => toPage('/pages/my-device')"
@click="$clickSound(() => toPage('/pages/my-device'))"
/>
<block v-if="user.id">
<text v-if="!device.deviceId">绑定我的智能弓</text>
@@ -196,10 +196,10 @@ onShareTimeline(() => {
</BubbleTip>
</view>
<view class="play-card">
<view @click="() => toPage('/pages/practise')">
<view @click="$clickSound(() => toPage('/pages/practise'))">
<image src="../static/my-practise.png" mode="widthFix"/>
</view>
<view @click="() => toPage('/pages/friend-battle')">
<view @click="$clickSound(() => toPage('/pages/friend-battle'))">
<image src="../static/friend-battle.png" mode="widthFix"/>
</view>
</view>
@@ -211,7 +211,7 @@ onShareTimeline(() => {
/>
<button
class="into-btn"
@click="() => toPage('/pages/ranking')"
@click="$clickSound(() => toPage('/pages/ranking'))"
hover-class="none"
></button>
<view class="ranking-players" @click="toRankListPage">