Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
d3db2722
Commit
d3db2722
authored
May 23, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 去掉windows拖拽左侧栏功能功能
parent
0811da45
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
control.component.html
src/app/pages/control/control.component.html
+1
-1
control.component.ts
src/app/pages/control/control.component.ts
+5
-1
style.scss
src/sass/style.scss
+2
-2
No files found.
src/app/pages/control/control.component.html
View file @
d3db2722
...
...
@@ -2,7 +2,7 @@
<div
fxFlex=
"1 1 20%"
minBasis=
"100px"
maxBasis=
"800px"
fxFlexFill
ngxSplitArea
*
ngIf=
"DataStore.leftbarshow"
>
<pages-control-cleftbar></pages-control-cleftbar>
</div>
<div
fxFlex=
"0"
ngxSplitHandle
></div>
<div
fxFlex=
"0"
ngxSplitHandle
[
style
.
display
]="
activeViewIsRdp
()
?
'
none
'
:
'
block
'"
></div>
<div
fxFlex=
"1 1 80%"
ngxSplitArea
class=
"content"
>
<pages-control-control></pages-control-control>
</div>
...
...
src/app/pages/control/control.component.ts
View file @
d3db2722
...
...
@@ -6,8 +6,8 @@
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
AppService
}
from
'../../app.service'
;
import
{
DataStore
,
User
}
from
'../../globals'
;
import
{
NavList
}
from
'./control/control.component'
;
@
Component
({
selector
:
'pages-control'
,
...
...
@@ -21,6 +21,10 @@ export class PagesControlComponent implements OnInit {
constructor
()
{
}
activeViewIsRdp
()
{
return
NavList
.
List
[
NavList
.
Active
].
type
===
'rdp'
;
}
ngOnInit
()
{
}
...
...
src/sass/style.scss
View file @
d3db2722
...
...
@@ -94,6 +94,6 @@ $material-design-icons-font-path: '~/material-design-icons/iconfont/';
button
.icon-split-handle.ngx-split-button
{
height
:
100%
;
border
:
1px
solid
#3a3333
;
opacity
:
0
.
5
;
//
border: 1px solid #3a3333;
opacity
:
0
.
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment