Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
283402851f1afb4b07e70ab53530171a241e09f4
1 parent
7116ebb0
修复右上角顶部导航链接地址错误的bug
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
library/Action/AbstractAction.php
template/m.yohobuy.com/partials/layout/page_header.phtml
library/Action/AbstractAction.php
View file @
2834028
...
...
@@ -454,7 +454,12 @@ class AbstractAction extends Controller_Abstract
$header['navHome'] = $homeUrl . '?go=1&t=' . time();
}*/
if
(
$navBtn
)
{
$header
[
'navBtn'
]
=
$navBtn
;
$header
[
'navBtn'
]
=
array
(
'indexUrl'
=>
Helpers
::
url
(
'/?go=1'
),
//首页
'categoryUrl'
=>
Helpers
::
url
(
'/cate'
),
// 分类
'shoppingCartUrl'
=>
Helpers
::
url
(
'/cart/index/index'
),
// 购物车
'mineUrl'
=>
Helpers
::
url
(
'/home'
),
// 我的
);
}
// 默认使用男生的头部
...
...
template/m.yohobuy.com/partials/layout/page_header.phtml
View file @
2834028
...
...
@@ -23,25 +23,25 @@
<div
class=
"homebuttom none"
>
<ul>
<li>
<a
href=
"
/
"
>
<a
href=
"
{{ indexUrl }}
"
>
<i
class=
"iconfont"
>
62
a;</i>
<span>首页</span>
</a>
</li>
<li>
<a
href=
"
cate
"
>
<a
href=
"
{{ categoryUrl }}
"
>
<i
class=
"iconfont"
>
62
d;</i>
<span>分类</span>
</a>
</li>
<li>
<a
href=
"
cart/index/index
"
>
<a
href=
"
{{ shoppingCartUrl }}
"
>
<i
class=
"iconfont"
>
62
c;</i>
<span>购物车</span>
</a>
</li>
<li>
<a
href=
"
/home
"
>
<a
href=
"
{{ mineUrl }}
"
>
<i
class=
"iconfont"
>
62
b;</i>
<span>我的</span>
</a>
...
...
Please
register
or
login
to post a comment