|
|
@@ -179,12 +179,15 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, |
|
|
|
if (data.code == 200) { |
|
|
|
var content = data.rows; |
|
|
|
if (module.data.newList10.length >= data.total){ |
|
|
|
console.log(111111111111) |
|
|
|
return; |
|
|
|
}else{ |
|
|
|
console.log(222222222222) |
|
|
|
for (let i = 0 ; i < content.length ; i++){ |
|
|
|
module.data.newList10.push(content[i]); |
|
|
|
} |
|
|
|
} |
|
|
|
console.log(module.data.newList10) |
|
|
|
// module.data.newList4 = content; |
|
|
|
var newListData10 = template('newListData10', module.data); |
|
|
|
$("#newListContent_ul_10").html(newListData10); |
|
|
|