1language.init('news') 2let pageNum=1; 3let pageSize=6; 4let pages=$("#pages").val(); 5function pageInit(){ 6 myPageInit({ 7 pages: pages, 8 currentPage: pageNum, 9 element: '.paging', 10 callback: function (page) { 11 Init(page) 12 } 13 }) 14} 15 16$(function () { 17 Init(1); 18 pageInit(); 19}) 20 21function Init(pageNum){ 22 // è·åcookie 23 let lang = $.cookie('language'); 24 console.log(lang) 25 $.ajax({ 26 type:"post", 27 url:"/newModel/selectBylmc", 28 data:{language:lang,modelId:$("#modelId").val(), 29 columnId:$("#columnId").val(),pageNum:pageNum,pageSize:pageSize}, 30 success:function (res){ 31 if (res.code==200){ 32 let news= res.data.list; 33 let html=''; 34 for (let i = 0; i < news.length; i++) { 35 html+='<li>'+ 36 '<div class="block-a" href="/detail/'+news[i].id+'.html">'+ 37 '<div class="list-img">'+ 38 '<img class="maxwh" src="https://erpproduct.oss-cn-hongkong.aliyuncs.com'+news[i].coverPicture+'" alt="">'+ 39 '</div>'+ 40 '<div class="list-con">'+ 41 '<div>'+ 42 '<div>'+news[i].title+'</div>'+ 43 '<div class="pc-container no-show">'+news[i].pubDate+'</div>'+ 44 '</div>'+ 45 '<div>'+news[i].summary+'</div>'+ 46 '<div class="pc-container">'+ 47 '<span class="no-show" onclick="learnMore('+news[i].id+')" class="hand" data-lang="more">详ç»äºè§£</span>'+ 48 '</div>'+ 49 '</div>'+ 50 '</div>'+ 51 '</li>'; 52 } 53 $(".list").html(html); 54 } 55 } 56 }) 57} 58 59function learnMore(id){ 60 window.location.href='/detail/'+id+'.html'; 61} 62 63var off_on = false 64 65$(window).scroll(function () { 66 if(off_on) return 67 68 var s = $(window).scrollTop(), 69 h = $(window).height(), 70 documentH = $(document).height() 71 72 if ((s + h + 400) >= documentH) { 73 off_on = true 74 75 off_on = false 76 console.log('åºé¨') 77 } 78})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.