任一存 hace 1 año
padre
commit
59a675fa7a
Se han modificado 1 ficheros con 7 adiciones y 6 borrados
  1. 7 6
      src/components/Pano/index.vue

+ 7 - 6
src/components/Pano/index.vue

@@ -174,6 +174,7 @@ useApp().then((app) => {
     if (hotspot) {
       const isNotclickType = ["tag"];
       if (!isNotclickType.includes(hotspot.hotspotType)) {
+        debugger
         console.log("click", hotspot);
         // store.commit("functions/setPauseFrom", "");
         // store.dispatch("audio/pauseBGM");
@@ -209,14 +210,14 @@ useApp().then((app) => {
         ].includes(hotspot.name)) {
           window.parent.showHotspotDetail2(hotspot);
         } else if (hotspot.name === '_9Nxop4hR') {
-          window.parent.showIframe({
-            url: 'https://houseoss.4dkankan.com/project/yzdyh-dadu/duobaoge/index.html',
-            style: 'width: 100%; height: 100%'
+          // 游戏:多宝阁
+          window.parent.showGameEntryPage({
+            gameName: '多宝阁'
           })
         } else if (hotspot.name === '_7bpR8AoD') {
-          window.parent.showIframe({
-            url: 'https://houseoss.4dkankan.com/project/yzdyh-dadu/ghg/index.html',
-            style: 'width: 100%; height: 100%'
+          // 游戏:广寒宫
+          window.parent.showGameEntryPage({
+            gameName: '广寒宫'
           })
         } else {
           console.log('pano window: 调用父窗口的展示热点详情方法');