Authored by uedxwg

hotrank引入js

... ... @@ -143,6 +143,13 @@
seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 热门排行 --}}
{{#if hotrankPage}}
<script>
seajs.use('js/product/newsale/hot-rank');
seajs.use('js/index/footer');
</script>
{{/if}}
{{!-- 商品列表 --}}
{{#if goodListPage}}
<script>
... ...
... ... @@ -82,7 +82,7 @@ class NewsaleController extends AbstractAction
$channel = Helpers::getChannelByCookie();
// 设置一些默认参数
$data = array(
'discountPage' => true,
'hotrankPage' => true,
'headerBanner' => \Product\NewsaleModel::getNewFocus($channel),
'showDownloadApp' => true,
'pageFooter' => true,
... ...