Authored by 毕凯

搜索页增加品牌入口

@@ -34,31 +34,7 @@ @@ -34,31 +34,7 @@
34 {{> product/left-content}} 34 {{> product/left-content}}
35 </div> 35 </div>
36 <div class="list-right pull-right"> 36 <div class="list-right pull-right">
37 - {{# shopEntry}}  
38 - <div class="shop-entry clearfix">  
39 - <a class="pull-left" href="{{home}}">  
40 - <img class="logo" src="{{logo}}">  
41 - </a>  
42 -  
43 - <div class="name pull-left">  
44 - <a class="shop-name" href="{{home}}">{{shopName}}</a>  
45 - <p class="sorts">  
46 - {{#each sort}}  
47 - <a href="{{href}}">{{name}}</a>  
48 -  
49 - {{#unless @last}}  
50 - /  
51 - {{/unless}}  
52 - {{/each}}  
53 - </p>  
54 - </div>  
55 -  
56 - <a class="entry-btn pull-right" href="{{home}}">  
57 - 进入品牌店铺  
58 - <span class="iconfont">&#xe601;</span>  
59 - </a>  
60 - </div>  
61 - {{/ shopEntry}} 37 + {{> product/shop-entry}}
62 38
63 {{> product/standard-content}} 39 {{> product/standard-content}}
64 40
@@ -3,6 +3,8 @@ @@ -3,6 +3,8 @@
3 {{# search}} 3 {{# search}}
4 {{> layout/path-nav}} 4 {{> layout/path-nav}}
5 5
  6 + {{> product/shop-entry}}
  7 +
6 {{> product/standard-content}} 8 {{> product/standard-content}}
7 9
8 {{> product/latest-walk}} 10 {{> product/latest-walk}}
  1 +{{# shopEntry}}
  2 + <div class="shop-entry clearfix">
  3 + <a class="pull-left" href="{{home}}">
  4 + <img class="logo" src="{{logo}}">
  5 + </a>
  6 +
  7 + <div class="name pull-left">
  8 + <a class="shop-name" href="{{home}}">{{shopName}}</a>
  9 + <p class="sorts">
  10 + {{#each sort}}
  11 + <a href="{{href}}">{{name}}</a>
  12 +
  13 + {{#unless @last}}
  14 + /
  15 + {{/unless}}
  16 + {{/each}}
  17 + </p>
  18 + </div>
  19 +
  20 + <a class="entry-btn pull-right" href="{{home}}">
  21 + 进入品牌店铺
  22 + <span class="iconfont">&#xe601;</span>
  23 + </a>
  24 + </div>
  25 +{{/ shopEntry}}