|
@@ -5191,7 +5191,7 @@ window.Modernizr = (function (n, e, t) {
|
|
|
((this.currentItem = null),
|
|
|
(this.destinationItem = null),
|
|
|
(this.tourIsPlaying = !1),
|
|
|
- //this.bgmReplay(),//xzw
|
|
|
+ // this.bgmReplay(),//xzw
|
|
|
(this.transitionStage = y.None),
|
|
|
(this.nextFunc = null),
|
|
|
(this.onTheBus = !1),
|
|
@@ -5730,11 +5730,11 @@ window.Modernizr = (function (n, e, t) {
|
|
|
this.emit('update.controls'),
|
|
|
this.emit(p.TourStart),
|
|
|
this.player.enablePreRendering(),
|
|
|
- /* this.walkingSectionPaused ? (this.clearWalkingSectionPaused(),
|
|
|
- this.goToDestination()) : this.goNext())) */
|
|
|
+ this.walkingSectionPaused ? (this.clearWalkingSectionPaused(),
|
|
|
+ this.goToDestination()) : this.goNext())
|
|
|
|
|
|
- this.setDestinationItem(this.findNearestItem()),
|
|
|
- this.goToDestination())
|
|
|
+ // this.setDestinationItem(this.findNearestItem()),
|
|
|
+ // this.goToDestination())
|
|
|
);
|
|
|
}
|
|
|
}),
|
|
@@ -5903,9 +5903,9 @@ window.Modernizr = (function (n, e, t) {
|
|
|
|
|
|
// // zeg改
|
|
|
if (null === this.currentItem || void 0 === this.currentItem) {
|
|
|
- // this.setDestinationItem(this.firstDestination())
|
|
|
+ this.setDestinationItem(this.firstDestination())
|
|
|
// this.setDestinationItem([currentPanoDestinations[0], 0])
|
|
|
- this.setDestinationItem([this.currentItem[0], 0]);
|
|
|
+ // this.setDestinationItem([this.currentItem[0], 0]);
|
|
|
}
|
|
|
// else if(this.currentItem[1] == null) {
|
|
|
// this.setDestinationItem([this.currentItem[0], 0])
|
|
@@ -8709,28 +8709,28 @@ window.Modernizr = (function (n, e, t) {
|
|
|
this.classList.add('active');
|
|
|
}
|
|
|
}),
|
|
|
- $('#hotListContent ul').on('mouseover', function (e) {
|
|
|
- l(e);
|
|
|
- var target = e.target;
|
|
|
- var hotList = document.getElementById('hotListWrap');
|
|
|
- if (target.tagName === 'SPAN') {
|
|
|
- var targetParent = target.parentElement.parentElement;
|
|
|
- if (target.offsetWidth + 116 >= targetParent.clientWidth) {
|
|
|
- hotList.style.width = target.offsetWidth + 116 + 'px';
|
|
|
- } else {
|
|
|
- hotList.style.width = '';
|
|
|
- }
|
|
|
- } else if (target.tagName === 'LI') {
|
|
|
- var targetParent = target.parentElement;
|
|
|
- if (target.children[0].offsetWidth + 116 >= targetParent.clientWidth) {
|
|
|
- hotList.style.width = target.children[0].offsetWidth + 116 + 'px';
|
|
|
- } else {
|
|
|
- hotList.style.width = '';
|
|
|
- }
|
|
|
- } else {
|
|
|
- hotList.style.width = '';
|
|
|
- }
|
|
|
- });
|
|
|
+ // $('#hotListContent ul').on('mouseover', function (e) {
|
|
|
+ // l(e);
|
|
|
+ // var target = e.target;
|
|
|
+ // var hotList = document.getElementById('hotListWrap');
|
|
|
+ // if (target.tagName === 'SPAN') {
|
|
|
+ // var targetParent = target.parentElement.parentElement;
|
|
|
+ // if (target.offsetWidth + 116 >= targetParent.clientWidth) {
|
|
|
+ // hotList.style.width = target.offsetWidth + 116 + 'px';
|
|
|
+ // } else {
|
|
|
+ // hotList.style.width = '';
|
|
|
+ // }
|
|
|
+ // } else if (target.tagName === 'LI') {
|
|
|
+ // var targetParent = target.parentElement;
|
|
|
+ // if (target.children[0].offsetWidth + 116 >= targetParent.clientWidth) {
|
|
|
+ // hotList.style.width = target.children[0].offsetWidth + 116 + 'px';
|
|
|
+ // } else {
|
|
|
+ // hotList.style.width = '';
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // hotList.style.width = '';
|
|
|
+ // }
|
|
|
+ // });
|
|
|
$('#hotListContent ul').on('click', function (e) {
|
|
|
l(e);
|
|
|
this.preElem && this.preElem.classList.remove('active');
|