!function(o){var t={};function s(i){if(t[i])return t[i].exports;var e=t[i]={exports:{},id:i,loaded:!1};return o[i].call(e.exports,e,e.exports,s),e.loaded=!0,e.exports}s.m=o,s.c=t,s.p="",s(0)}({0:function(i,e,o){i.exports=o(25)},3:function(i,e){function o(){}$.extend(o.prototype,{init:function(){this.fixed(),this.footerLoad(),this.handleClickSucc(),this.login(),this.HKswitch()},HKswitch:function(){HrPost("getApolloConfig",{keys:["isShowInvestorsTC"]},function(i){i&&("false"===i.result.isShowInvestorsTC?($(".oldC").css("display","block"),$(".newC").css("display","none")):($(".oldC").css("display","none"),$(".newC").css("display","block")))})},footerLoad:function(){$("#js-footer-wrap").on("mouseenter",".friendLink a",function(){$(this).next().css({display:"block"}),$(this).find("span").addClass("actived")}).on("mouseout",".friendLink a",function(){$(this).next().css({display:"none"}),$(this).find("span").removeClass("actived")})},login:function(){zto.auth.getToken()&&HrPost("auth_account_getUserLoginProvider",null,function(i){var e,o,t;i.status?(i.result.mobile&&(e="userMobile",o=i.result.mobile,(t=new Date).setTime(t.getTime()+198e5),document.cookie=e+"="+escape(o)+";expires="+t.toGMTString()+"; path=/"),$(".login,.registere").hide(),$(".header-handle").prepend('
\t \t '+i.result.mobile+"\t
"),$(".user").show()):function(i,e){var o=encodeURIComponent(i)+"=";o=o+"; expires="+new Date((new Date).getTime()-864e5).toUTCString(),e&&(o=o+"; path="+e);document.cookie=o}(zto.auth.tokenCookieName,"/",zto.config.domain)})},fixed:function(){if(0<$(".js-nav-fixed").size()){var t=$(".js-nav-fixed"),s=$(".content-main").offset().top;$(document).on("scroll",function(){var i=$(document).scrollTop();if(s$(".business-content").height()-50?$(".business-content").css("height",$(".nav-zto").height()+"px"):$(".business-content").css("height","auto");var o=$(".js-nav-fixed"),t=$(".content-main").offset().top,s=$(document).scrollTop();if(t',e='';$("#indexBannerList").prepend(i),$("#indexBannerHandle").prepend(e),n=0,$(".banner-handle-item:eq("+n+")").addClass("show").siblings().removeClass("show"),$(".banner-item:eq("+n+")").addClass("show").siblings().removeClass("show"),p(),v()}c.bannerBtnBackgroundImg&&($(".banner-handle-item .item-bg").css("background","../imgs/index/handle_bg.png no-repeat"),$(".banner-handle-item.show .item-bg").css("background","url("+c.bannerBtnBackgroundImg+") no-repeat"),$(".banner-handle-item.show .item-bg").css("background-size","100% 100%"))}(),0\t '+s[n]+"\t \t "),k()),i.val("").attr("placeholder",""),n===s.length-1&&(s="",i.val("").attr("placeholder",""),i.blur())):(i.val("").attr("placeholder","在此输入单号"),f("运单号错误或重复!"))}}else 0===s[n].length||(i.val("").attr("placeholder","在此输入单号"),f("运单号错误或重复!"))}else i.val("").attr("placeholder",""),i.blur(),f("一次查询最多不得超过10条");o||k()}),$(".query-txt").keydown(function(i){var e=$(this),o=e.val(),t=o.length;if(8==i.keyCode){var o=e.val();""!=o&&null!=o&&" "!=o||$(".ex_item").last().remove()}if(13==i.keyCode)if($(".ex_item").size()<1)if(12<=t&&t<=16)if(13==t)e.val("").attr("placeholder","在此输入单号"),f("运单号错误或重复!");else{var s=new RegExp(/[(\ )(\~)(\!)(\@)(\#)(\$)(\%)(\^)(\&)(\*)(\()(\))(\-)(\_)(\+)(\=)(\[)(\])(\{)(\})(\|)(\\)(\;)(\;)(\:)(\')(\")(\,)(\,)(\.)(\/)(\<)(\>)(\?)(\)]+/);if(s.test(o))e.val("").attr("placeholder","在此输入单号"),f("运单号错误或重复!");else{var n=$(".ex_item").size();n<10?(e.before('
\t '+o+"\t \t
"),k(),e.blur(),e.val("").attr("placeholder",""),y()):f("一次查询最多不得超过10条")}}else e.val("").attr("placeholder","在此输入单号"),f("运单号错误或重复!");else if(12<=t&&t<=16)if(13==t)e.val("").attr("placeholder",""),f("运单号错误或重复!");else{var s=new RegExp(/[(\ )(\~)(\!)(\@)(\#)(\$)(\%)(\^)(\&)(\*)(\()(\))(\-)(\_)(\+)(\=)(\[)(\])(\{)(\})(\|)(\\)(\;)(\;)(\:)(\')(\")(\,)(\,)(\.)(\/)(\<)(\>)(\?)(\)]+/);if(s.test(o))e.val("").attr("placeholder","在此输入单号"),f("运单号错误或重复!");else{var n=$(".ex_item").size();if(n<10){for(var c=0,l=0;l\t '+o+"\t \t "),k(),e.blur(),e.val("").attr("placeholder","")):(e.val("").attr("placeholder","在此输入单号"),f("运单号错误或重复!"))}else f("一次查询最多不得超过10条")}}else y()}),$(document).on("dblclick",".ex_item span",function(i){i.stopPropagation(),i.preventDefault();var e=$(this).html(),o=$(this).parent();o.addClass("ex_item_edit"),$(this).parent().html(''),setTimeout(function(){o.children().focus()},50)}),$(document).on("blur",".ex_item input",function(){var i=$(this).val(),e=$(this).parent();if(12<=i.length&&i.length<=16)if(13==i.length)$(this).parent().remove(),f("运单号错误或重复!");else{for(var o=$(".ex_item").size(),t=0,s=0;s"+i+""),e.removeClass("ex_item_edit")):(f("您输入的订单号重复啦,请重新输入!"),$(this).parent().remove())}else f("运单号错误或重复!"),$(this).parent().remove()}),$(document).on("click",".ex_item i",function(i){i.stopPropagation(),$(this).parent().remove()}),$("#search-by-billcode").click(function(){if($(".real-menu-item.bill").hasClass("checked")){var i=$(".query-txt").val(),e=i.length;if($(".ex_item").size()<1)12<=e&&e<=16?13==e?f("运单号错误或重复!"):($(".query-txt").before('
\t '+i+"\t \t
"),k(),$(".query-txt").blur(),$(".query-txt").val("").attr("placeholder",""),y()):f("运单号错误或重复!");else if(12<=e&&e<=16)if(13==e)f("运单号错误或重复!");else{var o=$(".ex_item").size();if(o<10){for(var t=0,s=0;s\t '+i+"\t \t "),k(),$(".query-txt").blur(),$(".query-txt").val("").attr("placeholder",""),y()):f("运单号错误或重复!")}else f("一次查询最多不得超过10条")}else y()}else y()}),window.onload=function(){S()},$(".code-img-box").click(function(){$(".code-refach").css("display","none"),w()}),$(".code-img-box").hover(function(){$(".code-refach").css("display","block")},function(){$(".code-refach").css("display","none")}),$("#validateInputBtn").click(function(){x($(".phoneInput").val(),function(i){if(i)b(i,1);else{if(C(),"original"===__verifyType){var e=$("#picValidateCode").val();if(!e)return C(),void b("图形验证码不能为空",2);I(e,__verifyId)}console.log(__verifyType,"__verifyType"),"dingxiang"===__verifyType&&zto.utils.dxImgVerifyCode(function(){I(__verifyContent,__verifyId)})}})}),$("#search-by-phone").click(function(){x($(".phoneInput").val(),function(i){i?b(i,1):(C(),$(".validateInput").val()?(C(),zto.auth.getToken()?HrPost("auth_account_getUserLoginProvider",null,function(i){i.status?i.result.mobile===Number($(".phoneInput").val())?window.open(zto.config.centerceUrl,"_blank"):($("body").append('
\t \t 亲爱的用户,您好\t
\t

\t
\t 您已经登录了中通个人中心\t
是否切换手机号登录查询?
\t
\t \t \t
\t
'),$(".alert").addClass("show").css("margin-top","-"+($(".alert").height()/2+40)+"px"),$(".yesLogin").click(function(){B()})):B()}):B()):b("请输入验证码",3))})}),$(".service-bar").click(function(){$(".service-list").hasClass("toleft")?($(this).removeClass("toleft"),$(".service-list").removeClass("toleft")):($(this).addClass("toleft"),$(".service-list").addClass("toleft"))}),clearInterval(l),l=setInterval(function(){$(".service-list").hasClass("toleft")?($(".service-bar").removeClass("toleft"),$(".service-list").removeClass("toleft")):($(".service-bar").addClass("toleft"),$(".service-list").addClass("toleft"))},3e3),$(".cont.service").hover(function(){clearInterval(l)},function(){l=setInterval(function(){$(".service-list").hasClass("toleft")?($(".service-bar").removeClass("toleft"),$(".service-list").removeClass("toleft")):($(".service-bar").addClass("toleft"),$(".service-list").addClass("toleft"))},3e3)}),$(".case-item").hover(function(){$(this).addClass("show").siblings().removeClass("show"),$(".case-bg-img").attr("src",$(this).find(".case-item-img").attr("src"))},function(){}),function(){var i=window.location.host;0!==i.indexOf("localhost")&&"gw-test.zto.cn"!==i&&"gw-test.zto.com"!==i&&"gw-test.online-business-hall.ft.ztosys.com"!==i||ZtoAd.debugger();var e="zto_PC_OfficialSite";ZtoAd.getBanner(e,["zto_PC_OfficialSite-1","zto_PC_OfficialSite-2","zto_PC_OfficialSite-3","zto_PC_OfficialSite-4","zto_PC_OfficialSite-5"],g("userMobile"),function(i){if(console.log(i,"res"),i){var e=i.result.length;if(0'+i.result[o].adInfo[0].title+''):$(".advertising-room").append(''+i.result[o].adInfo[0].title+'');1===e&&$(".advertising-btn").hide(),1

'+n+'

'+e[t].title+'

'+n+'
阅读全文 >
':'
  • '+n+'

    '+e[t].title+'

    '+n+'
    阅读全文 >
  • '}$(".news-list").html(o),c.newsTrendsFloatBackgrondColorStart&&c.newsTrendsFloatBackgrondColorEnd&&($(".list-item").css("background","transparent"),$(".list-item.on").css("background","linear-gradient(140deg,"+c.newsTrendsFloatBackgrondColorStart+" 0,"+c.newsTrendsFloatBackgrondColorEnd+" 100%)")),$(".list-item").hover(function(){$(this).addClass("on").siblings().removeClass("on"),c.newsTrendsFloatBackgrondColorStart&&c.newsTrendsFloatBackgrondColorEnd&&($(".list-item").css("background","transparent"),$(this).css("background","linear-gradient(140deg,"+c.newsTrendsFloatBackgrondColorStart+" 0,"+c.newsTrendsFloatBackgrondColorEnd+" 100%)"))})}),$(".logistics-room.room-1").hover(function(){$(".logistics-room.room-1 .logistics-item").hover(function(){T(1),$(this).addClass("hover"),c.logisticsServiceProductFloatLinearBackgroundColor?$(this).css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom "+c.logisticsServiceProductFloatLinearBackgroundColor):$(this).css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom #0043FF"),j($(this))},function(){$(this).hasClass("item-1")&&$(this).css("background-image","url(../imgs/index/logistics_line_1.png"),$(this).hasClass("item-2")&&$(this).css("background-image","url(../imgs/index/logistics_line_2.png"),$(this).hasClass("item-3")&&$(this).css("background-image","url(../imgs/index/logistics_line_3.png"),$(this).hasClass("item-4")&&$(this).css("background-image","url(../imgs/index/logistics_line_4.png"),$(this).hasClass("item-5")&&$(this).css("background-image","url(../imgs/index/logistics_line_5.png"),$(this).css("background-position","right bottom"),$(this).css("background-repeat","no-repeat"),$(this).css("background-color","#fff"),$(this).removeClass("hover"),$(this).css("box-shadow","none"),$(this).find(".logistics-item-title-label").css("color","#000"),$(this).find(".logistics-item-title-label").css("background","none"),$(this).find(".logistics-item-title-font").css("color","#000"),$(this).find(".prlist-item-title").css("color","#fff"),$(this).find(".prlist-item-text").css("color","#ABC3FF")})},function(){$(".logistics-room.room-1 .logistics-item:eq(0)").addClass("hover"),c.logisticsServiceProductFloatLinearBackgroundColor?$(".logistics-room.room-1 .logistics-item:eq(0)").css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom "+c.logisticsServiceProductFloatLinearBackgroundColor):$(".logistics-room.room-1 .logistics-item:eq(0)").css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom #0043FF"),j($(".logistics-room.room-1 .logistics-item:eq(0)"))}),$(".logistics-room.room-2").hover(function(){$(".logistics-room.room-2 .logistics-item").hover(function(){T(2),$(this).addClass("hover"),c.logisticsServiceProductFloatLinearBackgroundColor?$(this).css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom "+c.logisticsServiceProductFloatLinearBackgroundColor):$(this).css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom #0043FF"),j($(this))},function(){$(this).hasClass("item-1")&&$(this).css("background-image","url(../imgs/index/logistics_line_1.png"),$(this).hasClass("item-2")&&$(this).css("background-image","url(../imgs/index/logistics_line_2.png"),$(this).hasClass("item-3")&&$(this).css("background-image","url(../imgs/index/logistics_line_3.png"),$(this).hasClass("item-4")&&$(this).css("background-image","url(../imgs/index/logistics_line_4.png"),$(this).hasClass("item-5")&&$(this).css("background-image","url(../imgs/index/logistics_line_5.png"),$(this).css("background-position","right bottom"),$(this).css("background-repeat","no-repeat"),$(this).css("background-color","#fff"),$(this).removeClass("hover"),$(this).css("box-shadow","none"),$(this).find(".logistics-item-title-label").css("color","#000"),$(this).find(".logistics-item-title-label").css("background","none"),$(this).find(".logistics-item-title-font").css("color","#000"),$(this).find(".prlist-item-title").css("color","#fff"),$(this).find(".prlist-item-text").css("color","#ABC3FF")})},function(){$(".logistics-room.room-2 .logistics-item:eq(1)").addClass("hover"),c.logisticsServiceProductFloatLinearBackgroundColor?$(".logistics-room.room-2 .logistics-item:eq(1)").css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom "+c.logisticsServiceProductFloatLinearBackgroundColor):$(".logistics-room.room-2 .logistics-item:eq(1)").css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom #0043FF"),j($(".logistics-room.room-2 .logistics-item:eq(1)"))}),$(".logistics-room.room-3").hover(function(){$(".logistics-room.room-3 .logistics-item").hover(function(){T(3),$(this).addClass("hover"),c.logisticsServiceProductFloatLinearBackgroundColor?$(this).css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom "+c.logisticsServiceProductFloatLinearBackgroundColor):$(this).css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom #0043FF"),j($(this))},function(){$(this).hasClass("item-1")&&$(this).css("background-image","url(../imgs/index/logistics_line_1.png"),$(this).hasClass("item-2")&&$(this).css("background-image","url(../imgs/index/logistics_line_2.png"),$(this).hasClass("item-3")&&$(this).css("background-image","url(../imgs/index/logistics_line_3.png"),$(this).css("background-position","right bottom"),$(this).css("background-repeat","no-repeat"),$(this).css("background-color","#fff"),$(this).removeClass("hover"),$(this).css("box-shadow","none"),$(this).find(".logistics-item-title-label").css("color","#000"),$(this).find(".logistics-item-title-label").css("background","none"),$(this).find(".logistics-item-title-font").css("color","#000"),$(this).find(".prlist-item-title").css("color","#fff"),$(this).find(".prlist-item-text").css("color","#ABC3FF")})},function(){$(".logistics-room.room-3 .logistics-item:eq(0)").addClass("hover"),c.logisticsServiceProductFloatLinearBackgroundColor?$(".logistics-room.room-3 .logistics-item:eq(0)").css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom "+c.logisticsServiceProductFloatLinearBackgroundColor):$(".logistics-room.room-3 .logistics-item:eq(0)").css("background","url(../imgs/index/logistics_hover_bg.png) no-repeat left bottom #0043FF"),j($(".logistics-room.room-3 .logistics-item:eq(0)"))}),$(".service-item").hover(function(){var i=$(this).index();$(".service-list .service-item").removeClass("hover"),$(".service-list .service-item").find(".service-item-room").css("background","#fff"),$(this).addClass("hover"),c.serviceAdvantagesFloatBackgroundColorStart&&c.serviceAdvantagesFloatBackgroundColorEnd?$(".service-list .service-item:eq("+i+")").find(".service-item-room").css("background","linear-gradient(180deg, "+c.serviceAdvantagesFloatBackgroundColorStart+","+c.serviceAdvantagesFloatBackgroundColorEnd+" 50%,"+c.serviceAdvantagesFloatBackgroundColorStart+" 100%)"):$(".service-list .service-item:eq("+i+")").find(".service-item-room").css("background","linear-gradient(180deg, #019BFF, #0043FF 50%,#019BFF 100%)"),c.serviceAdvantagesFloatShandowColor?$(".service-list .service-item:eq("+i+")").find(".service-item-room").css("box-shadow","0px 0px 10px 0px "+c.serviceAdvantagesFloatShandowColor):$(".service-list .service-item:eq("+i+")").find(".service-item-room").css("box-shadow","0px 0px 10px 0px rgba(0, 0, 0, 0.1)")},function(){var i=$(this).index();$(".service-list .service-item:eq("+i+")").find(".service-item-room").css("background","#fff"),$(".service-list .service-item:eq("+i+")").find(".service-item-room").css("box-shadow","0px 0px 10px 0px rgba(0, 0, 0, 0.1)"),$(this).removeClass("hover")}),$(".service-box").hover(function(){},function(){$(".service-item:eq(0)").addClass("hover").siblings().removeClass("hover"),$(".service-item:eq(0)").find(".service-item-room").css("background","linear-gradient(180deg, #019BFF, #0043FF 50%,#019BFF 100%)"),$(".service-item:eq(0)").find(".service-item-room").css("box-shadow","0px 0px 10px 0px rgba(2, 121, 255, 0.5)"),c.serviceAdvantagesFloatBackgroundColorStart&&c.serviceAdvantagesFloatBackgroundColorEnd&&$(".service-list .service-item.hover").find(".service-item-room").css("background","linear-gradient(180deg, "+c.serviceAdvantagesFloatBackgroundColorStart+","+c.serviceAdvantagesFloatBackgroundColorEnd+" 50%,"+c.serviceAdvantagesFloatBackgroundColorStart+" 100%)"),c.serviceAdvantagesImportantDataColor&&$(".service-item-message span").css("color",c.serviceAdvantagesImportantDataColor),c.serviceAdvantagesFloatShandowColor&&$(".service-list .service-item.hover").find(".service-item-room").css("box-shadow","0px 0px 10px 0px "+c.serviceAdvantagesFloatShandowColor)}),$(".search-box-fake").click(function(){$(".serch-box-real").addClass("show"),$(".query-txt").focus()}),$("#serchClose").click(function(){$(".serch-box-real").removeClass("show")})})}});