Authored by zhangxiaoru

brand img

@@ -34,7 +34,7 @@ const _processBrandShops = (list) => { @@ -34,7 +34,7 @@ const _processBrandShops = (list) => {
34 url: helpers.urlFormat('/product/index/brand/', { 34 url: helpers.urlFormat('/product/index/brand/', {
35 shop_id: item.shop_id 35 shop_id: item.shop_id
36 }), 36 }),
37 - thumb: helpers.image(item.shop_logo, 75, 40), 37 + thumb: helpers.image(item.shop_logo, 126, 80),
38 name: item.shop_name, 38 name: item.shop_name,
39 shopId: item.shop_id 39 shopId: item.shop_id
40 }); 40 });
@@ -43,7 +43,7 @@ const _processBrandShops = (list) => { @@ -43,7 +43,7 @@ const _processBrandShops = (list) => {
43 url: helpers.urlFormat('/product/global/list/', { 43 url: helpers.urlFormat('/product/global/list/', {
44 brand: item.global_brand_id 44 brand: item.global_brand_id
45 }), 45 }),
46 - thumb: helpers.image(item.brand_ico, 75, 40), 46 + thumb: helpers.image(item.brand_ico, 126, 80),
47 name: item.brand_name, 47 name: item.brand_name,
48 brandId: item.global_brand_id 48 brandId: item.global_brand_id
49 }); 49 });
@@ -201,7 +201,7 @@ const _processBrandShops = (list) => { @@ -201,7 +201,7 @@ const _processBrandShops = (list) => {
201 url: helpers.urlFormat('/product/index/brand/', { 201 url: helpers.urlFormat('/product/index/brand/', {
202 shop_id: item.shop_id 202 shop_id: item.shop_id
203 }), 203 }),
204 - thumb: helpers.image(item.shop_logo, 75, 40), 204 + thumb: helpers.image(item.shop_logo, 126, 80),
205 name: item.shop_name, 205 name: item.shop_name,
206 shopId: item.shop_id 206 shopId: item.shop_id
207 }); 207 });
@@ -210,7 +210,7 @@ const _processBrandShops = (list) => { @@ -210,7 +210,7 @@ const _processBrandShops = (list) => {
210 url: helpers.urlFormat('/product/global/list/', { 210 url: helpers.urlFormat('/product/global/list/', {
211 brand: item.global_brand_id 211 brand: item.global_brand_id
212 }), 212 }),
213 - thumb: helpers.image(item.brand_ico, 75, 40), 213 + thumb: helpers.image(item.brand_ico, 126, 80),
214 name: item.brand_name, 214 name: item.brand_name,
215 brandId: item.global_brand_id 215 brandId: item.global_brand_id
216 }); 216 });
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
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 {{#if thumb}}
22 - <img class="brand-thumb" src={{image2 thumb q=60}}> 22 + <img class="brand-thumb" src={{image2 thumb q=90}}>
23 {{else}} 23 {{else}}
24 <span class="occupy"></span> 24 <span class="occupy"></span>
25 {{/if}} 25 {{/if}}
@@ -105,7 +105,8 @@ @@ -105,7 +105,8 @@
105 float: left; 105 float: left;
106 margin: 0; 106 margin: 0;
107 display: inline-block; 107 display: inline-block;
108 - margin-top: 5px; 108 + height: 80px;
  109 + width: auto;
109 } 110 }
110 111
111 .occupy { 112 .occupy {