'+timelength+'
'; constr+=''; constr+='
'; $(".english20143_ind13 .general_video_list").html(constr); Echo.init({ offset: 0, //离可视区域多少像素的图片可以被加载 throttle:10 //图片延时多少毫秒加载 }); gundong = true; } } if (total.length<9){ //$(".English19035_ind05 .more i").hide(); $(".english20143_ind13 .load_btn_mo").addClass("nomore"); $('.english20143_ind13 .load_btn_mo button').html("No more updates"); gundong = false; } }, error: function () { //console.log("跨域了"); alert("跨域了"); } }); } var gundong = true; window.onresize = window.onscroll = function () { var height=getClientHeight(), // 窗口滚动条高度 theight=getScrollTop(), // 窗口可视范围的高度 rheight=getScrollHeight(), // 滚动条距离底部的高度 bheight=rheight-theight-height; if (gundong){ if (bheight<=350){ //console.log(1111) gundong = false; setTimeout(function(){ page = page+1; loadadd(page,num); },200); } } } } else { var listnum=12; var urlend=false; var page=1; var datalist=[]; var total=0; var pageid="PAGESRV3IHIq5tdcctMXHPfA230209,PAGEWTSvGojjfvCO22lCG26Z230209,PAGE5hlSTQke6t8017S7lGYg230209,PAGEJ4gT45ydzylhCuz5R9kz230209,PAGETRPElZjYT0LdiAY2XZ7C230209,PAGE4EMG94sh18H8S2kmCsfb230209,PAGEXkyUDYmbF9jAosve30VG230209,PAGErLxnGGhtn4AoeqP3nDOp230209,PAGErZRTmCFoDL12Jh4wkqDJ230209"; var fous_Date=""; var pagenum; var jiazai=true; var list_url=''; function loadlist(page,listnum){ $.ajax({ type: "get", url: apiUrlE+"?id="+pageid+"&mode=2&sort=desc&n="+listnum+"&p="+page+"&serviceId=pcenglish", cache: true, dataType: "jsonp", jsonp: "cb", jsonpCallback: "CallbackPC"+page, async:false, success: function(data) { total=data.data.total; var data = data.data.list; var str=""; for(var i=0;i'; str+=''; str+=''; str+='
'; } $(".english20143_ind13 .general_video_list").append(str); Echo.init({ offset: 0, //离可视区域多少像素的图片可以被加载 throttle:10 //图片延时多少毫秒加载 }); pagenum=page*listnum; if(pagenum>=total){ pagenum=total; $('.load_btn_pc button').html('No more updates'); $('.load_btn_pc').addClass('nomore'); // $(".xinwen18886_ind04 .more").unbind("click"); }else{ jiazai=true; $(".load_btn_pc").removeClass("nomore") $(".load_btn_pc button").html("Click for more"); } }, error: function () { //console.log("跨域了"); alert("跨域了"); } }); } loadlist(1,listnum); //点击加载更多 $(".english20143_ind13 .load_btn_pc button").click(function(){ if(jiazai){ jiazai=false; page++; $(".load_btn_pc").removeClass("nomore") $(".load_btn_pc button").html("Click for more"); setTimeout(function(){ loadlist(page,12); },500) } }) }

Please scan the QR code to read on mobile phone