...
|
...
|
@@ -849,33 +849,41 @@ class HomeController extends AbstractAction |
|
|
));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 帮助列表页
|
|
|
*/
|
|
|
/**
|
|
|
* 帮助中心列表页
|
|
|
*/
|
|
|
public function helpAction()
|
|
|
{
|
|
|
{
|
|
|
$service = Home\HelpModel::serviceInfo();
|
|
|
$this->setTitle('帮助中心');
|
|
|
$this->setNavHeader('帮助中心');
|
|
|
$data = array(
|
|
|
'iHelp' => Home\HelpModel::serviceInfo(),
|
|
|
'iHelp' =>$service,
|
|
|
);
|
|
|
$this->_view->display('i-help', $data);
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 帮助列表页
|
|
|
* 帮助中心列表详细信息
|
|
|
*/
|
|
|
public function helpDetailAction()
|
|
|
{
|
|
|
$this->setTitle('帮助中心');
|
|
|
$this->setNavHeader('帮助中心');
|
|
|
$data = array(
|
|
|
'iHelp' => array(
|
|
|
array('name' => '新用户注册'),
|
|
|
)
|
|
|
);
|
|
|
$this->_view->display('helpDetail', $data);
|
|
|
public function helpDetailAction() {
|
|
|
$caption = $this->get('caption', '帮助中心');
|
|
|
$code = $this->get('code', 0);
|
|
|
if (empty($code)) {
|
|
|
$this->error();
|
|
|
}
|
|
|
|
|
|
$this->setTitle($caption);
|
|
|
$this->setNavHeader($caption);
|
|
|
|
|
|
$service = Home\HelpModel::serviceDetail($code);
|
|
|
$this->_view->display('helpDetail', array(
|
|
|
'iHelp' => $service,
|
|
|
));
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* YOHO币详情 新版
|
|
|
*/
|
...
|
...
|
|