...
|
...
|
@@ -4,7 +4,7 @@ use Action\AbstractAction; |
|
|
use Index\ChannelModel;
|
|
|
use Plugin\Helpers;
|
|
|
|
|
|
class JcshopController extends AbstractAction
|
|
|
class ChannelController extends AbstractAction
|
|
|
{
|
|
|
/**
|
|
|
* 日韩馆
|
...
|
...
|
@@ -12,22 +12,18 @@ class JcshopController extends AbstractAction |
|
|
public function indexAction()
|
|
|
{
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('男生首页');
|
|
|
// 显示侧边栏
|
|
|
$this->setNavSide('boys');
|
|
|
// 显示底部TAB
|
|
|
$this->setNavFooterTab();
|
|
|
$this->setTitle('日韩馆'); // 需求是标题可以自定义
|
|
|
$this->setNavHeader('日韩馆', true, false); // 需求是标题可以自定义
|
|
|
|
|
|
$content = ChannelModel::getJcShopFloor();
|
|
|
|
|
|
// 渲染模板并输出
|
|
|
$this->_view->display('index', array(
|
|
|
'boysHomePage' => true,
|
|
|
'homeHeader' => array('searchUrl' => Helpers::url('/search', null, 'search')),
|
|
|
'secondChannelPage' => true,
|
|
|
'maybeLike' => true,
|
|
|
'content' => $content,
|
|
|
'pageFooter' => true,
|
|
|
));
|
|
|
}
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
|
|
} |
...
|
...
|
|