(function(){var MutationObserver,Util,WeakMap,getComputedStyle,getComputedStyleRX,__bind=function(fn,me){return function(){return fn.apply(me,arguments);};},__indexOf=[].indexOf||function(item){for(var i=0,l=this.length;i=viewTop;};WOW.prototype.util=function(){return this._util!=null?this._util:this._util=new Util();};WOW.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent);};return WOW;})();}).call(this); function isEmpty(obj,val){val=$.trim(val);if(val.length==0){obj.val("");return false;} return true;} function is_empty(obj,val){if(val.length==0){return true};var _chr=/\u3000/g;if(_chr.test(val))val=val.replace(_chr,' ');var _re=/\S.*/;if(!_re.test(val)){obj.val("");return true;}else{return false;}} function isMobile(val){var _re=/^(1\d{10})$/;return _re.test(val)?true:false;} function selectIsChecked(obj){var _selected=obj.get(0).selectedIndex;return(_selected==0)?false:true;} function isNumber(val){var _re=/^[0-9]+$/;return _re.test(val)?true:false;} function isMoney(val){var _re=/^([0-9]+)$|^([0-9]+\.\d{1,2})$/;return _re.test(val)?true:false;} function isPhone(val){var _re=/^(\d{3,4}-)?(\d{7,8})$|^(\d{11})$/;if(!_re.test(val)){return false;}else{return true;}} function isEmail(val){var re_email=/^([a-zA-Z0-9_\.]+)@([a-zA-Z0-9\-]+\.)+[a-zA-Z0-9]{2,4}$/;if(re_email.test(val)){return true;}else{return false;}} function isDate(val){var _re=/(^([1-2])\d{3,3})-([1][012]|[0][1-9]|[1-9])-([0][1-9]|[1][0-9]|[2][0-9]|[3][01]|[1-9])$/;return _re.test(val);} function isDomain(val){var _re=/^(?=^.{3,255}$)(http(s)?:\/\/)?(www\.)?[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+(:\d+)*(\/\w+\.\w+)*\/?$/;return _re.test(val);} function keep2(val){return Math.round(parseFloat(val)*100)/100;} function Trim(str,is_global,char){var result;char=!char?"":char;result=str.replace(/(^\s+)|(\s+$)/g,char);if(is_global.toLowerCase()=="g") {result=result.replace(/\s/g,char);} return result;} function poptips(oId,meg,callback,times,pos){var postion=$.isNumeric(pos)?pos:1;postion=postion<1||postion>4?1:postion;var t=$.isNumeric(times)?times:2500;layer.tips(meg,oId,{anim:6,time:t,tips:[postion,'#444444'],end:function(){if($.isFunction(callback)){callback();}}});return false;} function popmsgbox(meg,callback,times){var t=$.isNumeric(times)?times:1500;var msgbox=layer.msg(meg,{offset:"20%",icon:6,shade:[0.65,'#f7f7f7'],time:t},function(){if($.isFunction(callback)){callback();}});return false;} function popIframe(title,url,w,h,sft,mx){w=w?w:650;w=$.isNumeric(w)?w+"px":w;h=h?h:600;h=$.isNumeric(h)?h+"px":h;sft=$.isNumeric(sft)?parseInt(sft):3;sft=(sft<=0||sft>6)?3:sft;mx=mx==false?false:true;layer.open({type:2,title:title,offset:"12%",shade:[0.5,'#f7f7f7'],area:[w,h],maxmin:mx,shift:sft,content:url});} function popConfirm(meg,callback){layer.open({title:"操作提示",content:meg,icon:3,btn:['确认','取消'],offset:"20%",shade:[0.5,'#f7f7f7'],shadeClose:false,yes:function(index){layer.close(index);if($.isFunction(callback)){callback();}}});} function simpleConfirm(meg,callback){var msgbox=layer.msg(meg,{offset:"20%",shade:[0.3,'#f7f7f7'],time:20000,btn:['确认','取消'],yes:function(){layer.close(msgbox);if($.isFunction(callback)){callback();}}},function(){});} $(document).ready(function(e){layer.config({moveType:1});}); $(document).ready(function(e){var swiper=new Swiper('.swiper-container',{autoplay:3500,speed:600,loop:true,pagination:'.pagination',calculateHeight:true,cssWidthAndHeight:false,grabCursor:true,paginationClickable:true});var cases=new Swiper('.caseList',{autoplay:3500,slidesPerView:3,spaceBetween:20,});var news=new Swiper('.newsPic',{autoplay:3500,speed:600,loop:true,pagination:'.pagination',calculateHeight:true,cssWidthAndHeight:false,grabCursor:true,paginationClickable:true});$(window).resizeEnd({delay:100},function(){swiper.reInit();news.reInit();});new WOW().init();var pic=$(".technologyList > div:nth-child(1)").attr("data-pic");$(".technologyPic > img").attr('src',pic);$(".technologyList > div").bind("mouseenter",function(){$(".technologyList > div").removeClass("on");$(this).addClass("on");var pic=$(this).attr("data-pic");$(".technologyPic > img").attr('src',pic);});});