PageSourceSearch

https://jingan.gov.cn/js/pages.js

js jingan.gov.cn collected 2026-10-02 06:06:20 UTC 1,751 bytes, 40 lines download raw bytes

1(function (win, $) {
2    if (webbuilder.getQueryString('categoryNum')) {
3        var M = Mustache;
4        webbuilder.getCustomPageInfoListNew('subpagelist', function (data) {
5            if (data.status == '1') {
6                //1.调用mustache的方法进行数据填充
7                var html = M.render($('#infolist').html(), data);
8                //2.先清空页面中的元素,再对内容进行数据渲染
9                $('.news-list-items').empty().html(html);
10                //3.遍历里面的标签元素,调用标签方法
11                $('.moreinfoBQ2').each(function () {
12                    var infoid = $(this).data('infoid');
13                    var title = $(this).data('title');
14                    window.getTag(title, infoid);
15                })
16                //4.静安影像志区分图片和视频
17                $(".video-img").each(function () {
18                    if($(this).text().trim()=="004002002"){
19                        $(this).find("i").show();
20                    }else{
21                        $(this).find("i").hide();
22                    }
23                });
24                //静安要闻
25                $(".news-img").each(function () {
26                    if($(this).attr("src")=="null" || $(this).attr("src")==""){
27                        $(this).addClass("hidden");
28                        $(this).parent().find(".news-info").addClass("news-infoadd");
29                    }
30                });
31
32            } else {
33                $('.news-list-items').html('数据获取异常!!!');
34            }
35            $('#main').removeClass('hidden');
36        });
37    } else {
38        $('#main').removeClass('hidden');
39    }
40}(this, jQuery));

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.