gemercheung 2 tahun lalu
induk
melakukan
7b5acb581e

TEMPAT SAMPAH
packages/qjkankan-editor/public/static/panoassets/images/hotspot/icon/img_doticon_01.png


TEMPAT SAMPAH
packages/qjkankan-editor/public/static/panoassets/images/hotspot/icon/img_doticon_01_h.png


TEMPAT SAMPAH
packages/qjkankan-editor/public/static/panoassets/images/hotspot/icon/img_doticon_01_v.png


TEMPAT SAMPAH
packages/qjkankan-editor/public/static/panoassets/images/hotspot/icon/img_doticon_02_h.png


TEMPAT SAMPAH
packages/qjkankan-editor/public/static/panoassets/images/hotspot/icon/img_doticon_02_v.png


+ 1 - 0
packages/qjkankan-view/public/showMobile.html

@@ -11,6 +11,7 @@
     <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfontVR/iconfont.css"/>
     <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfontV1.2.0/iconfont.css"/>
     <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/swiper/swiper-bundle.min.css" />
+    <script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script> 
     <link rel="icon" href="./favicon.png" />
     <title>-</title>
   </head>

+ 4 - 0
packages/qjkankan-view/src/components/Pano/index.vue

@@ -170,6 +170,10 @@ useApp().then((app) => {
       if (!isNotclickType.includes(hotspot.hotspotType)) {
         console.log("click", hotspot);
         store.commit("functions/setPauseFrom", "");
+        if (hotspot.hotspotType == "phone" && unref(isMobile)) {
+          window.open(`tel:${hotspot.phoneInfo.phone}`, '_self');
+          return;
+        }
         if (hotspot.hotspotType == "scene") {
           store.commit(
             "scene/setCurrentScene",

+ 1 - 0
packages/qjkankan-view/src/components/assembly/OpeningMobile.vue

@@ -170,6 +170,7 @@ onMounted(() => {
     document.addEventListener(
       "WeixinJSBridgeReady",
       () => {
+        window.alert('weixin');
         openvideo$.value.play();
       },
       false