Authored by uedxwg

修改hotrank数据加载方式 by 赵彪 备:方法可能会重构

... ... @@ -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);
}
... ...