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
Rock Zhang
9 years ago
Commit
bbeeb711d5f73174d432dec6ad18424972ff2b09
1 parent
bffd33ed
去除个人中心模块各页面的顶部变色
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
17 deletions
library/Action/AbstractAction.php
library/Action/AbstractAction.php
View file @
bbeeb71
...
...
@@ -382,23 +382,27 @@ class AbstractAction extends Controller_Abstract
$header
[
'navHome'
]
=
$homeUrl
.
'?go=1&t='
.
time
();
}
// 根据COOKIE记录的频道进行导航定位
$channel
=
Helpers
::
getChannelByCookie
();
switch
(
$channel
)
{
default
:
case
1
:
$header
[
'boys'
]
=
true
;
break
;
case
2
:
$header
[
'girls'
]
=
true
;
break
;
case
3
:
$header
[
'kids'
]
=
true
;
break
;
case
4
:
$header
[
'lifeStyle'
]
=
true
;
break
;
}
$controller
=
$this
->
getRequest
()
->
getControllerName
();
if
(
$controller
!==
'Home'
)
{
// 根据COOKIE记录的频道进行导航定位
$channel
=
Helpers
::
getChannelByCookie
();
switch
(
$channel
)
{
default
:
case
1
:
$header
[
'boys'
]
=
true
;
break
;
case
2
:
$header
[
'girls'
]
=
true
;
break
;
case
3
:
$header
[
'kids'
]
=
true
;
break
;
case
4
:
$header
[
'lifeStyle'
]
=
true
;
break
;
}
}
$this
->
_view
->
assign
(
'pageHeader'
,
$header
);
}
/**
...
...
Please
register
or
login
to post a comment