Authored by 毕凯

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

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