|
|
@@ -4853,6 +4853,9 @@ window.Modernizr = function(n, e, t) {
|
|
|
}
|
|
|
,
|
|
|
n.prototype.playTour = function() {
|
|
|
+ // alert('开始导航')
|
|
|
+ // 触发形象talk状态
|
|
|
+ window.parent.window.handleRobot('talk');
|
|
|
if (!this.bounceable())
|
|
|
return this.tourIsPlaying ? void A.info("tour is already playing")
|
|
|
: void (
|
|
|
@@ -4882,6 +4885,9 @@ window.Modernizr = function(n, e, t) {
|
|
|
} */
|
|
|
|
|
|
n.prototype.stopTour = function(isAutoStop) {//停止导览 isAutoStop 希望仅在飞完结束自动停止时的stopTour不停止tourSound, 这样才能完整播放tourSound. 不过似乎会在倒数第二个片段点击按钮停止导览时也视作自动结束的(执行this.interrupt() )。
|
|
|
+ // alert('停止导航')
|
|
|
+ // 回到idle状态
|
|
|
+ window.parent.window.handleRobot('idle');
|
|
|
SoundManager.pause('tour'), // 周恩光 自动导览暂停时同时停止语音
|
|
|
this.isInterrupted() || this.transitionStage === y.Moving && this.checkAndHandleWalkingtourInterruption(this.nextWarpStyle) || (this.tourIsPlaying && (this.player.zoomEnabled = this.wasZoomEnabled),
|
|
|
this.tourIsPlaying = !1,
|
|
|
@@ -6287,6 +6293,10 @@ window.Modernizr = function(n, e, t) {
|
|
|
}
|
|
|
function a() {
|
|
|
// window.parent.handleRobot('greeting'),
|
|
|
+ // alert('打开列表')
|
|
|
+ $("#drawer").hasClass("open") ? alert('关闭列表'): alert('打开列表')
|
|
|
+ window.parent.window.handleTopRobot('top')
|
|
|
+ // $("#drawer").hasClass("open") ? function(){window.parent && window.parent.window.handleTopRobot ? window.parent.window.handleTopRobot('bottom'):''}: function(){ window.parent && window.parent.window.handleTopRobot ? window.parent.window.handleTopRobot('top'):''}
|
|
|
c(),
|
|
|
$(".pinBottom").toggleClass("open"),
|
|
|
$("#drawer").toggleClass("open"),
|