Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
80519a6a859dab8ef4edeb74bb840ee0066b4d9b
1 parent
304b13b9
修复搜索new或者hot品牌返回结果错误的bug,YW-1590
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
static/js/category/brand.js
static/js/category/brand.js
View file @
80519a6
...
...
@@ -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>'
);
});
...
...
Please
register
or
login
to post a comment