Authored by hf

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

@@ -164,6 +164,7 @@ @@ -164,6 +164,7 @@
164 {{#if searchPage}} 164 {{#if searchPage}}
165 <script> 165 <script>
166 seajs.use('js/index/search'); 166 seajs.use('js/index/search');
  167 + seajs.use('js/index/footer');
167 </script> 168 </script>
168 {{/if}} 169 {{/if}}
169 170
@@ -117,7 +117,7 @@ class IndexController extends AbstractAction @@ -117,7 +117,7 @@ class IndexController extends AbstractAction
117 $data['showDownloadApp'] = true; 117 $data['showDownloadApp'] = true;
118 // 从搜索页过来的,显示搜索框, 和进入品牌引导信息 118 // 从搜索页过来的,显示搜索框, 和进入品牌引导信息
119 if ($from === 'search') { 119 if ($from === 'search') {
120 - $data['goodList'] = Product\ListModel::getBrandData($condition, $title); 120 + $data['goodList'] = array();
121 $data['goodList']['brandWay'] = false; 121 $data['goodList']['brandWay'] = false;
122 $data['goodList']['search']['default'] = $query; 122 $data['goodList']['search']['default'] = $query;
123 $data['goodList']['search']['url'] = Helpers::url('', null, 'search'); 123 $data['goodList']['search']['url'] = Helpers::url('', null, 'search');
@@ -125,7 +125,7 @@ class IndexController extends AbstractAction @@ -125,7 +125,7 @@ class IndexController extends AbstractAction
125 // 品牌一览过来的展示品牌介绍和LOGO 125 // 品牌一览过来的展示品牌介绍和LOGO
126 else { 126 else {
127 $data['brandHome'] = Product\ListModel::getBrandIntro($brandIds[0], $uid, $title); 127 $data['brandHome'] = Product\ListModel::getBrandIntro($brandIds[0], $uid, $title);
128 - $data['goodList'] = Product\ListModel::getBrandData($condition, $title); 128 + $data['goodList'] = array();
129 } 129 }
130 $data['goodList'] += $condition; 130 $data['goodList'] += $condition;
131 131