tremble 3 anos atrás
pai
commit
0d71f7a0a2
2 arquivos alterados com 4 adições e 4 exclusões
  1. 2 2
      .env
  2. 2 2
      src/framework/core/index.vue

+ 2 - 2
.env

@@ -1,6 +1,6 @@
 VUE_APP_MAIN_COLOR=''
 VUE_APP_STATIC_DIR=static
 VUE_APP_INNERNET=https://fcb.intranet.4dkankan.com
-VUE_APP_CDN=''
-VUE_APP_PROXY_URL=''
+VUE_APP_CDN=http://project.4dage.com:8021
+VUE_APP_PROXY_URL='http://project.4dage.com:8021/'
 VUE_APP_URL_FILL=''

+ 2 - 2
src/framework/core/index.vue

@@ -99,7 +99,7 @@ export default {
             $waiting.hide()
               var krpano = document.getElementById('krpanoSWFObject');
             __krfn.utils.initHotspot(krpano,newVal&&newVal.someData,true);
-            __krfn.utils.toggleHotspot(krpano,this.$route.name!='screen');
+            __krfn.utils.toggleHotspot(krpano,this.$route.name!='screen'&&this.$route.name!='commentary');
         }
         window.vrViewFn = ()=>{
           try {
@@ -122,7 +122,7 @@ export default {
             embedpano({
             // http://oss-xiaoan.oss-cn-shenzhen.aliyuncs.com/720yun_fd_manage/fd720_Va0LrkXW3/vtour/tour.xml
             // xml: "%HTMLPATH%/static/template/tour.xml",
-            xml: `${this.$cdn}/${newVal.sceneCode}/vtour/tour.xml`,
+            xml: `${this.$cdn}/pano/${newVal.sceneCode}/vtour/tour.xml`,
             swf: "%HTMLPATH%/static/template/tour.swf",
             target: "pano",
             html5: "auto",