tremble před 3 roky
rodič
revize
917298a4b7

+ 1 - 1
public/SuperTwo/js/Hot.js

@@ -47,7 +47,7 @@ window.initHot = function(model){
           , o = "en" == manage.number("lang") ? "&lang=" + manage.number("lang") : "";
         -1 == r.indexOf("?") ? src = link + "?time=" + randomTime().getTime() + "&id=" + window.number + o : src = link + "&time=" + randomTime().getTime() + "&id=" + window.number + o 
             
-        return src 
+        return src.replace('https://www.4dmodel.com/SuperTwo/hot_online1/','https://culture.4dage.com/LYWH/SuperTwo/hotspot1/')
     }
     var removeSrcPostMark = function(url){//去除texture.load时自动加上的'?'
         var index = url.indexOf('?')

+ 14 - 0
public/SuperTwo/js/manage.js

@@ -695,6 +695,20 @@ var SoundPriority = {//暂不支持同时播放
     
 }
 
+$('.bch').click(()=>{
+    window.parent.postMessage({
+            source: "backhome",
+            data: true,
+    },'*')
+})
+
+window.addEventListener('message',(res)=>{
+if (Object.prototype.toString.call(res.data) == "[object Object]") {
+    if (res.data.source === "palytour") {
+        window.startAndPlay()
+    }
+    }
+})
 //兼容一代的場景
 //請求地址統一管理
 var g_onePregix = "https://bigscene.4dage.com/" //对应一代  http://www.4dmodel.com/SuperPanoramic/index.html?m=55

binární
src/assets/videos/OPvss.mp4


binární
src/assets/videos/mobile.mp4