Explorar o código

feat: change domain

chenlei hai 2 horas
pai
achega
70b11c305a

+ 1 - 1
scene/public/index.html

@@ -13,7 +13,7 @@
     <meta property="og:image:type" content="image/jpg">
     <link rel="icon" type="image/png" sizes="32x32" href="./favicon.ico" class="keep">
     <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/css/oldVer/main0.css" />
-    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/css/main.css?v=2.25" />
+    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/css/main.css?v=2.26" />
     <!-- <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/CAD/cad.css?v=2.25"/> -->
     <style>
         #_ideConac {

+ 4 - 4
scene/public/static/css/css/main.css

@@ -831,7 +831,7 @@ hr {
 
 .icon-fullscreen-exit:before {
     content: "";
-    background: url("https://super.4dage.com/images/narrow_off.png") center top no-repeat;
+    background: url("https://lsjzdl.zhrct.com:1866/images/narrow_off.png") center top no-repeat;
     background-size: 100%;
     display: inline-block;
     width: 24px;
@@ -840,7 +840,7 @@ hr {
 
 .icon-fullscreen:before {
     content: "";
-    background: url("https://super.4dage.com/images/enlarge_on.png")center top no-repeat;
+    background: url("https://lsjzdl.zhrct.com:1866/images/enlarge_on.png")center top no-repeat;
     background-size: 100%;
     display: inline-block;
     width: 24px;
@@ -3713,7 +3713,7 @@ a.hasHover:hover, a:active {
 .gui-floor-icon {
     width: 32px;
     height: 29px;
-    background: url("https://super.4dage.com/images/floor-icon.png") left top no-repeat;
+    background: url("https://lsjzdl.zhrct.com:1866/images/floor-icon.png") left top no-repeat;
     background-size: 98%;
 }
 
@@ -6346,7 +6346,7 @@ a.hasHover.tag-link:hover {
     display: block;
     width: 18px;
     height: 18px;
-    background: url("https://super.4dage.com/images/4dage-logo.png")left top no-repeat;
+    background: url("https://lsjzdl.zhrct.com:1866/images/4dage-logo.png")left top no-repeat;
     background-size: 100%;
 }
 

+ 1 - 1
scene/public/static/css/css/oldVer/main0.css

@@ -52,7 +52,7 @@ iframe{
 	opacity:0.1; 
 }
 #closepop {
-	background: url(https://super.4dage.com/images/close1.png) no-repeat;
+	background: url(https://lsjzdl.zhrct.com:1866/images/close1.png) no-repeat;
 	width: 60px;
 	height: 60px;
 	cursor: pointer;

+ 2 - 2
scene/public/static/js/SpecialScene.js

@@ -41,7 +41,7 @@ SpecialScene.prototype.special = function() {
 
 SpecialScene.prototype.data412 = function(){
     $("#myCompany").addClass("JLogo");
-    $("#myCompany").empty().append("<img src=https://super.4dage.com/images/JLogo.png alt=logo style='height: 100%' />");
+    $("#myCompany").empty().append("<img src=https://lsjzdl.zhrct.com:1866/images/JLogo.png alt=logo style='height: 100%' />");
     $("#loaderCoBrandName").hide();
     $("[data-index=all]").text("All");
     $("[data-index=0]").text("Floor 1");
@@ -64,5 +64,5 @@ var specialScene = new SpecialScene()
  
 /* //本地场景替换前缀
 window.isLocal = true 
-settings.localPrefix =  "https://SUPER.4dage.com/"  
+settings.localPrefix =  "https://lsjzdl.zhrct.com:1866/"  
  */

+ 2 - 2
scene/public/static/js/main_2020_show.js

@@ -14882,8 +14882,8 @@ window.Modernizr = function(n, e, t) {
                 //czj 判断someData 有没有hoticon字段 修改热点的样式
                 if (window.DATA.hoticon){
                     g_HotImage = {
-                        point: ('static/'+ window.DATA.hoticon.default )|| "https://super.4dage.com/static/images/4dagePoint2.png",
-                        point2: ('static/'+ window.DATA.hoticon.higt) || "https://super.4dage.com/static/images/4dagePoint.png"
+                        point: ('static/'+ window.DATA.hoticon.default )|| "https://lsjzdl.zhrct.com:1866/static/images/4dagePoint2.png",
+                        point2: ('static/'+ window.DATA.hoticon.higt) || "https://lsjzdl.zhrct.com:1866/static/images/4dagePoint.png"
                     } ;
                 }
                 //czj 判断someData 有没有backgroundMusic 添加音乐

+ 8 - 7
scene/public/static/js/manage.js

@@ -1,6 +1,6 @@
   
 var g_ProjectName=window.location.pathname.substring(window.location.pathname.indexOf("/")+1,window.location.pathname.lastIndexOf("/"));
-var g_Prefix="https://super.4dage.com/";
+var g_Prefix="https://lsjzdl.zhrct.com:1866/";
 // var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/index.html")+1);
 var s = window.location.href.split('/');
     s.pop();
@@ -25,8 +25,8 @@ var g_HotMeshSize = {
 var g_HotStatus=null;
 var g_newHot = [];//存储新加热点
 var g_HotImage= {
-	"point":"https://super.4dage.com/images/4dagePoint2.png",
-	"point2":"https://super.4dage.com/images/4dagePoint.png"
+	"point":"https://lsjzdl.zhrct.com:1866/images/4dagePoint2.png",
+	"point2":"https://lsjzdl.zhrct.com:1866/images/4dagePoint.png"
 };	
 var g_saveHot=false;
 
@@ -897,9 +897,8 @@ Manage.prototype.weixinShare = function() {
 
 Manage.prototype.dealURL = function(src, type){
     //music: "///super.4dage.com/data/LYW/edit/20200928_151633415.mp3"
-    //"https://super.4dage.com/data/LYW/edit/20200928_165319399.jpg"]
+    //"https://lsjzdl.zhrct.com:1866/data/LYW/edit/20200928_165319399.jpg"]
     
-   
     if(window.isLocal && settings.localPrefix!=void 0){//本地将线上的前缀替换
         var oldPrefix = 'super.4dage.com/';  //最简单的地址写一个,如果有其他完全不一样的地址就用数组逐个判断
         var index = src.indexOf(oldPrefix);
@@ -909,6 +908,8 @@ Manage.prototype.dealURL = function(src, type){
         }else console.error("没有找到合适的本地链接") 
         return src
     }else{
+        // 移除 https://lsjzdl.zhrct.com:1866////super.4dage.com 中的 ////super.4dage.com
+        src = src.replace('https://lsjzdl.zhrct.com:1866////super.4dage.com', 'https://lsjzdl.zhrct.com:1866');
         //add https://
         var prefix = g_Prefix.replace('https://','').replace('http://','') 
         if(!src.includes('http:/') && !src.includes('https:/') && src.includes(prefix)){
@@ -1031,8 +1032,8 @@ function matcher(data){
         },
         sid: window.number,
         hoticon: {
-            default: "https://super.4dage.com/images/4dagePoint2.png",
-            higt: "https://super.4dage.com/images/4dagePoint.png"
+            default: "https://lsjzdl.zhrct.com:1866/images/4dagePoint2.png",
+            higt: "https://lsjzdl.zhrct.com:1866/images/4dagePoint.png"
         },
         special: "false",
         weixinDesc: ""

+ 3 - 3
scene/public/static/js/myShow.js

@@ -1,5 +1,5 @@
 var g_ProjectName=window.location.pathname.substring(window.location.pathname.indexOf("/")+1,window.location.pathname.lastIndexOf("/"));
-var g_Prefix="https://super.4dage.com/";
+var g_Prefix="https://lsjzdl.zhrct.com:1866/";
 // var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/index.html")+1);
 var s = window.location.href.split('/');
 s.pop();
@@ -20,8 +20,8 @@ var g_HotMeshSize = {
 var g_HotStatus=null;
 var g_newHot = [];//存储新加热点
 var g_HotImage= {
-	"point":"https://super.4dage.com/images/4dagePoint2.png",
-	"point2":"https://super.4dage.com/images/4dagePoint.png"
+	"point":"https://lsjzdl.zhrct.com:1866/images/4dagePoint2.png",
+	"point2":"https://lsjzdl.zhrct.com:1866/images/4dagePoint.png"
 };	
 var g_saveHot=false;
 

+ 0 - 2
scene/src/App.vue

@@ -7,8 +7,6 @@
             <p>请在竖屏模式观看</p>
         </div>
         </div>
-
-        
     </div>
 </template>
 

+ 1 - 1
scene/src/components/hotspot/index.vue

@@ -47,7 +47,7 @@ export default {
       }
     });
 
-    // this.hotspot = Object.replaceAll( this.hotspot, this.is_bendi?"https://super.4dage.com/":"", "" );
+    // this.hotspot = Object.replaceAll( this.hotspot, this.is_bendi?"https://lsjzdl.zhrct.com:1866/":"", "" );
 
 
     console.log(this.hotspot);

+ 0 - 10
scene/src/pages/Home.vue

@@ -99,8 +99,6 @@ import vrCon from "@/views/gui/vrcon";
 import vOther from "@/views/gui/other";
 import info from "@/components/info";
 
-import { addVisitAPI } from "../utils/api";
-
 export default {
   name: "Home",
   components: {
@@ -170,14 +168,6 @@ export default {
       });
     });
   },
-  async created() {
-    // 发送访问量
-    try {
-      await addVisitAPI();
-    } catch (e) {
-      console.log(e);
-    }
-  },
 };
 </script>
 

+ 1 - 1
scene/vue.config.js

@@ -12,7 +12,7 @@ module.exports = {
         globalVars: getLessVariables(path.resolve(__dirname, './src/assets/style/globalVars.less'))
       }
     }
-  }
+  },
 };