返回游戏时添加声音加载

This commit is contained in:
kron
2026-01-06 18:13:55 +08:00
parent ab3537e35d
commit 7cb203a08f
4 changed files with 33 additions and 15 deletions
+4 -1
View File
@@ -245,7 +245,10 @@ onBeforeUnmount(() => {
<image src="../static/bow-target.png" mode="widthFix" />
</view>
<view class="footer">
<PointSwitcher :onChange="(val) => (pMode = val)" />
<PointSwitcher
:onChange="(val) => (pMode = val)"
:style="{ zIndex: 999 }"
/>
</view>
<view class="simul" v-if="env !== 'release'">
<button @click="simulShoot">模拟</button>