Authored by Rock Zhang

去除我要咨询,地址编辑,添加地址,在线客服页面右上角导航

Code Review By Rock Zhang
... ... @@ -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);
}
... ...
... ... @@ -219,7 +219,7 @@ class DetailController extends AbstractAction
}
$this->setTitle('我要咨询');
$this->setNavHeader('我要咨询');
$this->setNavHeader('我要咨询', true, false);
$productId = $this->get('product_id', 0);
... ...