Showing
3 changed files
with
96 additions
and
2 deletions
@@ -13,7 +13,9 @@ | @@ -13,7 +13,9 @@ | ||
13 | <i class="iconfont"></i> | 13 | <i class="iconfont"></i> |
14 | 品牌介绍 | 14 | 品牌介绍 |
15 | </a> | 15 | </a> |
16 | - <span class="iconfont{{#if coled}} coled{{/if}}"></span> | 16 | + <span> |
17 | + <i class="iconfont{{#if coled}} coled{{/if}}"></i> | ||
18 | + </span> | ||
17 | </p> | 19 | </p> |
18 | </div> | 20 | </div> |
19 | {{/ brandBanner}} | 21 | {{/ brandBanner}} |
@@ -23,6 +25,32 @@ | @@ -23,6 +25,32 @@ | ||
23 | 25 | ||
24 | <div class="list-left pull-left"></div> | 26 | <div class="list-left pull-left"></div> |
25 | <div class="list-right pull-right"> | 27 | <div class="list-right pull-right"> |
28 | + {{# shopEntry}} | ||
29 | + <div class="shop-entry clearfix"> | ||
30 | + <a class="pull-left" href="{{home}}"> | ||
31 | + <img class="logo" src="{{logo}}"> | ||
32 | + </a> | ||
33 | + | ||
34 | + <div class="name pull-left"> | ||
35 | + <a class="shop-name" href="{{home}}">{{shopName}}</a> | ||
36 | + <p class="sorts"> | ||
37 | + {{#each sort}} | ||
38 | + <a href="{{href}}">{{name}}</a> | ||
39 | + | ||
40 | + {{#unless @last}} | ||
41 | + / | ||
42 | + {{/unless}} | ||
43 | + {{/each}} | ||
44 | + </p> | ||
45 | + </div> | ||
46 | + | ||
47 | + <a class="entry-btn pull-right" href="{{home}}"> | ||
48 | + 进入品牌店铺 | ||
49 | + <span class="iconfont"></span> | ||
50 | + </a> | ||
51 | + </div> | ||
52 | + {{/ shopEntry}} | ||
53 | + | ||
26 | {{# filters}} | 54 | {{# filters}} |
27 | {{> product/filter-box}} | 55 | {{> product/filter-box}} |
28 | {{/ filters}} | 56 | {{/ filters}} |
1 | -.product-search-page { | 1 | +.product-list-page { |
2 | .list-left { | 2 | .list-left { |
3 | width: 160px; | 3 | width: 160px; |
4 | } | 4 | } |
@@ -6,4 +6,55 @@ | @@ -6,4 +6,55 @@ | ||
6 | .list-right { | 6 | .list-right { |
7 | width: 970px; | 7 | width: 970px; |
8 | } | 8 | } |
9 | + | ||
10 | + .shop-entry { | ||
11 | + position: relative; | ||
12 | + background: #f5f7f6; | ||
13 | + border: 1px solid #eaeceb; | ||
14 | + padding: 12px 15px; | ||
15 | + margin-bottom: 10px; | ||
16 | + | ||
17 | + .logo { | ||
18 | + width: 80px; | ||
19 | + height: 50px; | ||
20 | + } | ||
21 | + | ||
22 | + .name { | ||
23 | + margin-left: 10px; | ||
24 | + } | ||
25 | + | ||
26 | + .shop-name { | ||
27 | + font-size: 16px; | ||
28 | + color: #222; | ||
29 | + line-height: 26px; | ||
30 | + } | ||
31 | + | ||
32 | + .sorts { | ||
33 | + color: #999; | ||
34 | + font-size: 12px; | ||
35 | + line-height: 18px; | ||
36 | + | ||
37 | + a { | ||
38 | + color: #999; | ||
39 | + } | ||
40 | + } | ||
41 | + | ||
42 | + .entry-btn { | ||
43 | + position: absolute; | ||
44 | + right: 15px; | ||
45 | + top: 50%; | ||
46 | + width: 110px; | ||
47 | + height: 32px; | ||
48 | + line-height: 32px; | ||
49 | + margin-top: -16px; | ||
50 | + background: #222; | ||
51 | + text-align: center; | ||
52 | + color: #fff; | ||
53 | + font-size: 12px; | ||
54 | + | ||
55 | + .iconfont { | ||
56 | + font-size: 12px; | ||
57 | + } | ||
58 | + } | ||
59 | + } | ||
9 | } | 60 | } |
@@ -396,6 +396,21 @@ class IndexController extends AbstractAction | @@ -396,6 +396,21 @@ class IndexController extends AbstractAction | ||
396 | 'name' => '包类/装备' | 396 | 'name' => '包类/装备' |
397 | ) | 397 | ) |
398 | ), | 398 | ), |
399 | + 'shopEntry' => array( | ||
400 | + 'home' => 'adidas.yohobuy.com', | ||
401 | + 'logo' => 'http://img11.static.yhbimg.com/brandLogo/2013/01/16/09/01f515687de080f94243cb1aa0fedb2fe1.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90', | ||
402 | + 'shopName' => 'adidas Originals品牌店', | ||
403 | + 'sort' => array( | ||
404 | + array( | ||
405 | + 'href' => '', | ||
406 | + 'name' => 'T恤' | ||
407 | + ), | ||
408 | + array( | ||
409 | + 'href' => '', | ||
410 | + 'name' => '卫衣' | ||
411 | + ) | ||
412 | + ) | ||
413 | + ), | ||
399 | 'filters' => array( | 414 | 'filters' => array( |
400 | 'checkedConditions' => array( | 415 | 'checkedConditions' => array( |
401 | 'conditions' => array( | 416 | 'conditions' => array( |
-
Please register or login to post a comment