Authored by zhangxiaoru

brand img

... ... @@ -34,7 +34,7 @@ const _processBrandShops = (list) => {
url: helpers.urlFormat('/product/index/brand/', {
shop_id: item.shop_id
}),
thumb: helpers.image(item.shop_logo, 75, 40),
thumb: helpers.image(item.shop_logo, 126, 80),
name: item.shop_name,
shopId: item.shop_id
});
... ... @@ -43,7 +43,7 @@ const _processBrandShops = (list) => {
url: helpers.urlFormat('/product/global/list/', {
brand: item.global_brand_id
}),
thumb: helpers.image(item.brand_ico, 75, 40),
thumb: helpers.image(item.brand_ico, 126, 80),
name: item.brand_name,
brandId: item.global_brand_id
});
... ...
... ... @@ -201,7 +201,7 @@ const _processBrandShops = (list) => {
url: helpers.urlFormat('/product/index/brand/', {
shop_id: item.shop_id
}),
thumb: helpers.image(item.shop_logo, 75, 40),
thumb: helpers.image(item.shop_logo, 126, 80),
name: item.shop_name,
shopId: item.shop_id
});
... ... @@ -210,7 +210,7 @@ const _processBrandShops = (list) => {
url: helpers.urlFormat('/product/global/list/', {
brand: item.global_brand_id
}),
thumb: helpers.image(item.brand_ico, 75, 40),
thumb: helpers.image(item.brand_ico, 126, 80),
name: item.brand_name,
brandId: item.global_brand_id
});
... ...
... ... @@ -19,7 +19,7 @@
{{# brandWay}}
<a href={{url}} data-shopid="{{shopId}}" data-brandid="{{brandId}}">
{{#if thumb}}
<img class="brand-thumb" src={{image2 thumb q=60}}>
<img class="brand-thumb" src={{image2 thumb q=90}}>
{{else}}
<span class="occupy"></span>
{{/if}}
... ...
... ... @@ -105,7 +105,8 @@
float: left;
margin: 0;
display: inline-block;
margin-top: 5px;
height: 80px;
width: auto;
}
.occupy {
... ...