Authored by 毕凯

品牌页面 热门品牌不显示标题

{{> layout/header}}
<div class="brand-page yoho-page">
{{# channel}}
<div class="newbrand-search">
<div class="search-box clearfix">
<a href="{{searchUrl}}" >
... ... @@ -40,4 +42,6 @@
{{/ list}}
</div>
{{/ brandList}}
{{/channel}}
{{> layout/footer}}
... ...
<div class="hot-brands">
{{^ brandPage}}
{{> home/floor_header}}
{{/ brandPage}}
<div class="brands-swiper">
<ul class="brands-list swiper-wrapper clearfix">
{{# list}}
... ...
... ... @@ -41,7 +41,10 @@ class BrandController extends AbstractAction
}
// 渲染模板
$this->_view->display('index', Category\BrandModel::getBrandByChannel($channel));
$this->_view->display('index', array(
'brandPage' => true,
'channel' => Category\BrandModel::getBrandByChannel($channel)
));
}
/**
... ...