Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
2016-06-02 17:33:25 +0800
Commit
6e14c9252898d81d23e7f5e2647b3d4511a6fe2d
1 parent
f9813a84
nav name不存在,不显示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
template/www.yohobuy.com/partials/layout/path-nav.phtml
template/www.yohobuy.com/partials/layout/path-nav.phtml
View file @
6e14c92
{
{#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
name
}
}
{
{#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"
>
601
;</span>
{
{/unless
}
}
{
{/if
}
}
{
{#unless
@last
}
}
<span
class=
"iconfont"
>
601
;</span>
{
{/unless
}
}
{
{/each
}
}
</p>
{
{/if
}
}
...
...
Please
register
or
login
to post a comment