PageSourceSearch

https://polycn.com/js/public.js

js polycn.com collected 2026-10-04 05:37:15 UTC 19,805 bytes, 339 lines download raw bytes

1$(document).ready(function () {
2    var url = window.location.href;
3    if (url.indexOf('aspx') < 0 && url.indexOf('/html') > 0) {
4        $("#header").load("header.html");
5        $("#footer").load("footer.html");
6    }
7    // 动态页导航定位
8    var header_a = $("#header .nav a");
9
10    $(".page_nav a").each(function () {
11        var name = $(this).attr("name");
12        header_a.each(function () {
13            // console.log($(this).attr("href").indexOf(name))
14            if ($(this).attr("href").indexOf(name) >= 0) {
15                $(this).addClass("on")
16            }
17        })
18    });
19    $("p:last-child").addClass("no_margin");
20    var detailed = $(".box .con");
21    $(".tab_name a").click(function () {
22        var idx = $(this).index();
23        $(this).addClass("on").siblings().removeClass("on");
24        detailed.eq(idx).stop().fadeIn().siblings().stop().hide();
25    });
26    if ($(".index").length) {
27        $(".index_1 .title").addClass('wow fadeInUp').css({ 'animation-delay': '.1s' });
28        $(".index_1 .shares").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
29        $(".index_1 .recommend h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
30        $(".index_1 .recommend h5").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
31        $(".index_1 .recommend p").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
32        $(".index_1 .index_fr a:eq(1)").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
33        $(".index_1 .h_more").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
34
35        $(".index_2 .title").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
36        $(".index_2 .item:eq(0) h3").addClass('wow').css({ 'animation-delay': '.4s' });
37        $(".index_2 .item:eq(0) h5").addClass('wow').css({ 'animation-delay': '.6s' });
38        $(".index_2 .item h3").addClass('animated fadeInUp').css({ 'animation-delay': '.4s' });
39        $(".index_2 .item h5").addClass('animated fadeInUp').css({ 'animation-delay': '.6s' });
40
41        $(".index_3 .title h3").addClass('wow fadeInUp2').css({ 'animation-delay': '.2s' });
42        $(".index_3 .title h5").addClass('wow fadeInUp2').css({ 'animation-delay': '.4s' });
43        $(".index_3 .title p").addClass('wow fadeInUp2').css({ 'animation-delay': '.6s' });
44        $(".index_3 .item").each(function (i) {
45            $(this).addClass("wow fadeInUp2").css({ 'animation-delay': i * 200 + 200 + 'ms' });
46        });
47
48        $(".index_4 .index_fl p").addClass('wow fadeInUp2').css({ 'animation-delay': '.2s' });
49        $(".index_4 .index_fl h5").addClass('wow fadeInUp2').css({ 'animation-delay': '.3s' });
50        $(".index_4 .index_fl h3").addClass('wow fadeInUp2').css({ 'animation-delay': '.4s' });
51        // $(".index_4 .item").addClass('wow fadeInUp2').css({ 'animation-delay': '.2s' });
52        $(".index_4 .item").each(function (i) {
53            $(this).addClass("wow fadeInUp2").css({ 'animation-delay': i * 200 + 200 + 'ms' });
54        });
55
56        $(".index_5 .item").addClass('wow fadeInUp2').css({ 'animation-delay': '.2s' });
57        $(".index_5 .recommend_report").addClass('wow fadeInUp2').css({ 'animation-delay': '.4s' });
58    }
59    if ($(".about").length) {
60        $(".about_1 .index_fl > h3,.about_1 .index_fl > h5").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
61        $(".about_1 .shares").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
62        $(".about_1 .index_fr h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
63        $(".about_1 .index_fr h5").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
64        $(".about_1 .index_fr p").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
65
66        $(".about_2 .float").addClass('wow fadeInUp').css({ 'animation-delay': '.1s' });
67        $(".about_2 h3").addClass('wow fadeInUp').css({ 'animation-delay': '.1s' });
68        $(".about_2 h5").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
69        $(".about_2 p").addClass('wow fadeInUp').css({ 'animation-delay': '.5s' });
70
71        $(".about_3 .introduce h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
72        $(".about_3 .introduce h5").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
73        $(".about_3 .introduce p").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
74
75        $(".about_4 .introduce h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
76        $(".about_4 .introduce h5").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
77        $(".about_4 .introduce p").addClass('wow fadeInUp').css({ 'animation-delay': '.5s' });
78        $(".about_4 .introduce h6").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
79        $(".about_4 .introduce li").addClass('wow fadeInUp').css({ 'animation-delay': '.7s' });
80    }
81    if ($(".about2").length) {
82        $(".about2_1 .con:eq(0) .li").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
83        $(".about2_1 .con .li").addClass('animated fadeInUp').css({ 'animation-delay': '.2s' });
84    }
85    if ($(".about4").length) {
86        $(".about4_1 .item").each(function (i) {
87            $(this).addClass("wow fadeInUp").css({ 'animation-delay': i * 200 + 200 + 'ms' });
88        });
89
90        $(".about4_2 .name h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
91        $(".about4_2 .name h5").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
92    }
93    if ($(".business").length) {
94        $(".business_1 .content > .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
95        $(".business_1 .introduce").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
96        $(".business_1 .item").each(function (i) {
97            $(this).addClass("wow fadeInUp").css({ 'animation-delay': i * 200 + 200 + 'ms' });
98        });
99
100        $(".business_2 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
101        $(".business_2 .index_fl .introduce").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
102        $(".business_2 .tab_name a").each(function (i) {
103            $(this).addClass("wow fadeInUp").css({ 'animation-delay': i * 200 + 200 + 'ms' });
104        });
105        $(".tab_name .inner_bor").addClass('wow fadeIn').css({ 'animation-delay': '.2s' });
106        $(".business_2 .con:eq(0) h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
107        $(".business_2 .con h3").addClass('animated fadeInUp').css({ 'animation-delay': '.2s' });
108        $(".business_2 .con:eq(0) p").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
109        $(".business_2 .con p").addClass('animated fadeInUp').css({ 'animation-delay': '.4s' });
110
111        $(".business_3 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
112        $(".business_3 .introduce").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
113
114        $(".businessNew2 .topText").addClass('wow fadeIn');
115        $(".businessNew2 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
116        $(".businessNew2 .introduce").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
117        $(".businessNew2 .aUl a").each(function (i) {
118            $(this).addClass("wow fadeInUp").css({ 'animation-delay': i * 100 + 200 + 'ms' });
119        });
120    }
121    if ($(".business2").length) {
122        $(".business2_1 h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
123        $(".business2_1 h5").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
124        $(".business2_1 p").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
125
126        $(".business2_2 .index_fl").addClass('wow fadeIn');
127        $(".business2_2 .tab_name").addClass('wow fadeIn');
128        $(".business2_2 .index_fl h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
129        $(".business2_2 .index_fl h5").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
130        $(".business2_2 .index_fl .icon").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
131
132        $(".business2_2 .con:eq(0) .introduce").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
133        $(".business2_2 .con .introduce").addClass('animated fadeInUp').css({ 'animation-delay': '.2s' });
134
135        $(".business2_2 .con:eq(0) .link").addClass('wow fadeInRight').css({ 'animation-delay': '.4s' });
136        $(".business2_2 .con .link").addClass('animated fadeInRight').css({ 'animation-delay': '.4s' });
137    }
138    if ($(".business3").length) {
139        $(".business3_1 h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
140        $(".business3_1 h5").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
141        $(".business3_1 p").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
142
143        $(".business3_2 .index_fl").addClass('wow fadeIn');
144        $(".business3_2 .tab_name").addClass('wow fadeIn');
145        $(".business3_2 .index_fl h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
146        $(".business3_2 .index_fl h5").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
147        $(".business3_2 .index_fl p").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
148        $(".business3_2 .index_fl .icon").addClass('wow fadeInUp').css({ 'animation-delay': '.5s' });
149
150        $(".business3_2 .con:eq(0) .h1").addClass('wow fadeInUp').css({ 'animation-delay': '.1s' });
151        $(".business3_2 .con .h1").addClass('animated fadeInUp').css({ 'animation-delay': '.1s' });
152
153        $(".business3_2 .con:eq(0) .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
154        $(".business3_2 .con .name").addClass('animated fadeInUp').css({ 'animation-delay': '.2s' });
155
156        $(".business3_2 .con:eq(0) .introduce p").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
157        $(".business3_2 .con .introduce p").addClass('animated fadeInUp').css({ 'animation-delay': '.3s' });
158
159        $(".business3_2 .con:eq(0) .link").addClass('wow fadeInRight').css({ 'animation-delay': '.4s' });
160        $(".business3_2 .con .link").addClass('animated fadeInRight').css({ 'animation-delay': '.4s' });
161    }
162    if ($(".business4").length) {
163        $(".business4_1 h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
164        $(".business4_1 h5").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
165        $(".business4_1 p").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
166
167        $(".business4_2 .index_fl").addClass('wow fadeIn');
168        $(".business4_2 .tab_name").addClass('wow fadeIn');
169        $(".business4_2 .index_fl h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
170        $(".business4_2 .index_fl h5").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
171        $(".business4_2 .index_fl p").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
172        $(".business4_2 .index_fl .icon").addClass('wow fadeInUp').css({ 'animation-delay': '.5s' });
173
174        $(".business4_2 .con:eq(0) .h1").addClass('wow fadeInUp').css({ 'animation-delay': '.1s' });
175        $(".business4_2 .con .h1").addClass('animated fadeInUp').css({ 'animation-delay': '.1s' });
176
177        $(".business4_2 .con:eq(0) .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
178        $(".business4_2 .con .name").addClass('animated fadeInUp').css({ 'animation-delay': '.2s' });
179
180        $(".business4_2 .con:eq(0) .introduce p").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
181        $(".business4_2 .con .introduce p").addClass('animated fadeInUp').css({ 'animation-delay': '.3s' });
182
183        $(".business4_2 .con:eq(0) .link").addClass('wow fadeInRight').css({ 'animation-delay': '.4s' });
184        $(".business4_2 .con .link").addClass('animated fadeInRight').css({ 'animation-delay': '.4s' });
185    }
186    if ($(".develpment").length) {
187        $(".develpment_1 h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
188        $(".develpment_1 h5").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
189        $(".develpment_1 p").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
190    }
191    if ($(".responsibility").length) {
192        $(".responsibility_1 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
193        $(".responsibility_1 .introduce").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
194        $(".responsibility_1 .report").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
195
196        $(".responsibility_2 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
197        $(".responsibility_2 .list").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
198
199        $(".responsibility2_1 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
200        $(".responsibility2_1 .introduce").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
201        $(".responsibility2_1 .img").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
202
203        $(".responsibility3_1 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
204        $(".responsibility3_1 .img .introduction").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
205        // $(".responsibility3_1 .img p").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
206        $(".responsibility3_1 .item").each(function (i) {
207            $(this).addClass("wow fadeInUp").css({ 'animation-delay': i * 200 + 200 + 'ms' });
208        });
209
210        $(".responsibility4_1 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
211        $(".responsibility4_1 .introduction").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
212
213        $(".responsibility4_2 .content > .name,.responsibility5_2 .content > .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
214        $(".responsibility4_2 .slide .bd .item:eq(0),.responsibility5_2 .slide .bd .item:eq(0)").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
215        $(".responsibility4_2 .slide .bd .item:eq(1),.responsibility5_2 .slide .bd .item:eq(1)").addClass('wow fadeInUp').css({ 'animation-delay': '.5s' });
216        $(".responsibility4_2 .slide .bd .item:eq(2),.responsibility5_2 .slide .bd .item:eq(2)").addClass('wow fadeInUp').css({ 'animation-delay': '.7s' });
217
218        $(".responsibility5_1 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
219        $(".responsibility5_1 .introduction").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
220    }
221    if ($(".responsibility3").length) {
222        $(".responsibility3_2 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
223        $(".responsibility3_2 .item").each(function (i) {
224            $(this).addClass("wow fadeInUp").css({ 'animation-delay': i * 200 + 200 + 'ms' });
225        });
226
227        $(".responsibility3_3 .con > h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
228        $(".responsibility3_3 .con li").each(function (i) {
229            $(this).addClass("wow fadeInUp").css({ 'animation-delay': i * 200 + 200 + 'ms' });
230        });
231
232        $(".responsibility3_4 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
233        $(".responsibility3_4 .item").each(function (i) {
234            $(this).addClass("wow fadeInUp").css({ 'animation-delay': i * 200 + 200 + 'ms' });
235        });
236
237        $(".responsibility3_5 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
238        $(".responsibility3_5 .bg").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
239        $(".responsibility3_5 .img").addClass('wow fadeInUp').css({ 'animation-delay': '.5s' });
240
241        $(".responsibility3_6 .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
242
243        $(".responsibility3_6 .slide .bd .item:eq(0)").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
244        $(".responsibility3_6 .slide .bd .item:eq(1)").addClass('wow fadeInUp').css({ 'animation-delay': '.5s' });
245        $(".responsibility3_6 .slide .bd .item:eq(2)").addClass('wow fadeInUp').css({ 'animation-delay': '.7s' });
246
247    }
248    if ($(".policy").length) {
249        $(".policy_1 .index_fl > h3").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
250        $(".policy_1 .index_fl > h5").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
251
252        $(".policy_1 .shares").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
253
254        $(".policy_1 .index_fr h3").addClass('wow fadeInUp').css({ 'animation-delay': '.6s' });
255        $(".policy_1 .index_fr p,.policy_1 .site_map_a").addClass('wow fadeInUp').css({ 'animation-delay': '.7s' });
256        $(".policy_1 .site_map dl").each(function (i) {
257            $(this).addClass("wow fadeInUp").css({ 'animation-delay': i * 200 + 700 + 'ms' });
258        });
259
260        $(".policy_1 .socials_t *").removeClass('wow fadeInUp');
261        $(".policy_1 .socials_t").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
262        $(".policy_1 .socials_wrap").addClass('wow fadeInUp').css({ 'animation-delay': '.4s' });
263    }
264    if ($(".liaison").length) {
265        $(".liaison_1 .slogan").addClass('wow fadeInUp').css({ 'animation-delay': '.1s' });
266        $(".liaison_1 .text").addClass('wow fadeInUp').css({ 'animation-delay': '.3s' });
267        $(".liaison_1 .float > .introduction").addClass('wow fadeInRight').css({ 'animation-delay': '.5s' });
268        $(".liaison_1 .float > .list").addClass('wow fadeInRight').css({ 'animation-delay': '.7s' });
269
270        // $(".liaison_wrapper .name").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
271        $(".liaison_wrapper:eq(0) .con:eq(0) .item").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
272        $(".liaison_wrapper:eq(1) .con:eq(0) .item").addClass('wow fadeInUp').css({ 'animation-delay': '.2s' });
273        $(".liaison_wrapper .con .item").addClass('animated fadeInUp').css({ 'animation-delay': '.2s' });
274    }
275
276    // wow
277    if ($(".wow").length) {
278        if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))) {
279            var wow = new WOW({
280                boxClass: 'wow',
281                animateClass: 'animated',
282                offset: 75,
283                mobile: true,
284                live: true
285            });
286            wow.init();
287        };
288    }
289
290});
291
292if ($(".page_nav .list .on").length) {
293    setSlip(".page_nav .list .inner_bor", ".page_nav .list .on", ".page_nav .list");
294}
295
296if ($(".tab_name .on").length) {
297    setSlip(".tab_name .inner_bor", ".tab_name .on", ".tab_name");
298}
299function setSlip(lump, liOn, nav) {
300    //初始化滑块
301    $(lump).css({
302        'width': $(liOn).width(),
303        'left': parseInt($(liOn).position().left) + 'px'
304    });
305
306    $(nav).find("a").mouseenter(function () {
307        //移动滑块
308        $(lump).stop().animate({
309            width: $(this).width(),
310            left: parseInt($(this).position().left) + 'px'
311        }, 300);
312    });
313
314    $(nav).mouseleave(function () {
315        //移动滑块
316        $(lump).stop().animate({
317            width: $(liOn).width(),
318            left: parseInt($(liOn).position().left) + 'px'
319        }, 600);
320    });
321};
322// 阻止冒泡
323function stopPropagation(e) {
324    e = window.event || e;
325    if (document.all) {  // IE
326        e.cancelBubble = true;
327    } else {
328        e.stopPropagation();
329    }
330}
331if (!!window.ActiveXObject || "ActiveXObject" in window) {
332    $("html").addClass("body_ie");
333    // $("script[src='../build/luxy.js']").remove();
334    // console.log('is IE');
335}
336else {
337    // luxy.init();
338    // console.log('is not IE');
339}

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.