|  | @@ -144,3 +144,36 @@ function registerEvent() {
 | 
	
		
			
				|  |  |          stopRotate();
 | 
	
		
			
				|  |  |          checkBtnActives(['#mapBg', '#sceneSetting']);
 | 
	
		
			
				|  |  |          let expandState = building.getAttribute('expandState');
 | 
	
		
			
				|  |  | +        if ($(this).hasClass('active')) {
 | 
	
		
			
				|  |  | +            // 楼层垂直展开关闭
 | 
	
		
			
				|  |  | +            if (expandState == 'vertical') {
 | 
	
		
			
				|  |  | +                $(this).removeClass('active');
 | 
	
		
			
				|  |  | +                verticalExpand(building, 'close');
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            // 楼层垂直展开前应判断楼层是否处于横向展开状态,是,则应先关闭横向展开,然后垂直展开
 | 
	
		
			
				|  |  | +            if (expandState != 'moving') {
 | 
	
		
			
				|  |  | +                $(this).addClass('active');
 | 
	
		
			
				|  |  | +                $('#horizontalExpansion').removeClass('active');
 | 
	
		
			
				|  |  | +                if (expandState == 'horizontal') {
 | 
	
		
			
				|  |  | +                    horizontalToVertical(building);
 | 
	
		
			
				|  |  | +                } else {
 | 
	
		
			
				|  |  | +                    verticalExpand(building, 'vertical');
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        restarRotate();
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +    // 设置按钮点击事件,按钮的tip与功能面板的互相切换
 | 
	
		
			
				|  |  | +    $('#sceneSetting').on('click', function () {
 | 
	
		
			
				|  |  | +        checkBtnActives(['#mapBg']);
 | 
	
		
			
				|  |  | +        if ($(this).hasClass('active')) {
 | 
	
		
			
				|  |  | +            $(this).removeClass('active');
 | 
	
		
			
				|  |  | +            $(this).children('.control-menu').removeClass('actives');
 | 
	
		
			
				|  |  | +            $(this).find('.tooltiptext').css({ "visibility": "visible" });
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            $(this).addClass('active');
 | 
	
		
			
				|  |  | +            $(this).children('.control-menu').addClass('actives');
 | 
	
		
			
				|  |  | +            $(this).find('.tooltiptext').css({ "visibility": "hidden" });
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    }).hover(function () {
 |