Authored by hf

fixes bug to search page show header

... ... @@ -25,9 +25,14 @@
<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/0.0.6/index.css">
</head>
<body >
<div class="search-page yoho-page">
<header class="yoho-header boys">
<a href="javascript:history.go(-1);" class="nav-back"></a>
<a href="http://buy.test.yoho.cn?go=1" class="nav-home"></a>
<p class="nav-title">搜索</p>
</header>
<div class="search-page yoho-page">
<div id="search-input" class="search-input">
<form id="search-form" action="http://search.test.yoho.cn" method="get">
<form id="search-form" action=http://search.dev.yohobuy.com method="get">
<i class="search-icon iconfont">&#xe60f;</i>
<input type="text" placeholder="搜索商品" name="query">
<i class="clear-input iconfont hide">&#xe626;</i>
... ... @@ -72,29 +77,14 @@
立即下载
</a>
</div>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/0.0.6/lib.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/0.0.6/index.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/0.0.1/lib.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/0.0.1/index.js"></script>
<script>
seajs.use('js/common');
</script>
<script>
seajs.use('js/index/search');
seajs.use('js/index/footer');
</script>
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -16,6 +16,8 @@ class SearchController extends AbstractAction
*/
public function indexAction()
{
$this->setNavHeader('搜索', true, SITE_MAIN);
$this->_view->html('search');
$this->_view->display('index', array(
'search' => array('url' => Helpers::url('', null, 'search')),
... ...