123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- <krpano version="1.20.9" title="Virtual Tour">
- <!-- <include url="%VIEWER%/skin/vtourskin.xml" /> -->
- <skin_settings maps="false"
- maps_type="google"
- maps_bing_api_key=""
- maps_zoombuttons="false"
- gyro="false"
- webvr="false"
- littleplanetintro="true"
- title="false"
- thumbs="true"
- thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160"
- thumbs_opened="false"
- thumbs_text="false"
- thumbs_dragging="true"
- thumbs_onhoverscrolling="false"
- thumbs_scrollbuttons="false"
- thumbs_scrollindicator="false"
- thumbs_loop="false"
- tooltips_buttons="false"
- tooltips_thumbs="false"
- tooltips_hotspots="false"
- tooltips_mapspots="false"
- deeplinking="false"
- loadscene_flags="MERGE"
- loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)"
- loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)"
- loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)"
- loadingtext="loading..."
- layout_width="100%"
- layout_maxwidth="814"
- controlbar_width="-24"
- controlbar_height="40"
- controlbar_offset="20"
- controlbar_offset_closed="-40"
- controlbar_overlap.no-fractionalscaling="10"
- controlbar_overlap.fractionalscaling="0"
- design_skin_images="vtourskin.png"
- design_bgcolor="0x2D3E50"
- design_bgalpha="0.0"
- design_bgborder="0"
- design_bgroundedge="1"
- design_bgshadow="0 0 0 0x000000 0.0"
- design_thumbborder_bgborder="3 0xFFFFFF 1.0"
- design_thumbborder_padding="2"
- design_thumbborder_bgroundedge="0"
- design_text_css="color:#5D7B53; font-family:Arial;"
- design_text_shadow="1"
- />
- <!--
- For an alternative skin design either change the <skin_settings> values
- from above or optionally include one of the predefined designs from below.
- -->
- <!-- <include url="skin/vtourskin_design_flat_light.xml" /> -->
- <!-- <include url="skin/vtourskin_design_glass.xml" /> -->
- <!-- <include url="skin/vtourskin_design_ultra_light.xml" /> -->
- <!-- <include url="skin/vtourskin_design_117.xml" /> -->
- <!-- <include url="skin/vtourskin_design_117round.xml" /> -->
- <!-- <include url="skin/vtourskin_design_black.xml" /> -->
- <action name="mytest">
- screentosphere(mouse.x, mouse.y, toh, tov);
- jscall(calc('console.log("'+toh+'")'));
- jscall(calc('console.log("'+tov+'")'));
- </action>
- <events
- onclick="mytest();"
- />
- <!-- startup action - load the first scene -->
- <action name="startup" autorun="onstart">
- if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
- loadscene(get(startscene), null, MERGE);
- if(startactions !== null, startactions() );
- </action>
- <!-- <events onenterfullscreen="" 切换到全屏显示执行
- onexitfullscreen="" 从全屏切换回普通视图时执行
- onxmlcomplete="" XML文件加载完成时执行
- onpreviewcomplete="" 预览图加载完成时执行
- onloadcomplete="" 全景切片图片加载完毕时执行
- onnewpano="" 当启动新的全景场景时执行
- onremovepano="" 当前场景被关闭时执行(加载新场景前)
- onnewscene="" 新场景加载完成时执行
- onloaderror="" 加载错误时执行,执行被设置后,屏幕将不显示默认的错误信息
- οnkeydοwn="" 当某个键盘被按下时执行
- οnkeyup="" 当某个键盘松开时执行
- οnclick="" 当鼠标点击全景场景时执行
- οnmοusedοwn="" 当鼠标按下时执行
- οnmοuseup="" 当鼠标松开时执行
- onmousewheel="" 当鼠标滚轮滚动时执行
- onidle="" 当无用户操作在设定秒数后执行
- onviewchange="" 当场景转变时执行(渲染开始时)
- onviewchanged="" 当场景转变时执行(渲染完成时)
- οnresize="" 当浏览器大小改变时执行
- /> -->
- <!-- <events onloadcomplete="visible_hotspotGroupA"></events> -->
- <scene name="scene_ceshi" title="ceshi" onstart="" havevrimage.mobilevr="false" havevrimage.no-mobilevr="true" thumburl="https://elab-marketing-web.oss-cn-shanghai.aliyuncs.com/fairyMountain/layout/hospital/panos/ceshi.tiles/thumb.jpg" lat="" lng="" heading="">
- <control bouncinglimits="calc:image.cube ? true : false" />
- <view hlookat="50.082" vlookat="12.404" fovtype="MFOV" fov="90.000" maxpixelzoom="2.0" fovmin="70" fovmax="120" limitview="auto" />
- <preview url="https://elab-marketing-web.oss-cn-shanghai.aliyuncs.com/fairyMountain/layout/hospital/panos/ceshi.tiles/preview.jpg" />
- <image if="!(webvr.isenabled OR device.mobilevr)">
- <!-- <cube url="https://elab-marketing-web.oss-cn-shanghai.aliyuncs.com/fairyMountain/layout/hospital/panos/ceshi.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,1024,2048" /> -->
- <sphere url="https://elab-marketing-web.oss-accelerate.aliyuncs.com/aiBeauty/1702533120761.png" />
- </image>
- <image if="webvr.isenabled OR device.mobilevr">
- <!-- <cube url="https://elab-marketing-web.oss-cn-shanghai.aliyuncs.com/fairyMountain/layout/hospital/panos/ceshi.tiles/vr/pano_%s.jpg" /> -->
- <sphere url="https://elab-marketing-web.oss-accelerate.aliyuncs.com/aiBeauty/1702533120761.png" />
- </image>
- <!--火车站-->
- <!-- <hotspot name="spot2" url="skin/plugin.png" distorted="true" keep="false" ath="145.763" atv="22" visible="true"></hotspot>
- <plugin parent="hotspot[spot2]" name="hottiyan_2" type="container" width="40" bgalpha="0.0" bgcapture="true" >
- <layer name="title2_hottiyan" style="text" align="bottom" x="0" y="75" width="100%" html="火车站" css="text-align:center; color:#5D7B53; font-family:Arial; font-weight:400; font-size:17px;border: 0px solid #fff;border-radius:10px;padding: 10px 5px; box-sizing: border-box;background: rgba(255, 255, 255, 0.2);border-radius: 10px;backdrop-filter: blur(50px);">
- </layer>
- <layer name="title2_line1_hottiyan" style="text" align="top center" x="0" y="-80" height="80px" css="background-color:#fff;width:1px;height:80px" />
- <layer name="title2_line2_hottiyan" style="text" align="top center" x="0" y="0" css="background-color:#fff;width:6px;height:6px;border-radius:50%;" />
- </plugin> -->
- <!-- <preview url="test3333.png"/> -->
- <hotspot name="video"
- ath="145.763" atv="22"
- url="https://dm.static.elab-plus.com/videoplayer.js"
- videourl="https://dm.static.elab-plus.com/miniProgram/green.mp4"
- chromakey="0x238E54|0.294|0.133"
- loop="true"
- distorted="true"
- zoom="true"
- scale="0.3"
- ondown="draghotspot();"
- onclick="togglepause();"
- cursor="grab"
- ondown.addevent="set(cursor,grabbing);"
- onup.addevent="set(cursor,grab);"
-
- />
- <action name="draghotspot">
- spheretoscreen(ath, atv, hotspotcenterx, hotspotcentery, calc(mouse.stagex LT stagewidth/2 ? 'l' : 'r'));
- sub(drag_adjustx, mouse.stagex, hotspotcenterx);
- sub(drag_adjusty, mouse.stagey, hotspotcentery);
- asyncloop(pressed,
- sub(dx, mouse.stagex, drag_adjustx);
- sub(dy, mouse.stagey, drag_adjusty);
- screentosphere(dx, dy, ath, atv);
-
- );
- </action>
- </scene>
- </krpano>
|