PageSourceSearch

https://www.jiahua.com/js/Search.js

js jiahua.com collected 2026-10-05 05:09:47 UTC 1,645 bytes, 38 lines download raw bytes

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">&lt;&lt;</a>{$PageNumInfo$}<a href="{$NextLink$}" class="next">&gt;&gt;</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.