PageSourceSearch

https://www.chuanhui.gov.cn/sitesources/chq/theme/uxtheme10001/js/custom.js?20260925161053

js chuanhui.gov.cn collected 2026-09-25 08:17:23 UTC 2,542 bytes, 115 lines download raw bytes

1$(function() {
2	var initSum = 0;
3	function init() {
4		var nav_length = $('#globalNav ul li').length;
5		if(nav_length>0){
6			// 导航
7			$('#globalNav li').removeClass('top-nav-active');
8			try {
9				if(catalogId != '') {
10					for(var i=0;i<nav_length;i++) {
11						(function() {
12							if($('#globalNav li').eq(i).attr('data-listid') == catalogId) {
13								$('#globalNav li').eq(i).addClass('top-nav-active');
14							}
15						})(i)
16					}
17				}
18			}
19			catch(e) {
20				console.log(e.name + " :" + e.message );
21				$('#globalNav li').eq(0).addClass('top-nav-active');
22			};
23		}else if(initSum>5){}else{
24			initSum++;
25			setTimeout(function() {
26				init();
27			},500);
28		}
29	}
30	init();
31	
32	function slideInit() {
33		$(".jdlb-content").slide({
34			mainCell: ".bd ul",
35			autoPlay: true,
36			interTime: 6000,
37			effect:"left",
38			easing:"easeInOutCirc",
39			delayTime:500
40		});
41		$(".yw-content-slide1").slide({
42			easing: "easeOutCirc"
43		});
44		$(".yw-content-slide1-item1").slide({
45			titCell: ".item-hd ul li",
46			mainCell: ".item-bd",
47			easing: "easeOutCirc"
48		});
49		$(".yw-content-slide1-item2").slide({
50			titCell: ".item-hd ul li",
51			mainCell: ".item-bd",
52			easing: "easeOutCirc"
53		});
54		$(".yw-content-slide2").slide({
55			easing: "easeOutCirc"
56		});
57		$(".yw-content-slide3").slide({
58			easing: "easeOutCirc"
59		});
60		$(".ztzl-content").slide({
61			titCell: ".hd ul",
62			mainCell: ".bd ul",
63			autoPage: true,
64			effect: "left",
65			autoPlay: true,
66			vis: 4
67		});
68		
69		// 渲染省政府动态列表
70		/*$.ajax({
71			type:"get",
72			url:"//www.henan.gov.cn/ywdt/szf/",
73			async:true,
74			success: function(res) {
75				var data = res;
76				for(var i = 0;i < 9;i++){
77					var index = i+1;
78					var li = $(data).find(".list-box>ul>li:eq("+i+")");
79					var href=li.find("a").attr("href");
80					var url='';
81					if (href.indexOf('http')!=-1){
82						url=href;
83					}else{
84						url = "https://www.henan.gov.cn"+li.find("a").attr("href");
85					}
86					var title = li.find("a").text();
87					var date = li.find(".date").text();
88					$("#ulSzf").append('<li><span class="date">'+$.trim(date).substring(0)+'</span><a href="'+url+'" target="_blank">'+title+'</a></li>');
89				}
90			},
91			error:function(xhr,status,statusText){
92				$("#ulSzf").html("<div>数据加载中</div>")
93			}
94		});*/
95	}
96	
97	
98	var timeSum = 0;
99	
100	function prmi() {
101		var yw_len = $(".yw-content .hd ul").length;
102		if (yw_len > 0) {
103			slideInit();
104			window.scrollTo(0,0);
105		}else if(timeSum > 5){
106			
107		}else {
108			timeSum++;
109			setTimeout(function() {
110				prmi();
111			}, 500)
112		}
113	}
114	prmi();
115})

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.