Merge branch 'feature/new-goods' into release/5.4
Showing
5 changed files
with
28 additions
and
26 deletions
1 | let Handlebars = require('handlebars/dist/handlebars.js'); | 1 | let Handlebars = require('handlebars/dist/handlebars.js'); |
2 | 2 | ||
3 | module.exports = guangType => { | 3 | module.exports = guangType => { |
4 | - let html = ''; | 4 | + let html = '<div class="cate fashion-good">潮品</div>'; |
5 | 5 | ||
6 | - switch(guangType) { | ||
7 | - case '1': | ||
8 | - html = '<div class="cate topic">话题</div>'; | ||
9 | - break; | ||
10 | - case '2': | ||
11 | - html = '<div class="cate collocation">搭配</div>'; | ||
12 | - break; | ||
13 | - case '3': | ||
14 | - html = '<div class="cate fashion-man">潮人</div>'; | ||
15 | - break; | ||
16 | - case '4': | ||
17 | - html = '<div class="cate fashion-good">潮品</div>'; | ||
18 | - break; | ||
19 | - case '5': | ||
20 | - html = '<div class="cate tip">小贴士</div>'; | ||
21 | - break; | ||
22 | - case '19': | ||
23 | - html = '<div class="cate tip">专题</div>'; | ||
24 | - break; | ||
25 | - } | 6 | + // switch(guangType) { |
7 | + // case '1': | ||
8 | + // html = '<div class="cate topic">话题</div>'; | ||
9 | + // break; | ||
10 | + // case '2': | ||
11 | + // html = '<div class="cate collocation">搭配</div>'; | ||
12 | + // break; | ||
13 | + // case '3': | ||
14 | + // html = '<div class="cate fashion-man">潮人</div>'; | ||
15 | + // break; | ||
16 | + // case '4': | ||
17 | + // html = '<div class="cate fashion-good">潮品</div>'; | ||
18 | + // break; | ||
19 | + // case '5': | ||
20 | + // html = '<div class="cate tip">小贴士</div>'; | ||
21 | + // break; | ||
22 | + // case '19': | ||
23 | + // html = '<div class="cate tip">专题</div>'; | ||
24 | + // break; | ||
25 | + // } | ||
26 | 26 | ||
27 | return new Handlebars.SafeString(html); | 27 | return new Handlebars.SafeString(html); |
28 | -}; | ||
28 | +}; |
@@ -7,9 +7,11 @@ | @@ -7,9 +7,11 @@ | ||
7 | 7 | ||
8 | .recommend-brands { | 8 | .recommend-brands { |
9 | .panel-header { | 9 | .panel-header { |
10 | + border-top: none; | ||
10 | border-bottom: none; | 11 | border-bottom: none; |
11 | } | 12 | } |
12 | .panel-body { | 13 | .panel-body { |
14 | + padding-top: 0; | ||
13 | padding-left: 20px; | 15 | padding-left: 20px; |
14 | padding-right: 20px; | 16 | padding-right: 20px; |
15 | flex-wrap: wrap; | 17 | flex-wrap: wrap; |
@@ -21,7 +23,7 @@ | @@ -21,7 +23,7 @@ | ||
21 | } | 23 | } |
22 | 24 | ||
23 | .brand-news-count { | 25 | .brand-news-count { |
24 | - margin-top: 20px; | 26 | + margin: 20px 0; |
25 | width: 32%; | 27 | width: 32%; |
26 | 28 | ||
27 | img { | 29 | img { |
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | height: 50px; | 36 | height: 50px; |
37 | padding-left: 19px; | 37 | padding-left: 19px; |
38 | padding-right: 19px; | 38 | padding-right: 19px; |
39 | - line-height: 46px; | 39 | + line-height: 50px; |
40 | color: #444; | 40 | color: #444; |
41 | border: 2px solid #444; | 41 | border: 2px solid #444; |
42 | border-radius: 5px; | 42 | border-radius: 5px; |
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | &.search-tags { | 12 | &.search-tags { |
13 | background-image: url('/product/new/hot-search.jpg'); | 13 | background-image: url('/product/new/hot-search.jpg'); |
14 | background-position-y: 28px; | 14 | background-position-y: 28px; |
15 | - background-position-x: -14px; | 15 | + background-position-x: -18px; |
16 | } | 16 | } |
17 | 17 | ||
18 | &.brand-tags { | 18 | &.brand-tags { |
-
Please register or login to post a comment