Commit d3db2722 authored by ibuler's avatar ibuler

[Update] 去掉windows拖拽左侧栏功能功能

parent 0811da45
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div fxFlex="1 1 20%" minBasis="100px" maxBasis="800px" fxFlexFill ngxSplitArea *ngIf="DataStore.leftbarshow"> <div fxFlex="1 1 20%" minBasis="100px" maxBasis="800px" fxFlexFill ngxSplitArea *ngIf="DataStore.leftbarshow">
<pages-control-cleftbar></pages-control-cleftbar> <pages-control-cleftbar></pages-control-cleftbar>
</div> </div>
<div fxFlex="0" ngxSplitHandle></div> <div fxFlex="0" ngxSplitHandle [style.display]="activeViewIsRdp() ? 'none' : 'block'"></div>
<div fxFlex="1 1 80%" ngxSplitArea class="content"> <div fxFlex="1 1 80%" ngxSplitArea class="content">
<pages-control-control></pages-control-control> <pages-control-control></pages-control-control>
</div> </div>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
* @author liuzheng <liuzheng712@gmail.com> * @author liuzheng <liuzheng712@gmail.com>
*/ */
import {Component, OnInit} from '@angular/core'; import {Component, OnInit} from '@angular/core';
import {AppService} from '../../app.service';
import {DataStore, User} from '../../globals'; import {DataStore, User} from '../../globals';
import {NavList} from './control/control.component';
@Component({ @Component({
selector: 'pages-control', selector: 'pages-control',
...@@ -21,6 +21,10 @@ export class PagesControlComponent implements OnInit { ...@@ -21,6 +21,10 @@ export class PagesControlComponent implements OnInit {
constructor() { constructor() {
} }
activeViewIsRdp() {
return NavList.List[NavList.Active].type === 'rdp';
}
ngOnInit() { ngOnInit() {
} }
......
...@@ -94,6 +94,6 @@ $material-design-icons-font-path: '~/material-design-icons/iconfont/'; ...@@ -94,6 +94,6 @@ $material-design-icons-font-path: '~/material-design-icons/iconfont/';
button.icon-split-handle.ngx-split-button { button.icon-split-handle.ngx-split-button {
height: 100%; height: 100%;
border: 1px solid #3a3333; //border: 1px solid #3a3333;
opacity: 0.5; opacity: 0.0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment