Jelajahi Sumber

Merge branch 'master' of http://192.168.0.115:3000/chenzhiguang/lyys

xzw 3 tahun lalu
induk
melakukan
889b088302
4 mengubah file dengan 17 tambahan dan 3 penghapusan
  1. 1 1
      public/SuperTwo/js/Hot.js
  2. 16 2
      public/SuperTwo/js/manage.js
  3. TEMPAT SAMPAH
      src/assets/videos/OPvss.mp4
  4. TEMPAT SAMPAH
      src/assets/videos/mobile.mp4

+ 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('?')

+ 16 - 2
public/SuperTwo/js/manage.js

@@ -3,7 +3,7 @@ var Manage = function(){
     this.weixinURL = "https://res.wx.qq.com/open/js/jweixin-1.2.0.js",
     this.time = "?"+new Date().getTime();
     this.loadAudio();
-    this.loadWeixin();
+    // this.loadWeixin();
 }
 //动态加载js文件
 Manage.prototype.LoadJs = function(_files, succes){
@@ -429,7 +429,7 @@ function showLogo(){
 //czj 添加随机的时间
 function randomTime(){
     return new Date()
-};
+}
 function matcher(data){
     if(!data || !g_version ) return data;
     delete data.model.vision_version;
@@ -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

TEMPAT SAMPAH
src/assets/videos/OPvss.mp4


TEMPAT SAMPAH
src/assets/videos/mobile.mp4