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
ef7cb6d5
Commit
ef7cb6d5
authored
Nov 29, 2017
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
parent
4847a22c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
nav.component.html
src/app/BasicPage/nav/nav.component.html
+2
-2
nav.component.ts
src/app/BasicPage/nav/nav.component.ts
+0
-1
No files found.
src/app/BasicPage/nav/nav.component.html
View file @
ef7cb6d5
...
...
@@ -2,10 +2,10 @@
<ul>
<li><a
[
routerLink
]="['
Index
']"
><img
src=
"assets/imgs/logo.png"
height=
"26px"
/></a>
</li>
<li
*
ngFor=
"let v of DataStore.Nav
; let k = index
"
[
ngClass
]="{'
dropdown
'
:
v
.
children
}"
>
<li
*
ngFor=
"let v of DataStore.Nav"
[
ngClass
]="{'
dropdown
'
:
v
.
children
}"
>
<a>
{{v.name}}
</a>
<ul
[
ngClass
]="{'
dropdown-content
'
:
v
.
children
}"
>
<li
*
ngFor=
"let vv of v.children
; let kk = index
"
[
ngClass
]="{'
disabled
'
:
vv
.
disable
}"
>
<li
*
ngFor=
"let vv of v.children"
[
ngClass
]="{'
disabled
'
:
vv
.
disable
}"
>
<a
*
ngIf=
"vv.href"
[
routerLink
]="[
vv
.
href
]"
>
{{vv.name}}
</a>
<a
id=
"{{vv.id}}"
*
ngIf=
"vv.click"
(
click
)="
click
(
vv
.
click
)"
>
{{vv.name}}
</a>
</li>
...
...
src/app/BasicPage/nav/nav.component.ts
View file @
ef7cb6d5
...
...
@@ -24,7 +24,6 @@ declare let jQuery: any;
})
export
class
NavComponent
implements
OnInit
{
DataStore
=
DataStore
;
User
=
User
;
constructor
(
private
_appService
:
AppService
,
private
_http
:
HttpService
,
...
...
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