Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
2016-06-30 14:32:04 +0800
Commit
c4bdce24850b435e42e6827bb53a9687802bc97b
1 parent
852db8da
面包屑
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
0 deletions
doraemon/views/partial/path-nav.hbs
public/scss/_path-nav.css
public/scss/index.css
doraemon/views/partial/path-nav.hbs
0 → 100644
View file @
c4bdce2
{{#if
pathNav
}}
<p
class=
"path-nav"
>
{{#
each
pathNav
}}
{{#if
href
}}
<a
{{#if
@last
}}
class=
"last"
{{/if}}
href=
"
{{
href
}}
"
title=
"
{{
pathTitle
}}
"
>
{{{
name
}}}
</a>
{{^}}
<span
{{#if
@last
}}
class=
"last"
{{/if}}
title=
"
{{
pathTitle
}}
"
>
{{{
name
}}}
</span>
{{/if}}
{{#
unless
@last
}}
<span
class=
"iconfont"
>
⁄
</span>
{{/
unless
}}
{{/
each
}}
</p>
{{/if}}
...
...
public/scss/_path-nav.css
0 → 100644
View file @
c4bdce2
.path-nav
{
font-size
:
14px
;
padding
:
15px
0
;
height
:
18px
;
line-height
:
18px
;
font-family
:
"黑体"
;
a{
color
:
#666
;
text-decoration
:
none
;
}
}
.last
{
font-weight
:
700
;
}
.iconfont
{
font-family
:
iconfont
!important
;
font-size
:
14px
;
font-style
:
normal
;
text-decoration
:
none
;
margin-left
:
6px
;
margin-right
:
6px
;
}
\ No newline at end of file
...
...
public/scss/index.css
View file @
c4bdce2
@import
"base"
;
@import
"components/index"
;
@import
"path-nav"
;
\ No newline at end of file
...
...
Please
register
or
login
to post a comment