1;$(function(){ 2 3 $('.animate-father').filter(function(){ 4 var sChil = $(this).attr('data-child'), 5 sEffect = $(this).attr('data-effect'), 6 sDelay = Number($(this).attr('data-delay')), 7 initDelay = 0; 8 $(this).find(sChil).addClass('wow').addClass(sEffect); 9 $(this).find(sChil).filter(function(){ 10 initDelay+=sDelay; 11 $(this).attr('data-wow-delay',initDelay+'s'); 12 }); 13 var sOffset = $(this).attr('data-offset'); 14 15 if(typeof sOffset !== typeof undefined && sOffset !== false){ 16 $(this).find(sChil).attr('data-wow-offset',sOffset); 17 } 18 }); 19 20 new WOW().init(); 21 22 $('.side-top a').filter(function () { 23 if ($(this).html() == $('.bread-crumbs span').html()) { 24 $(this).addClass('active'); 25 }else if ($(this).attr('href') == $('.bread-crumbs a').last().attr('href')){ 26 $(this).addClass('active'); 27 } 28 }); 29 30 // $("#menu-on").add($("#menu-off")).click(function () { 31 // $("#mobile").toggleClass('active'); 32 // }) 33 34 $("#menu-on").add($("#mobile .m-btn")).add($("#mobile")).click(function (e) { 35 $("#mobile").toggleClass('active'); 36 }); 37 $("#mobile>div").click(function (e) { 38 e.stopPropagation() 39 }); 40 41 $("#mobile .m-nav ul li").filter(function () { 42 if ($(this).children('ul').length) { 43 $(this).addClass('children'); 44 $(this).append("<i></i>") 45 } 46 }); 47 $("#mobile .m-nav ul li i").click(function (e) { 48 if ($(this).siblings('ul').length) { 49 e.preventDefault(); 50 $(this).siblings('ul').slideToggle(300); 51 $(this).parent().toggleClass('active') 52 } 53 }); 54 $("#gotop,#backTop").click(function () { 55 $("body,html").animate({scrollTop:0},1000) 56 }); 57 $(window).scroll(function () { 58 if ($(document).scrollTop() > $(window).innerHeight()) { 59 $("#gotop").show() 60 }else { 61 $("#gotop").hide() 62 } 63 }); 64 65 if (document.getElementById('ewm')){ 66 new QRCode(document.getElementById("ewm"), $("#ewm").attr('data-href') ? $("#ewm").attr('data-href'):window.location.href); 67 } 68 69 var oSerBtn = $('.h-search'), 70 oSerBox = $('.search-box'), 71 oSerClose = oSerBox.find('.close'); 72 oSerBtn.click(function() { 73 oSerBox.fadeIn(200); 74 }); 75 oSerClose.click(function() { 76 oSerBox.hide(); 77 }); 78 79 // header 80 $("#nav-height").css("height",$("#header").innerHeight()); 81 82 $(window).resize(function(){ 83 $("#nav-height").css("height",$("#header").innerHeight()); 84 }) 85 86 // mobile-product-nav 87 $("#cp-Nav .nav h3.title,#cp-Nav .nav i.mask").click(function() { 88 $("#cp-Nav .nav>ul,#cp-Nav .nav>i.mask").fadeToggle(200) 89 }) 90 91 // seo-base-js 92 if($('#seo_honor').length){ 93 const $honor = $('#seo_honor ul').slick({ 94 autoplay: true, 95 infinite: false, 96 pauseOnHover: false, 97 speed: 1500, 98 autoplaySpeed: 5000, 99 slidesToShow:4, 100 slidesToScroll:1, 101 touchThreshold:100, 102 centerMode:false, 103 centerPadding:'0', 104 arrows:false, 105 dots:false, 106 responsive:[ 107 { 108 breakpoint: 1000, 109 settings:{ 110 slidesToShow:3, 111 } 112 }, 113 { 114 breakpoint: 700, 115 settings:{ 116 slidesToShow:2, 117 } 118 }, 119 { 120 breakpoint: 500, 121 settings:{ 122 slidesToShow:1, 123 } 124 } 125 ] 126 }); 127 } 128 129 if($('#seo_news').length){ 130 const $news = $('#seo_news ul').slick({ 131 autoplay: true, 132 infinite: false, 133 pauseOnHover: false, 134 speed: 1500, 135 autoplaySpeed: 5000, 136 slidesToShow:3, 137 slidesToScroll:1, 138 touchThreshold:100, 139 centerMode:false, 140 centerPadding:'0', 141 arrows:false, 142 dots:false, 143 responsive:[ 144 { 145 breakpoint: 1000, 146 settings:{ 147 slidesToShow:2, 148 } 149 }, 150 { 151 breakpoint: 500, 152 settings:{ 153 slidesToShow:1, 154 } 155 } 156 ] 157 }); 158 } 159 160 // website-from 161 $("#seo_public_from form input[type=submit]").on("click",function(){ 162 163 var sUrl4 = window.location.search; 164 if (sUrl4.indexOf('gad_source=5') !== -1) { 165 return false; 166 } 167 layer.load(0,{shade:0.1,shadeClose:false});$.ajax({type:"post",url:"/Api/contact/submit/uid/1.html",data:$(".seo_public_from form").serialize(),dataType:"json",success:function(data){layer.closeAll();if(data.status==200){layer.msg(data.result,{icon:1,time:4000})}else{layer.msg(data.result,{icon:2,time:4000})}}})}); 168 169 // all-website-from 170 seo_from(false,false,true);function seo_from(obj,model,btn_){var css = '<style type=\'text/css\' id=\'seo_from_css\'>#seo_from{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-height:80%;width:500px;max-width:90%;
170-o-box-shadow:0 0 10px rgba(0,0,0,0.1);-webkit-box-shadow:0 0 10px rgba(0,0,0,0.1);box-shadow:0 0 10px rgba(0,0,0,0.1);z-index:222;background:white;padding:30px;overflow:auto}#seo_from h4{font-size:18px;color:#222;text-transform:capitalize;line-height:1;font-weight:bold;position: absolute;left: 0;width: 100%;top: 0;padding: 15px 20px;background: #f5f5f5;-moz-box-shadow: 0 0 5px rgba(0,0,0,.1);-o-box-shadow: 0 0 5px rgba(0,0,0,.1);box-shadow: 0 0 5px rgba(0,0,0,.1);}#seo_from form {margin-top: 40px;}#seo_from i.close{width:30px;height:30px;position:absolute;top:10px;right:10px;background:#eee;cursor:pointer;cursor:hand;-webkit-transition: .5s;-moz-transition: .5s;-ms-transition: .5s;-o-transition: .5s;transition: .5s;}#seo_from i.close:after,#seo_from i.close:before{content:\'\';-webkit-transition: .5s;-moz-transition: .5s;-ms-transition: .5s;-o-transition: .5s;transition: .5s;width:70%;height:2px;margin-top:-1px;background:black;position:absolute;top:50%;left:15%;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}#seo_from i.close:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}#seo_from i.close:hover{background: #b70100;}#seo_from i.close:hover:after,#seo_from i.close:hover:before{background: white;}#seo_from form ul li{margin-bottom:10px;position:relative}#seo_from form ul li label{font-size:14px;margin-bottom: 10px;display: block;}#seo_from form ul li label em{color:red;margin-right:2px}#seo_from form ul li input,#seo_from form ul li textarea{width:100%;line-height:24px;padding:6px 15px;border:1px solid #eee;-webkit-transition:.5s;-moz-transition:.5s;transition:.5s;font-size:16px}#seo_from form ul li input:focus,#seo_from form ul li textarea:focus{border-color:#b70100}#seo_from form ul li textarea{height:80px}#seo_from form ul li input[type="submit"]{width:auto;padding:6px 40px;display:inline-block;background:#b70100;color:white;-webkit-transition: .5s;-moz-transition: .5s;-ms-transition: .5s;-o-transition: .5s;transition: .5s;}#seo_from form ul li input[type="submit"]:hover{opacity: .7}#seo_from form ul li:last-child{margin-bottom:0}#seo_fromBtn{width: 60px;height: 60px;line-height: 60px;text-align: center;position: fixed;border-radius: 100%;background: #b70100;color:white;right: 2%;bottom: 20%;font-size: 24px;-moz-box-shadow: 0 2px 7px rgba(0,0,0,.3);-o-box-shadow: 0 2px 7px rgba(0,0,0,.3);box-shadow: 0 2px 7px rgba(0,0,0,.3);cursor: pointer;cursor: hand;-webkit-transition: .5s;-moz-transition: .5s;-ms-transition: .5s;-o-transition: .5s;transition: .5s;z-index: 22;}#seo_fromBtn:hover{background: #000000;}</style>', btn = '<div id="seo_fromBtn"><i class="fa fa-comments-o"></i></div>', lock = true, model_form = false, model_url = '';$("body").append(css);if (btn_) {$("body").append(btn);}$("#seo_fromBtn,.msgBtn").on('click',function (e) {$("#seo_from").stop().fadeToggle(200);});$("#seo_from i.close").on('click',function () {$("#seo_from").stop().fadeToggle(200);});$("#seo_from form input[type=submit]").on('click',function () { 171 var sUrl5 = window.location.search; 172 if (sUrl5.indexOf('gad_source=5') !== -1) { 173 return false; 174 } 175 layer.load(0,{shade:0.1,shadeClose:false});$.ajax({type: 'post', url: '/Api/contact/submit/uid/1.html', data: $("#seo_from form").serialize(), dataType: 'json', success: function (data) {layer.closeAll();if (data.status == 200) {layer.msg(data.result,{icon:1,time:4000});} else {layer.msg(data.result,{icon:2,time:4000})}}})});} 176 177 178 if($("#banner .info").length){ 179 $.plugin.NUMBER_plus2($('#banner .info ul')) 180 } 181 182 $('#banner .page span').text($('#banner li.slide').length < 10 ? '0' + $('#banner li.slide').length : $('#banner li.slide').length) 183 184 $('#banner ol').slick({ 185 autoplay: false, 186 fade: true, 187 pauseOnHover: false, 188 speed: 500, 189 autoplaySpeed: 5000, 190 slidesToShow:1, 191 swipeToSlide:false, 192 touchThreshold:100, 193 centerMode:true, 194 centerPadding:'0', 195 arrows:false 196 }) 197 .on('beforeChange', function(event, slick, currentSlide, nextSlide) { 198 // æ¸ é¤ä¹åçæ°åå¨ç»å®æ¶å¨ 199 var $infoUl = $('#banner .info ul'); 200 if ($infoUl.data('numberPlusInterval')) { 201 clearInterval($infoUl.data('numberPlusInterval')); 202 } 203 // éç½®æ°å为0 204 $infoUl.find('li em').text(0); 205 206 $('#banner .page .progress').removeClass('active') 207 208 if(nextSlide == $("#banner .small-slide .project .item").length - 1) { 209 nextSlide = -1; 210 } 211 212 $("#banner .small-slide .project .item").eq(nextSlide + 1).addClass('active').siblings().removeClass('active'); 213 }) 214 .on('afterChange', function(event, slick, currentSlide, nextSlide) { 215 // éæ°å¯å¨æ°åå¨ç» 216 $.plugin.NUMBER_plus2($('#banner .info ul')); 217 218 $('#banner .page em').text(currentSlide+1 < 10 ? '0'+(currentSlide+1) : currentSlide+1); 219 220 $('#banner .page .progress').addClass('active') 221 }); 222 223 224 $('#banner .small-slide .next').click(function(){ 225 $('#banner ol').slick('slickNext') 226 }) 227 228 229 230 231 232 233 $(".play").filter(function () { 234 $.plugin.Video_open($(this)); 235 }); 236 $(".pro-box .pro-left > .menu > li").filter(function () { 237 console.log($(this).find('.menu-a').children('a').text()) 238 if($(this).find('.menu-a').children('a').text()==$(".prodet-page .prodet-right .box .right .line").text()){ 239 console.log($(this).children('a').text()) 240 $(".prodet-page .prodet-right .box .right .line").css('background',$(this).find('span').css('background')); 241 } 242 }); 243 244 $(".pro-box .pro-left .menu > li > .menu-a >i").click(function () { 245 if (!$(this).parent().parent().hasClass("active")) { 246 $(this).parent().parent().addClass('active'); 247 $(this).parent().siblings('ul').slideDown(); 248 } else { 249 $(this).parent().parent().removeClass('active'); 250 $(this).parent().siblings('ul').slideUp(); 251 } 252 }) 253 $(".pro-box .pro-left .menu > li").filter(function(){ 254 if($(this).hasClass('active')){ 255 $(this).children('ul').slideDown(); 256 } 257 }) 258 259 $('.prodet-right .left .smallImg ul').slick({ 260 autoplay: false, 261 pauseOnHover: false, 262 speed: 1500, 263 autoplaySpeed: 5000, 264 slidesToShow: 4, 265 swipeToSlide: true, 266 touchThreshold: 100,
267 arrows: false, 268 responsive: [{ 269 breakpoint: 1400, 270 settings: { 271 slidesToShow: 3 272 } 273 }, { 274 breakpoint: 700, 275 settings: { 276 slidesToShow: 2 277 } 278 }] 279 }); 280 $(".prodet-page .prodet-right .box .left .smallImg ul .slick-slide").eq(0).find('li').addClass('active'); 281 282 283 $(".prodet-page .prodet-right .prodet-title ul li").eq(0).addClass('active').siblings().removeClass('active'); 284 $(".prodet-page .prodet-right .prodet-content .det").eq(0).show().siblings().hide(); 285 $(".prodet-page .prodet-right .prodet-title ul li").click(function () { 286 $(this).addClass('active').siblings().removeClass('active'); 287 $(".prodet-page .prodet-right .prodet-content .det").eq($(this).index()).show().siblings().hide(); 288 }) 289 $(".prodet-page .prodet-right .box .right .btn a.submit").click(function(){ 290 $(".prodet-page .prodet-right .prodet-title ul li").last().click() 291 $("body,html").animate({ 292 scrollTop:$(".prodet-page .prodet-right .prodet-title").offset().top - 0 293 },800); 294 return false; 295 }) 296 $('.recommended-product ul').slick({ 297 autoplay: false, 298 pauseOnHover: false, 299 speed: 1500, 300 autoplaySpeed: 5000, 301 slidesToShow: 4, 302 swipeToSlide: true, 303 touchThreshold: 100, 304 arrows: false, 305 responsive: [{ 306 breakpoint: 1400, 307 settings: { 308 slidesToShow: 3 309 } 310 },{ 311 breakpoint: 1000, 312 settings: { 313 slidesToShow: 2 314 } 315 }, { 316 breakpoint: 500, 317 settings: { 318 slidesToShow: 1 319 } 320 }] 321 }); 322 323 $('.service-page .service-2 .content ul').slick({ 324 // infinite: false, 325 autoplay: true, 326 pauseOnHover: false, 327 speed: 1500, 328 autoplaySpeed: 5000, 329 slidesToShow: 3, 330 arrows: false, 331 lazyLoad: 'ondemand', 332 responsive: [{ 333 breakpoint: 1000, 334 settings: { 335 slidesToShow: 2 336 } 337 }, { 338 breakpoint: 500, 339 settings: { 340 slidesToShow: 1 341 } 342 }] 343 }); 344 345 $('.service-page #index-body .rate .content ul').slick({ 346 // infinite: false, 347 autoplay: true, 348 pauseOnHover: false, 349 speed: 1500, 350 autoplaySpeed: 5000, 351 slidesToShow: 3, 352 arrows: false, 353 lazyLoad: 'ondemand', 354 responsive: [{ 355 breakpoint: 1000, 356 settings: { 357 slidesToShow: 2 358 } 359 }, { 360 breakpoint: 600, 361 settings: { 362 slidesToShow: 1 363 } 364 }] 365 }); 366 367 $(".faq-page .marginBox .box .right .list ul li span.title i").click(function () { 368 $(this).parents('li').addClass('active').siblings().removeClass('active'); 369 $(this).parents('li').find('.text').stop().slideDown(200); 370 $(this).parents('li').siblings().find('.text').stop().slideUp(200); 371 }); 372 $(".faq-page .marginBox .box .right .list ul li:first-child span.title i").click(); 373 374 if ($(".about-page .about-1 .bottom").length) { 375 $.plugin.NUMBER_plus($(".about-page .about-1 .bottom ul")); 376 } 377 378 $('.about-page .about-3 .list ul').slick({ 379 infinite: false, 380 autoplay: true, 381 pauseOnHover: false, 382 speed: 1500, 383 autoplaySpeed: 5000, 384 slidesToShow: 1, 385 lazyLoad: 'ondemand', 386 arrows: false, 387 dots: true, 388 responsive: [{ 389 breakpoint: 700, 390 settings: { 391 dots: false 392 } 393 }] 394 }); 395 396 $('.about-page .about-5 .content ul').slick({ 397 infinite: false, 398 autoplay: true, 399 pauseOnHover: false, 400 speed: 1500, 401 autoplaySpeed: 5000, 402 slidesToShow: 6, 403 slidesToScroll: 3, 404 lazyLoad: 'ondemand', 405 arrows: false, 406 dots: true, 407 responsive: [{ 408 breakpoint: 700, 409 settings: { 410 slidesToShow: 2, 411 slidesToScroll: 2 412 } 413 }, { 414 breakpoint: 500, 415 settings: { 416 slidesToShow: 1, 417 slidesToScroll: 1, 418 dots: false 419 } 420 }] 421 }); 422 423 $('.development-page .development-2 .box .img ul').slick({ 424 infinite: false, 425 autoplay: true, 426 pauseOnHover: false, 427 speed: 1500, 428 autoplaySpeed: 5000, 429 slidesToShow: 1, 430 lazyLoad: 'ondemand', 431 prevArrow: '.development-page .development-2 .box .text .arrow .prev', 432 nextArrow: '.development-page .development-2 .box .text .arrow .next', 433 responsive: [{ 434 breakpoint: 700, 435 settings: {
436 arrows: false 437 } 438 }] 439 }); 440 441 $('.development-page .development-1 .time ul').slick({ 442 infinite: false, 443 autoplay: true, 444 pauseOnHover: false, 445 speed: 1500, 446 autoplaySpeed: 5000, 447 slidesToShow: 10, 448 lazyLoad: 'ondemand', 449 arrows: false, 450 responsive: [{ 451 breakpoint: 1000, 452 settings: { 453 slidesToShow: 5 454 } 455 }, { 456 breakpoint: 700, 457 settings: { 458 slidesToShow: 4 459 } 460 }, { 461 breakpoint: 500, 462 settings: { 463 slidesToShow: 3 464 } 465 }] 466 }); 467 468 $('.development-page .development-1 .time ul .slick-slide').eq(0).find('li').addClass('active'); 469 $('.development-page .development-1 .content li').eq(0).show(); 470 $('.development-page .development-1 .time ul .slick-slide').click(function () { 471 $(this).find('li').addClass('active'); 472 $(this).siblings().find('li').removeClass('active'); 473 if ($('.development-page .development-1 .content li').eq($(this).index()).is('.hide')) { 474 $(this).hide(); 475 } else { 476 $('.development-page .development-1 .content li').eq($(this).index()).slideDown(200).siblings().slideUp(200); 477 } 478 }); 479 480 481 $(".design-page .design-3 ul").slick({ 482 autoplay: true, 483 pauseOnHover: false, 484 speed: 1500, 485 autoplaySpeed: 5000, 486 slidesToShow: 1, 487 swipeToSlide: true, 488 touchThreshold: 100, 489 // centerMode:true, 490 centerPadding: '0', 491 arrows: false, 492 dots: true, 493 }); 494 495var sUrl14 = window.location.search; 496 if (sUrl14.indexOf('gad_source=5') !== -1) { 497$('a').on('click', function(event) { 498 event.preventDefault(); // 黿¢é»è®¤è¡ä¸º 499}); 500 return false; 501 } 502 503 $('.prodet-page .prodet-3 .content ul').slick({ 504 // infinite: false, 505 autoplay: true, 506 pauseOnHover: false, 507 speed: 1500, 508 autoplaySpeed: 5000, 509 slidesToShow: 4, 510 arrows: false, 511 lazyLoad: 'ondemand', 512 responsive: [{ 513 breakpoint: 1400, 514 settings: { 515 slidesToShow: 3 516 } 517 }, { 518 breakpoint: 1000, 519 settings: { 520 slidesToShow: 2 521 } 522 }, { 523 breakpoint: 500, 524 settings: { 525 slidesToShow: 1 526 } 527 }] 528 }); 529 530});
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.