|
@@ -138,7 +138,8 @@ useApp().then((app) => {
|
|
const isNotclickType = ["tag"];
|
|
const isNotclickType = ["tag"];
|
|
if (!isNotclickType.includes(hotspot.hotspotType)) {
|
|
if (!isNotclickType.includes(hotspot.hotspotType)) {
|
|
console.log("click", hotspot);
|
|
console.log("click", hotspot);
|
|
- store.commit("functions/setPauseFrom", "");
|
|
|
|
|
|
+ // store.commit("functions/setPauseFrom", "");
|
|
|
|
+ store.dispatch("audio/pauseBGM");
|
|
if (hotspot.hotspotType == "phone" && unref(isMobile)) {
|
|
if (hotspot.hotspotType == "phone" && unref(isMobile)) {
|
|
window.open(`tel:${hotspot.phoneInfo.phone}`, "_self");
|
|
window.open(`tel:${hotspot.phoneInfo.phone}`, "_self");
|
|
return;
|
|
return;
|
|
@@ -161,7 +162,8 @@ useApp().then((app) => {
|
|
hotspot.hotspotType == "audio" ||
|
|
hotspot.hotspotType == "audio" ||
|
|
hotspot.hotspotType == "video"
|
|
hotspot.hotspotType == "video"
|
|
) {
|
|
) {
|
|
- store.commit("functions/setPauseFrom", currentPlaying.value);
|
|
|
|
|
|
+ store.dispatch("audio/pauseBGM");
|
|
|
|
+ // store.commit("functions/setPauseFrom", currentPlaying.value);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|