1 2// bannerè½®æå¾ 3 var swiper = new Swiper('.banner', { 4 spaceBetween: 0, 5 loop: true, 6 effect: 'fade', 7 speed:1000, 8 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 9 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 10 autoplay: { 11 delay: 4000, 12 disableOnInteraction: false, 13 }, 14 pagination: { 15 el: '.banner .swiper-pagination', 16 clickable: true, 17 }, 18 navigation: { 19 nextEl: '.banner .swiper-button-next', 20 prevEl: '.banner .swiper-button-prev', 21 }, 22 breakpoints: { 23 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 24 slidesPerView: 1, 25 spaceBetween: 0 26 }, 27 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 28 slidesPerView: 1, 29 spaceBetween: 0 30 }, 31 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 32 slidesPerView: 1, 33 spaceBetween: 0 34 } 35 } 36 }); 37 38 var swiper = new Swiper('.cpzx-b .swiper-container', { 39 spaceBetween: 0, 40 loop: true, 41 speed:1000, 42 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 43 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 44 autoplay: { 45 delay: 4000, 46 disableOnInteraction: false, 47 }, 48 pagination: { 49 el: '.cpzx-an', 50 type: 'progressbar', 51 }, 52 navigation: { 53 nextEl: '.cpzx .swiper-button-next', 54 prevEl: '.cpzx .swiper-button-prev', 55 }, 56 breakpoints: { 57 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 58 slidesPerView: 1, 59 spaceBetween: 10 60 }, 61 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 62 slidesPerView: 1, 63 spaceBetween: 10 64 }, 65 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 66 slidesPerView: 4.5, 67 spaceBetween: 50 68 } 69 } 70 }); 71 72 var galleryThumbs = new Swiper('.cgal-l .swiper-container', { 73 spaceBetween: 0, 74 loop: true, 75 speed:1000, 76 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 77 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 78 autoplay: { 79 delay: 4000, 80 disableOnInteraction: false, 81 }, 82 navigation: { 83 nextEl: '.cgal-l .a2', 84 prevEl: '.cgal-l .a1', 85 }, 86 breakpoints: { 87 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 88 slidesPerView: 1, 89 spaceBetween: 0 90 }, 91 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 92 slidesPerView: 1, 93 spaceBetween: 0 94 }, 95 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 96 slidesPerView: 1, 97 spaceBetween: 0 98 } 99 } 100 }); 101 var swiper = new Swiper('.cgal-r .swiper-container', { 102 spaceBetween: 0, 103 loop: true, 104 speed:1000, 105// initialSlide: 2, 106 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 107 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 108 autoplay: { 109 delay: 4000, 110 disableOnInteraction: false, 111 }, 112 thumbs: { 113 swiper: galleryThumbs 114 }, 115 navigation: { 116 nextEl: '.cgal-l .a2', 117 prevEl: '.cgal-l .a1', 118 }, 119 breakpoints: { 120 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 121 slidesPerView: 1, 122 spaceBetween: 0 123 }, 124 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 125 slidesPerView: 1, 126 spaceBetween: 0 127 }, 128 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 129 slidesPerView: 1, 130 spaceBetween: 0 131 } 132 } 133 }); 134 135 var swiper = new Swiper('.xwzx-r1 .swiper-container', { 136 spaceBetween: 0, 137 loop: true, 138 speed:1000, 139 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 140 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 141 autoplay: { 142 delay: 4000, 143 disableOnInteraction: false, 144 }, 145 navigation: { 146 nextEl: '.xwzx-r2 .a2', 147 prevEl: '.xwzx-r2 .a1', 148 }, 149 breakpoints: { 150 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 151 slidesPerView: 1, 152 spaceBetween: 0 153 }, 154 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 155 slidesPerView: 1, 156 spaceBetween: 0 157 }, 158 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 159 slidesPerView: 3, 160 direction: 'vertical', 161 spaceBetween: 0 162 } 163 } 164 }); 165 166 var swiper = new Swiper('.xwzx-r2 .swiper-container', { 167 spaceBetween: 0, 168 loop: true, 169 speed:1000, 170 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 171 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 172 autoplay: { 173 delay: 4000, 174 disableOnInteraction: false, 175 }, 176 navigation: { 177 nextEl: '.xwzx-r2 .a2', 178 prevEl: '.xwzx-r2 .a1', 179 }, 180 breakpoints: { 181 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 182 slidesPerView: 1, 183 spaceBetween: 0 184 }, 185 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 186 slidesPerView: 1, 187 spaceBetween: 0 188 }, 189 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 190 slidesPerView: 1, 191 spaceBetween: 10 192 } 193 } 194 }); 195 196 var swiper = new Swiper('.qyry .swiper-container', { 197 spaceBetween: 0, 198 loop: true, 199 speed:1000, 200 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 201 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 202 autoplay: { 203 delay: 4000, 204 disableOnInteraction: false, 205 }, 206 navigation: { 207 nextEl: '.qyry .a2', 208 prevEl: '.qyry .a1', 209 }, 210 breakpoints: { 211 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 212 slidesPerView: 2, 213 autoHeight : true, 214 spaceBetween: 20 215 }, 216 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 217 slidesPerView: 2, 218 autoHeight : true, 219 spaceBetween: 20 220 }, 221 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 222 slidesPerView: 5, 223 spaceBetween: 50 224 } 225 } 226 }); 227 228 var swiper = new Swiper('.fzlc .swiper-container', { 229 spaceBetween: 0, 230// loop: true, 231 speed:1000, 232 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 233 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 234 autoplay: { 235 delay: 4000, 236 disableOnInteraction: false, 237 }, 238 navigation: { 239 nextEl: '.fzlc .a2', 240 prevEl: '.fzlc .a1', 241 }, 242 breakpoints: { 243 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 244 slidesPerView: 1, 245 spaceBetween: 20 246 }, 247 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 248 slidesPerView: 1, 249 spaceBetween: 20 250 }, 251 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 252 slidesPerView: 3, 253 spaceBetween: 0 254 } 255 } 256 }); 257 258 var swiper = new Swiper('.gcsl .swiper-container', { 259 spaceBetween: 0, 260 loop: true, 261 speed:1000, 262 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 263 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 264 autoplay: { 265 delay: 4000, 266 disableOnInteraction: false, 267 }, 268 navigation: { 269 nextEl: '.gcsl .a2', 270 prevEl: '.gcsl .a1', 271 }, 272 breakpoints: { 273 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 274 slidesPerView: 1, 275 spaceBetween: 20 276 }, 277 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 278 slidesPerView: 1, 279 spaceBetween: 20 280 }, 281 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 282 slidesPerView: 1, 283 spaceBetween: 10 284 } 285 } 286 }); 287 288 var swiper = new Swiper('.tjcp .swiper-container', { 289 spaceBetween: 0, 290 loop: true, 291 speed:1000, 292 observer:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 293 observeParents:true,//è¿æ¯è§£å³swiperå¨tabé项å¡åæ¢åä¸ä¼æ»å¨ 294 autoplay: { 295 delay: 4000, 296 disableOnInteraction: false, 297 }, 298 pagination: { 299 el: '.tjcp .swiper-pagination', 300 clickable: true, 301 }, 302 navigation: { 303 nextEl: '.tjcp .a2', 304 prevEl: '.tjcp .a1', 305 }, 306 breakpoints: { 307 320: { //å½å±å¹å®½åº¦å¤§äºçäº320 308 slidesPerView: 1, 309 spaceBetween: 10 310 }, 311 768: { //å½å±å¹å®½åº¦å¤§äºçäº768 312 slidesPerView: 1, 313 spaceBetween: 10 314 }, 315 1200: { //å½å±å¹å®½åº¦å¤§äºçäº1280 316 slidesPerView: 3, 317 spaceBetween: 25 318 } 319 } 320 }); 321 322// å ¨é¨æä»¶å è½½å®åå è½½è¿éçjs 323// $(window).load(function(){ 324// }) 325 326// é¼ æ ç»è¿åé¼ æ ç¹å» 327$(document).ready(function() { 328 $(".fzlc-t a").mouseenter(function() { 329 $(".fzlc-t a").eq($(this).index()).addClass("active").siblings().removeClass('active'); 330 $(".fzlc-b .swiper-container").hide().eq($(this).index()).show(); 331 332 }); 333 $(".nybt h3 a").mouseenter(function() { 334 $(".nybt h3 a").eq($(this).index()).addClass("active").siblings().removeClass('active'); 335 $(".gcsl-b>div").hide().eq($(this).index()).show(); 336 }); 337 $(".cpzx-z-b1 a").mouseenter(function() { 338 $(".cpzx-z-b1 a").eq($(this).index()).addClass("active").siblings().removeClass('active'); 339 $(".cpzx-z-b2>div").hide().eq($(this).index()).show(); 340 }); 341 });
342// $(document).ready(function() { 343// $(".jjfa-b1 a").click(function() { 344// $(".jjfa-b1 a").eq($(this).index()).addClass("active").siblings().removeClass('active'); 345// $(".jjfa-b2").hide().eq($(this).index()).css({"display":"flex"}); 346// }); 347// }); 348 349$(window).scroll(function(){ 350 if($(window).scrollTop() >= 1){ 351 $(".head").addClass('head2') 352 }else{ 353 $(".head").removeClass('head2'); 354 } 355 }); 356 357$(".head-s-r2").click(function (){ 358 $("body").css({"overflow":"hidden"}); 359 $(".head3").show(500); 360 var a=$(".head3-l dl").length; 361 var b=100/a; 362 $(".head3-l dl").css({"width":b+"%"}) 363}) 364$(".head3 button").click(function (){ 365 $("body").css({"overflow":"auto"}); 366 $(".head3").hide(500); 367}) 368$(".head3-l dl dd a").click(function (){ 369 $("body").css({"overflow":"auto"}); 370 $(".head3").hide(500); 371}) 372 373// ç¹å»å¼¹åºè§é¢ 374 $(window).load(function(){ 375 var myvideo=$("#sp"); 376 $(".sfdsdjl").click(function() { 377 $('#sp').attr('src',$(this).attr("attr-href")); 378 $("#top_p1").show(); 379 $("#fade").show(); 380 $('#sp').trigger('play'); 381 }) 382 $(".top_popupbox a").click(function() { 383 $("#top_p1").hide(); 384 $("#fade").hide(); 385 $('#sp').trigger('pause').attr('src',''); 386 }) 387 }) 388 389 390// ç¹å»åºç°æç´¢æ¡ 391 $(".head-s-r-r .p1").click(function(){ 392 $("#sousou3").slideToggle(200); 393 }); 394 $(".ss2").click(function(){ 395 $("#sousou3").slideToggle(200); 396 });
397 $("#sousou3").mouseleave(function(){ 398 $("#sousou3").slideToggle(200); 399 }); 400 $("#icon1").click(function(){ 401 $("#sousou3").hide(); 402 }); 403 404// æåææ 405var wScrollTop, wHeight; 406function wScroll() { 407 wScrollTop = $(document).scrollTop(); 408 wHeight = $(window).height(); 409 410 $(".tr-title").each(function () { 411 if($(this).offset().top + $(this).height() > wScrollTop && $(this).offset().top < (wScrollTop + wHeight)) { 412 var cacheHtml = ""; 413 var cacheText = $(this).text().split(''); 414 cacheText.forEach(function(item, index) { 415 cacheHtml += `<span style="${item === ' ' ? 'width: 12px; ' : '' }-webkit-animation: aititle ${((1.5 / cacheText.length) * (index + 1)).toFixed(2)}s; animation: aititle ${((1.5 / cacheText.length) * (index + 1)).toFixed(2)}s;">${item}</span>` 416 }); 417 $(this).html(cacheHtml) 418 $(this).removeClass("tr-title"); 419 } 420 }) 421} 422wScroll(); 423$(window).scroll(function (event) { 424 wScroll() 425}); 426 427// è¿åé¡¶é¨ 428$("#fhdb").click(function (){ 429 $('body,html').animate({ scrollTop: 0 }, 300); 430}) 431 432// ææºç«¯å¤´é¨å¼å§ 433 window.onload=function(){ 434 var a=document.getElementById('a'); 435 var b=document.getElementById('b'); 436 var c=document.getElementById('c'); 437 var oBtn=document.getElementById('btn'); 438 var oNav=document.getElementById('dh'); 439 oBtn.addEventListener('click',function(){ 440 if(a.className=='one',b.className=='two') 441 { 442 a.className='' 443 b.className='' 444 c.style.opacity='1'; 445 oNav.style.top="-100%"; 446 } 447 else 448 { 449 a.className='one' 450 b.className='two' 451 c.style.opacity='0' 452 oNav.style.top="0"; 453 } 454 }) 455 } 456 457 $(document).ready(function(){ 458 var arrow = $(this).find("span.arrow"); 459 460 $("ul.kj li > div.t").click(function(){ 461 462 var arrow = $(this).find("span.arrow"); 463 464 if(arrow.hasClass("up")){ 465 arrow.removeClass("up"); 466 arrow.addClass("down"); 467 }else if(arrow.hasClass("down")){ 468 arrow.removeClass("down"); 469 arrow.addClass("up"); 470 } 471 $(this).parent().siblings().each(function(index,el) { 472 $(el).find("ul.menu").slideUp(); 473 $(el).find(".arrow").removeClass("up").addClass("down"); 474 }); 475 $(this).parent().find("ul.menu").slideToggle(); 476 477 }); 478 $(".cjwt-b dl dt").click(function(){ 479 480 var arrow = $(this); 481 482 if(arrow.hasClass("up")){ 483 arrow.removeClass("up"); 484 arrow.addClass("down"); 485 }else if(arrow.hasClass("down")){ 486 arrow.removeClass("down"); 487 arrow.addClass("up"); 488 } 489 $(this).parent().siblings().each(function(index,el) { 490 $(el).find("dd").slideUp(); 491 $(el).find(".arrow").removeClass("up").addClass("down"); 492 }); 493 $(this).parent().find("dd").slideToggle(); 494 495 }); 496 $("ul.kj li .t2").click(function(){ 497 498 var arrow = $(this).find("span.arrow"); 499 if(arrow.hasClass("up")){ 500 arrow.removeClass("up"); 501 arrow.addClass("down"); 502 }else if(arrow.hasClass("down")){ 503 arrow.removeClass("down"); 504 arrow.addClass("up"); 505 }; 506 $(this).parent().siblings().each(function(index,el) { 507 $(el).find(".menu2").slideUp(); 508 }); 509 $(this).siblings('.menu2').slideToggle(); 510 }); 511 $(".jrwm-c dl dt").click(function(){ 512 if($(this).siblings('dd').is(':visible')){ 513 $(this).parent().removeClass("active"); 514 }else{ 515 $(this).parent().addClass("active"); 516 } 517 var arrow = $(this).find("p.arrow"); 518 if(arrow.hasClass("up")){ 519 arrow.removeClass("up"); 520 arrow.addClass("down"); 521 }else if(arrow.hasClass("down")){ 522 arrow.removeClass("down"); 523 arrow.addClass("up"); 524 }; 525 $(this).parent().siblings().each(function(index,el) { 526 $(el).find("dd").slideUp(); 527 $(el).find(".arrow").removeClass("down").addClass("up"); 528 }); 529 $(this).siblings('dd').slideToggle(); 530 531 }); 532 }); 533// ææºç«¯å¤´é¨ç»æ 534 535 536// 537 function changeyuyan(yuyan){ 538 $.get('Base-chagelang.html', {l:yuyan},function(data){ 539 /*console.log(data); 540 return false;*/ 541 window.location.reload() 542 if(data!==''){ 543 window.location.href=window.location.href; 544 } 545 }); 546 } 547// 548 549 550// æ¹åæµè§å¨çªå£å¤§å°çæ¶å 让页é¢èªå¨å·æ° 551// $(window).resize(function(){ 552 553// location.reload() 554 555// });
556// 557 558 559// ææºç«¯åºé¨å¼å§ 560 $(".footer2-t").click(function(){ 561 var arrow = $(this).find("span.arrow"); 562 if(arrow.hasClass("up")){ 563 arrow.removeClass("up"); 564 arrow.addClass("down"); 565 }else if(arrow.hasClass("down")){ 566 arrow.removeClass("down"); 567 arrow.addClass("up"); 568 }; 569 $(this).parent().siblings().each(function(index,el) { 570 $(el).find(".footer2-b").slideUp(); 571 }); 572 $(this).siblings('.footer2-b').slideToggle(); 573 }); 574// 575 576 577// wowå¨ç» 578 if($("body").width()>1200){ 579 if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))){ 580 new WOW().init(); 581 }; 582 } 583// 584 585 586// ç¹å»å¼¹åºå¾çæ¾å¤§ 587 588 $(document).ready(function () { 589 $(".qyry-b").piroBox({ 590 my_speed: 400, //animation speed 591 bg_alpha: 0.7, //background opacity 592 slideShow: true, // true == slideshow on, false == slideshow off 593 slideSpeed: 4, //slideshow duration in seconds(3 to 6 Recommended) 594 close_all: '.piro_close,.piro_overlay'// add class .piro_overlay(with comma)if you want overlay click close piroBox 595 }); 596 }); 597//
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.