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
81bc894b906019f63189c36dd5f7a06a508ed864
1 parent
0f3946fe
去除我要咨询,地址编辑,添加地址,在线客服页面右上角导航
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
yohobuy/m.yohobuy.com/application/controllers/Home.php
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Detail.php
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
81bc894
...
...
@@ -369,7 +369,7 @@ class HomeController extends AbstractAction
if
(
$id
!==
null
)
{
// 编辑地址
// 设置网站标题
$this
->
setTitle
(
'编辑地址'
);
$this
->
setNavHeader
(
'编辑地址'
);
$this
->
setNavHeader
(
'编辑地址'
,
true
,
false
);
$data
[
'id'
]
=
$id
;
// 获取特定地址的数据
...
...
@@ -377,7 +377,7 @@ class HomeController extends AbstractAction
}
else
{
// 设置网站标题
$this
->
setTitle
(
'添加地址'
);
$this
->
setNavHeader
(
'添加地址'
);
$this
->
setNavHeader
(
'添加地址'
,
true
,
false
);
}
$this
->
_view
->
display
(
'address-act'
,
$data
);
...
...
@@ -457,7 +457,7 @@ class HomeController extends AbstractAction
{
// 设置网站标题
$this
->
setTitle
(
'在线客服'
);
$this
->
setNavHeader
(
'在线客服'
,
Helpers
::
url
(
'/home'
),
SITE_MAIN
);
$this
->
setNavHeader
(
'在线客服'
,
Helpers
::
url
(
'/home'
),
false
);
$uid
=
$this
->
getUid
(
false
);
$service
=
Home\OnlineModel
::
getOnlineServiceInfo
();
...
...
@@ -497,7 +497,7 @@ class HomeController extends AbstractAction
);
$this
->
setTitle
(
'在线客服'
);
$this
->
setNavHeader
(
$cateName
,
true
,
''
);
$this
->
setNavHeader
(
$cateName
,
true
,
false
);
$this
->
_view
->
display
(
'online-service-detail'
,
$service
);
}
...
...
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Detail.php
View file @
81bc894
...
...
@@ -219,7 +219,7 @@ class DetailController extends AbstractAction
}
$this
->
setTitle
(
'我要咨询'
);
$this
->
setNavHeader
(
'我要咨询'
);
$this
->
setNavHeader
(
'我要咨询'
,
true
,
false
);
$productId
=
$this
->
get
(
'product_id'
,
0
);
...
...
Please
register
or
login
to post a comment