1 2 3function sel(index) { 4 $.ajax({ 5 type: "POST", 6 dataType: "json", 7 url: "/AjaxFile/Search.ashx", 8 async: false, 9 data: { 10 keyword: $("#guanjiaci2").val(), 11 list: '<li><a href="{$href$}"><div class="box"><div class="date font20">{$StartTime:yyyy-MM-dd$}</div><div class="text"><div class="bt font20"><span>ã{$subtitle$}ã</span>{$title$}</div><div class="jsh">{$remark$}</div></div></div></a></li>', //å¾ªç¯æ ¼å¼ å¤é¢ä¸è¬ç¨<ul class="listShow"></ul>å 裹 12 page: '<a href="{$PrevLink$}" class="prev"><<</a>{$PageNumInfo$}<a href="{$NextLink$}" class="next">>></a><b>å ± {$TotalPage$} 页</b><span>è·³è³ {$PageSelectInfo$} 页</span>', //åé¡µæ ¼å¼ å¤é¢ç¨<div class="page"></div>å 裹 13 index: index, //å½åé¡µæ° 14 count: 8, //æ¯é¡µæ¾ç¤ºæ¡æ° 15 item: "News"//æç´¢è¡¨(Product News Single Job Message ProductAndNews) 16 }, 17 success: function(data) { 18 if (data.listShow.indexOf("ææ æ°æ®") == -1) { 19 $(".newslist1").html(data.listShow); 20 21 $(".page").html(data.listPage); 22 $(".page .currentPage").addClass("cpb"); //é«äº® 23 if ($(".page a").length <= 1) { 24 $(".page").hide(); 25 } 26 } 27 else { 28 $(".newslist1").html("ææ æ°æ®"); 29 $(".page").hide(); 30 } 31 }, 32 error: function(XMLHttpRequest, textStatus, errorThrown) { 33 //alert(errorThrown); 34 } 35 }); 36} 37 38
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.