|
@@ -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",
|