Merge branch 'feature/brandJump' into 'release/5.6'
品牌入口样式 See merge request !490
Showing
3 changed files
with
16 additions
and
5 deletions
@@ -18,7 +18,11 @@ | @@ -18,7 +18,11 @@ | ||
18 | <div class="brand-enter"> | 18 | <div class="brand-enter"> |
19 | {{# brandWay}} | 19 | {{# brandWay}} |
20 | <a href={{url}} data-shopid="{{shopId}}" data-brandid="{{brandId}}"> | 20 | <a href={{url}} data-shopid="{{shopId}}" data-brandid="{{brandId}}"> |
21 | + {{#if thumb}} | ||
21 | <img class="brand-thumb" src={{image2 thumb q=60}}> | 22 | <img class="brand-thumb" src={{image2 thumb q=60}}> |
23 | + {{else}} | ||
24 | + <span class="occupy"></span> | ||
25 | + {{/if}} | ||
22 | <span class="brand-name">{{name}}</span> | 26 | <span class="brand-name">{{name}}</span> |
23 | {{#if brandId}}<span class="global"></span>{{/if}} | 27 | {{#if brandId}}<span class="global"></span>{{/if}} |
24 | <span class="entry"> | 28 | <span class="entry"> |
@@ -72,7 +72,7 @@ | @@ -72,7 +72,7 @@ | ||
72 | 72 | ||
73 | a { | 73 | a { |
74 | display: block; | 74 | display: block; |
75 | - height: 84px; | 75 | + height: 80px; |
76 | line-height: 80px; | 76 | line-height: 80px; |
77 | padding: 0 20px; | 77 | padding: 0 20px; |
78 | border-top: 1px solid #e6e6e6; | 78 | border-top: 1px solid #e6e6e6; |
@@ -105,8 +105,15 @@ | @@ -105,8 +105,15 @@ | ||
105 | 105 | ||
106 | .brand-thumb { | 106 | .brand-thumb { |
107 | float: left; | 107 | float: left; |
108 | - width: 110px; | ||
109 | - height: 84px; | 108 | + margin: 0; |
109 | + display: inline-block; | ||
110 | + margin-top: 5px; | ||
111 | + } | ||
112 | + | ||
113 | + .occupy { | ||
114 | + float: left; | ||
115 | + width: 130px; | ||
116 | + height: 80px; | ||
110 | margin: 0; | 117 | margin: 0; |
111 | display: inline-block; | 118 | display: inline-block; |
112 | } | 119 | } |
@@ -125,7 +132,7 @@ | @@ -125,7 +132,7 @@ | ||
125 | 132 | ||
126 | .entry { | 133 | .entry { |
127 | color: #999; | 134 | color: #999; |
128 | - font-size: 28px; | 135 | + font-size: 24px; |
129 | float: right; | 136 | float: right; |
130 | display: inline-block; | 137 | display: inline-block; |
131 | } | 138 | } |
@@ -191,7 +191,7 @@ exports.processProductList = (list, options) => { | @@ -191,7 +191,7 @@ exports.processProductList = (list, options) => { | ||
191 | product.is_solded = true; | 191 | product.is_solded = true; |
192 | } | 192 | } |
193 | 193 | ||
194 | - if (product.is_global === 'Y') { | 194 | + if (product.is_global === 'Y' && product.tbl_country_name && product.tbl_country_name !== '') { |
195 | tags.is_global = true; | 195 | tags.is_global = true; |
196 | } | 196 | } |
197 | 197 |
-
Please register or login to post a comment