Authored by Rock Zhang

修复搜索new或者hot品牌返回结果错误的bug,YW-1590

... ... @@ -129,10 +129,10 @@ function searchResult() {
brandHtml.push('<p><a href="' + brand.url + '">' + brand.name);
if (brand.isNew) {
brandHtml.push('<i class="icon-hot">HOT</i>');
brandHtml.push('<i class="icon-hot">NEW</i>');
}
if (brand.isHot) {
brandHtml.push('<i class="icon-new">NEW</i>');
brandHtml.push('<i class="icon-new">HOT</i>');
}
brandHtml.push('</a></p>');
});
... ...