|
@@ -171,15 +171,22 @@ useApp().then((app) => {
|
|
|
store.commit("tags/setCurrentTag", hotspot);
|
|
|
}
|
|
|
} else {
|
|
|
- store.commit("tags/setCurrentTag", hotspot);
|
|
|
- if (
|
|
|
- hotspot.hotspotType == "audio" ||
|
|
|
- hotspot.hotspotType == "imageText" ||
|
|
|
- hotspot.hotspotType == "video"
|
|
|
- ) {
|
|
|
- store.dispatch("audio/pauseBGM");
|
|
|
- // store.commit("functions/setPauseFrom", currentPlaying.value);
|
|
|
- }
|
|
|
+ console.log('pano window: 调用父窗口的展示热点详情方法');
|
|
|
+ window.parent.showHotspotDetail(hotspot);
|
|
|
+ // window.parent.postMessage({
|
|
|
+ // msgName: 'click-hotspot',
|
|
|
+ // data: hotspot,
|
|
|
+ // }, '*')
|
|
|
+
|
|
|
+ // store.commit("tags/setCurrentTag", hotspot);
|
|
|
+ // if (
|
|
|
+ // hotspot.hotspotType == "audio" ||
|
|
|
+ // hotspot.hotspotType == "imageText" ||
|
|
|
+ // hotspot.hotspotType == "video"
|
|
|
+ // ) {
|
|
|
+ // store.dispatch("audio/pauseBGM");
|
|
|
+ // // store.commit("functions/setPauseFrom", currentPlaying.value);
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
}
|