Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
uedxwg
9 years ago
Commit
2bcb28bb4b88c93cb0abf999227595f36b26be5f
1 parent
2d6cdc57
修改hotrank数据加载方式 by 赵彪 备:方法可能会重构
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
static/js/product/newsale/hot-rank.js
static/js/product/newsale/hot-rank.js
View file @
2bcb28b
...
...
@@ -12,6 +12,7 @@ var page = 1,
notab
=
0
,
sort
=
''
,
id
=
''
,
hotrankNav
,
noResult
=
'<p class="no-result">未找到相关搜索结果</p>'
;
// var renderRank = {
...
...
@@ -89,7 +90,7 @@ function hotrank(page, sort, tabId, notab) {
$
(
'#hotRank'
).
html
(
noResult
);
}
else
{
if
(
page
===
1
)
{
var
hotrankNav
=
$
(
'.goods-nav'
).
prop
(
"outerHTML"
);
hotrankNav
=
$
(
'.goods-nav'
).
prop
(
'outerHTML'
);
$
(
'#hotRank'
).
html
(
hotrankNav
+
noResult
);
}
...
...
Please
register
or
login
to post a comment