' + obj2.title + '
';itemHtml +='
' + '' + (obj2.cloneCount ==null ?3 :obj2.cloneCount) + '' + '' + (obj2.viewCount ==null ?43 :obj2.viewCount) + '' + '' + '' + (obj2.praiseCount ==null ?10 :obj2.praiseCount) + '' + '' + (obj2.price ==null ?"免费" :"¥" + obj2.price) + '
';itemHtml +='
';$('#gallery').append(itemHtml);} } if (pages >1) {scrollload.attachScrollListener();scrollload.unLock();} else {scrollload.noMoreData();} } } } }).post() } var scrollload =new Scrollload({container:document.querySelector('.scrollload-container'),content:document.querySelector('.scrollload-content'),isInitLock:true,loadMore:function (sl) {if (page >=pages) {sl.noMoreData();return;} let id =$('#cateChooseId').val();let keywords =$('.searchTxt').val();let sortFiled ="";page =page + 1;Http({url:'/order/api/v1/mind/search/query?pageNo=' + (page) + '&pageSize=10&typeId=' + id + '&keywords=' + keywords + '&sortField=' + sortFiled,headers:{'Content-Type':'application/x-www-form-urlencoded'},success:function (result,status,xhr) {if (status ==='success') {if (result &&result.data) {pages =result.total;let gStr =getGroup();if (result.data) {for (var i =0;i < result.data.length;i++) {var obj2 =result.data[i];var itemHtml ='';itemHtml +='