1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,b){a.raw=b;return a};var api=window.location.protocol+"//"+window.location.host,avatarUploadHost="http://js.gzkede.com/upload",newUrl=window.location.protocol+"//"+window.location.host+"/portal/newsDetails",timeClick;$(".product-center").click(function(){$(".product-center>ul").fadeToggle("slow")});
- $("#txrzhtml .chengnuo-con").parent().css("display","none");$(".hamburger").click(function(){$(this).toggleClass("is-active");$(this).next().slideToggle("1000")});$(".toTop").hide();$(window).scroll(function(){100<$(window).scrollTop()?$(".toTop").fadeIn(500):$(".toTop").fadeOut(500)});$(".toTop").click(function(a){$("html,body").animate({scrollTop:"0px"},666)});var ab=$(".pc_nav>ul>li").eq(1);ab.mouseenter(function(){$(".product-serve").stop().slideDown("3000")});ab.siblings("li").mouseenter(function(){$(".product-serve").stop().slideUp("3000")});
- $(".product-serve").mouseleave(function(){$(".product-serve").stop().slideUp("3000")});Table(".news-fenlei>span",".news-list-it");
- function dog_index(){var a=document.querySelector(".nav-dog"),b=document.querySelectorAll(".pc_nav>ul>li"),d=document.querySelector(".pc_nav>ul>.active");a.style.cssText="left:"+d.offsetLeft+"px;width:"+d.offsetWidth+"px;";for(var c=0;c<b.length;c++)b[c].onmouseover=function(){a.style.cssText="left:"+this.offsetLeft+"px;width:"+this.offsetWidth+"px;"},b[c].onmouseleave=function(){a.style.cssText="left:"+d.offsetLeft+"px;width:"+d.offsetWidth+"px;"}}
- function removeClass_active(){for(var a=document.querySelectorAll(".pc_nav>ul>li"),b=0;b<a.length;b++)a[b].classList.remove("active")}
- function nav_(){var a=document.querySelectorAll(".pc_nav>ul>li"),b=document.querySelector(".app>div.index"),d=document.querySelector(".app>div.about"),c=document.querySelector(".app>div.about-cx"),e=document.querySelector(".app>div.product"),f=document.querySelector(".app>div.main-str"),g=document.querySelector(".app>div.client"),k=document.querySelector(".app>div.news");null!==b&&(removeClass_active(),a[0].setAttribute("class","active"),dog_index());null!==e&&(removeClass_active(),a[1].classList.add("active"),
- dog_index(),tedd());null!==f&&(removeClass_active(),a[2].setAttribute("class","active"),dog_index());null!==g&&(removeClass_active(),a[3].setAttribute("class","active"),dog_index(),shengfen());null!==k&&(removeClass_active(),a[4].setAttribute("class","active"),dog_index());null!==d&&(removeClass_active(),a[5].setAttribute("class","active"),dog_index(),Table(".about-kede-secodn ul li",".app>div.about>.container>div"),Table(".period>div",".history"),dowla());null!==c&&(removeClass_active(),a[6].setAttribute("class",
- "active"),dog_index())}nav_();
- function tedd(){for(var a=document.querySelectorAll(".one.active .product-a li"),b=document.querySelectorAll(".one.active .p-dec-d"),d=0;d<a.length;d++)a[d].setAttribute("data-_index",d),a[d].addEventListener("click",function(){for(var c=0;c<a.length;c++)a[c].classList.remove("active");this.classList.add("active");c=this.getAttribute("data-_index");for(var e=0;e<b.length;e++)b[e].style.display="none",b[e].classList.remove("active");b[c].style.display="block";b[c].classList.add("active")})}
- function Table(a,b,d){function c(f,g,k){for(var h=0;h<f.length;h++)f[h].setAttribute("data-_index",h),f[h].classList.remove("active");this.classList.add("active");f=this.getAttribute("data-_index");for(h=0;h<g.length;h++)g[h].style.display="none",g[h].classList.remove("active");"2"!==f?$(".page_activitiesPage").css({display:"none"}):$(".page_activitiesPage").css({display:"block"});4==f?timeClick=setInterval(function(){$("#right").click()},1E3):clearInterval(timeClick);g[f].style.display="block";g[f].classList.add("active");
- k&&k()}a=document.querySelectorAll(a);b=document.querySelectorAll(b);for(var e=0;e<a.length;e++)a[e].addEventListener("click",c.bind(a[e],a,b,d))}function dowla(){var a=document.querySelector(".dsanjiao"),b=document.querySelector(".filtrate .shengfen"),d=0;a.addEventListener("click",function(){d?(d=0,b.style.height="59px"):(d=1,b.style.height="127px")})}
- function shengfen(){document.querySelectorAll(".quyu ul>li");document.querySelector(".shengfen>ul");var a=[{value:"7",key:"\u5b89\u5fbd"},{value:"15",key:"\u5317\u4eac"},{value:"27",key:"\u91cd\u5e86"},{value:"8",key:"\u798f\u5efa"},{value:"30",key:"\u7518\u8083"},{value:"24",key:"\u5e7f\u4e1c"},{value:"20",key:"\u5e7f\u897f"},{value:"25",key:"\u8d35\u5dde"},{value:"21",key:"\u6d77\u5357"},{value:"13",key:"\u6cb3\u5317"},{value:"1",key:"\u9ed1\u9f99\u6c5f"},{value:"19",key:"\u6cb3\u5357"},{value:"22",
- key:"\u9999\u6e2f"},{value:"17",key:"\u6e56\u5317"},{value:"18",key:"\u6e56\u5357"},{value:"5",key:"\u6c5f\u82cf"},{value:"9",key:"\u6c5f\u897f"},{value:"3",key:"\u8fbd\u5b81"},{value:"2",key:"\u5409\u6797"},{value:"23",key:"\u6fb3\u95e8"},{value:"14",key:"\u5185\u8499\u53e4"},{value:"32",key:"\u5b81\u590f"},{value:"31",key:"\u9752\u6d77"},{value:"10",key:"\u5c71\u4e1c"},{value:"4",key:"\u4e0a\u6d77"},{value:"9",key:"\u5c71\u897f"},{value:"34",key:"\u9655\u897f"},{value:"29",key:"\u56db\u5ddd"},{value:"11",
- key:"\u53f0\u6e7e"},{value:"16",key:"\u5929\u6d25"},{value:"33",key:"\u65b0\u7586"},{value:"28",key:"\u897f\u85cf"},{value:"26",key:"\u4e91\u5357"},{value:"6",key:"\u6d59\u6c5f"}],b=[{place:"\u5168\u56fd",children:"\u5168\u90e8 \u6cb3\u5357 \u6e56\u5317 \u6e56\u5357 \u4e0a\u6d77 \u6c5f\u82cf \u6d59\u6c5f \u5b89\u5fbd \u798f\u5efa \u6c5f\u897f \u5c71\u4e1c \u53f0\u6e7e \u9ed1\u9f99\u6c5f \u5409\u6797 \u8fbd\u5b81 \u5e7f\u4e1c \u5e7f\u897f \u6d77\u5357 \u9999\u6e2f \u6fb3\u95e8 \u5317\u4eac \u5929\u6d25 \u5c71\u897f \u6cb3\u5317 \u5185\u8499\u53e4 \u56db\u5ddd \u8d35\u5dde \u4e91\u5357 \u91cd\u5e86 \u897f\u85cf \u9655\u897f \u7518\u8083 \u9752\u6d77 \u5b81\u590f \u65b0\u7586".split(" ")},
- {place:"\u534e\u4e2d",children:["\u6cb3\u5357","\u6e56\u5317","\u6e56\u5357"]},{place:"\u534e\u4e1c",children:"\u4e0a\u6d77 \u6c5f\u82cf \u6d59\u6c5f \u5b89\u5fbd \u798f\u5efa \u6c5f\u897f \u5c71\u4e1c \u53f0\u6e7e".split(" ")},{place:"\u4e1c\u5317",children:["\u9ed1\u9f99\u6c5f","\u5409\u6797","\u8fbd\u5b81"]},{place:"\u534e\u5357",children:["\u5e7f\u4e1c","\u5e7f\u897f","\u6d77\u5357","\u9999\u6e2f","\u6fb3\u95e8"]},{place:"\u534e\u5317",children:["\u5317\u4eac","\u5929\u6d25","\u5c71\u897f","\u6cb3\u5317",
- "\u5185\u8499\u53e4"]},{place:"\u897f\u5357",children:["\u56db\u5ddd","\u8d35\u5dde","\u4e91\u5357","\u91cd\u5e86","\u897f\u85cf"]},{place:"\u897f\u5317",children:["\u9655\u897f","\u7518\u8083","\u9752\u6d77","\u5b81\u590f","\u65b0\u7586"]}];$(".quyu>ul").on("click","li",function(){$(".quyu>ul>li").removeClass("active");$(this).addClass("active");for(var d=$(this).html(),c=0;c<b.length;c++)if(d==b[c].place){d=b[c].children;c="";for(var e=0;e<d.length;e++)c+="<li>"+d[e]+"</li>";$(".shengfen > ul").html(c);
- setTimeout(function(){$(".shengfen>ul>li").eq(0).click()},0);break}});$(".quyu>ul>li").eq(0).click();$(".shengfen > ul").on("click","li",function(){$(".shengfen > ul > li").removeClass("active");$(this).addClass("active");if("\u5168\u90e8"==$(this).html)var d=void 0;else for(var c=0;c<a.length;c++)if($(this).html()==a[c].key){d=a[c].value;break}$.ajax({method:"get",url:api+"/open/listCustomerCase",data:{province:d},success:function(e){if(e.error&&e.error.length)alert("\u7cfb\u7edf\u7e41\u5fd9\uff0c\u8bf7\u5237\u65b0\u9875\u9762");
- else{var f=e.data.list,g="";if(f.length){for(var k=0;k<f.length;k++)g+="<div><img src="+avatarUploadHost+f[k].pictureUrl+" /></div>";$(".page_ctrl").css({display:"block"});window.sessionStorage.setItem("total",e.data.totalCount);window.sessionStorage.setItem("province",d);page()}else g="<h4 style='text-align:center;margin-top:90px;color:#666' >\u6682\u65e0\u670d\u52a1\u5ba2\u6237</h4>",$(".page_ctrl").css({display:"none"});$(".client-item").html(g)}}})})}
- function getClass(a,b){return a.getElementsByClassName(b)}function MobileSelect(a){this.mobileSelect;this.wheelsData=a.wheels;this.jsonType=!1;this.cascadeJsonData=[];this.displayJson=[];this.cascade=!1;this.startY;this.moveEndY;this.moveY;this.oldMoveY;this.offsetSum=this.offset=0;this.oversizeBorder;this.curDistance=[];this.clickStatus=!1;this.isPC=!0;this.init(a)}
- MobileSelect.prototype={constructor:MobileSelect,init:function(a){var b=this;b.keyMap=a.keyMap?a.keyMap:{id:"id",value:"value",childs:"childs"};b.checkDataType();b.renderWheels(b.wheelsData,a.cancelBtnText,a.ensureBtnText);b.trigger=document.querySelector(a.trigger);if(!b.trigger)return console.error("mobileSelect has been successfully installed, but no trigger found on your page."),!1;b.wheel=getClass(b.mobileSelect,"wheel");b.slider=getClass(b.mobileSelect,"selectContainer");b.wheels=b.mobileSelect.querySelector(".wheels");
- b.liHeight=b.mobileSelect.querySelector("li").offsetHeight;b.ensureBtn=b.mobileSelect.querySelector(".ensure");b.cancelBtn=b.mobileSelect.querySelector(".cancel");b.grayLayer=b.mobileSelect.querySelector(".grayLayer");b.popUp=b.mobileSelect.querySelector(".content");b.callback=a.callback?a.callback:function(){};b.transitionEnd=a.transitionEnd?a.transitionEnd:function(){};b.initPosition=a.position?a.position:[];b.titleText=a.title?a.title:"";b.connector=a.connector?a.connector:" ";b.trigger.style.cursor=
- "pointer";b.setStyle(a);b.setTitle(b.titleText);b.checkIsPC();b.checkCascade();b.cascade&&b.initCascade();if(b.initPosition.length<b.slider.length){a=b.slider.length-b.initPosition.length;for(var d=0;d<a;d++)b.initPosition.push(0)}b.setCurDistance(b.initPosition);b.addListenerAll();b.cancelBtn.addEventListener("click",function(){b.mobileSelect.classList.remove("mobileSelect-show")});b.ensureBtn.addEventListener("click",function(){b.mobileSelect.classList.remove("mobileSelect-show");for(var c="",e=
- 0;e<b.wheel.length;e++)e==b.wheel.length-1?c+=b.getInnerHtml(e):c+=b.getInnerHtml(e)+b.connector;b.trigger.innerHTML=c;b.callback(b.getIndexArr(),b.getValue())});b.trigger.addEventListener("click",function(){b.mobileSelect.classList.add("mobileSelect-show")});b.grayLayer.addEventListener("click",function(){b.mobileSelect.classList.remove("mobileSelect-show")});b.popUp.addEventListener("click",function(){event.stopPropagation()});b.fixRowStyle()},setTitle:function(a){this.titleText=a;this.mobileSelect.querySelector(".title").innerHTML=
- this.titleText},setStyle:function(a){a.ensureBtnColor&&(this.ensureBtn.style.color=a.ensureBtnColor);a.cancelBtnColor&&(this.cancelBtn.style.color=a.cancelBtnColor);a.titleColor&&(this.title=this.mobileSelect.querySelector(".title"),this.title.style.color=a.titleColor);a.textColor&&(this.panel=this.mobileSelect.querySelector(".panel"),this.panel.style.color=a.textColor);a.titleBgColor&&(this.btnBar=this.mobileSelect.querySelector(".btnBar"),this.btnBar.style.backgroundColor=a.titleBgColor);a.bgColor&&
- (this.panel=this.mobileSelect.querySelector(".panel"),this.shadowMask=this.mobileSelect.querySelector(".shadowMask"),this.panel.style.backgroundColor=a.bgColor,this.shadowMask.style.background="linear-gradient(to bottom, "+a.bgColor+", rgba(255, 255, 255, 0), "+a.bgColor+")")},checkIsPC:function(){var a=navigator.userAgent.toLowerCase();a.match(/ipad/i);var b="iphone os"==a.match(/iphone os/i),d="midp"==a.match(/midp/i),c="rv:1.2.3.4"==a.match(/rv:1.2.3.4/i),e="ucweb"==a.match(/ucweb/i),f="android"==
- a.match(/android/i),g="windows ce"==a.match(/windows ce/i);a="windows mobile"==a.match(/windows mobile/i);if(b||d||c||e||f||g||a)this.isPC=!1},show:function(){this.mobileSelect.classList.add("mobileSelect-show")},renderWheels:function(a,b,d){b=b?b:"\u53d6\u6d88";d=d?d:"\u786e\u8ba4";this.mobileSelect=document.createElement("div");this.mobileSelect.className="mobileSelect";this.mobileSelect.innerHTML='<div class="grayLayer"></div><div class="content"><div class="btnBar"><div class="fixWidth"><div class="cancel">'+
- b+'</div><div class="title"></div><div class="ensure">'+d+'</div></div></div><div class="panel"><div class="fixWidth"><div class="wheels"></div><div class="selectLine"></div><div class="shadowMask"></div></div></div></div>';document.body.appendChild(this.mobileSelect);d="";for(b=0;b<a.length;b++){d+='<div class="wheel"><ul class="selectContainer">';if(this.jsonType)for(var c=0;c<a[b].data.length;c++)d+='<li data-id="'+a[b].data[c][this.keyMap.id]+'">'+a[b].data[c][this.keyMap.value]+"</li>";else for(c=
- 0;c<a[b].data.length;c++)d+="<li>"+a[b].data[c]+"</li>";d+="</ul></div>"}this.mobileSelect.querySelector(".wheels").innerHTML=d},addListenerAll:function(){for(var a=0;a<this.slider.length;a++){var b=a;this.addListenerWheel(this.wheel[b],b);this.addListenerLi(b)}},addListenerWheel:function(a,b){var d=this;a.addEventListener("touchstart",function(){d.touch(event,this.firstChild,b)},!1);a.addEventListener("touchend",function(){d.touch(event,this.firstChild,b)},!1);a.addEventListener("touchmove",function(){d.touch(event,
- this.firstChild,b)},!1);d.isPC&&(a.addEventListener("mousedown",function(){d.dragClick(event,this.firstChild,b)},!1),a.addEventListener("mousemove",function(){d.dragClick(event,this.firstChild,b)},!1),a.addEventListener("mouseup",function(){d.dragClick(event,this.firstChild,b)},!0))},addListenerLi:function(a){for(var b=this,d=b.slider[a].getElementsByTagName("li"),c=0;c<d.length;c++)(function(e){d[e].addEventListener("click",function(){b.singleClick(this,e,a)},!1)})(c)},checkDataType:function(){"object"==
- typeof this.wheelsData[0].data[0]&&(this.jsonType=!0)},checkCascade:function(){if(this.jsonType)for(var a=this.wheelsData[0].data,b=0;b<a.length;b++){if(this.keyMap.childs in a[b]&&0<a[b][this.keyMap.childs].length){this.cascade=!0;this.cascadeJsonData=this.wheelsData[0].data;break}}else this.cascade=!1},generateArrData:function(a){for(var b=[],d=this.keyMap.id,c=this.keyMap.value,e=0;e<a.length;e++){var f={};f[d]=a[e][this.keyMap.id];f[c]=a[e][this.keyMap.value];b.push(f)}return b},initCascade:function(){this.displayJson.push(this.generateArrData(this.cascadeJsonData));
- 0<this.initPosition.length?(this.initDeepCount=0,this.initCheckArrDeep(this.cascadeJsonData[this.initPosition[0]])):this.checkArrDeep(this.cascadeJsonData[0]);this.reRenderWheels()},initCheckArrDeep:function(a){if(a&&this.keyMap.childs in a&&0<a[this.keyMap.childs].length){this.displayJson.push(this.generateArrData(a[this.keyMap.childs]));this.initDeepCount++;var b=a[this.keyMap.childs][this.initPosition[this.initDeepCount]];b?this.initCheckArrDeep(b):this.checkArrDeep(a[this.keyMap.childs][0])}},
- checkArrDeep:function(a){a&&this.keyMap.childs in a&&0<a[this.keyMap.childs].length&&(this.displayJson.push(this.generateArrData(a[this.keyMap.childs])),this.checkArrDeep(a[this.keyMap.childs][0]))},checkRange:function(a,b){for(var d=this.displayJson.length-1-a,c=0;c<d;c++)this.displayJson.pop();for(c=0;c<=a;c++)var e=0==c?this.cascadeJsonData[b[0]]:e[this.keyMap.childs][b[c]];this.checkArrDeep(e);this.reRenderWheels();this.fixRowStyle();this.setCurDistance(this.resetPostion(a,b))},resetPostion:function(a,
- b){if(this.slider.length>b.length){var d=this.slider.length-b.length;for(var c=0;c<d;c++)b.push(0)}else if(this.slider.length<b.length)for(d=b.length-this.slider.length,c=0;c<d;c++)b.pop();for(c=a+1;c<b.length;c++)b[c]=0;return b},reRenderWheels:function(){if(this.wheel.length>this.displayJson.length)for(var a=this.wheel.length-this.displayJson.length,b=0;b<a;b++)this.wheels.removeChild(this.wheel[this.wheel.length-1]);for(b=0;b<this.displayJson.length;b++){a=b;var d="";if(this.wheel[a]){for(var c=
- 0;c<this.displayJson[a].length;c++)d+='<li data-id="'+this.displayJson[a][c][this.keyMap.id]+'">'+this.displayJson[a][c][this.keyMap.value]+"</li>";this.slider[a].innerHTML=d}else{var e=document.createElement("div");e.className="wheel";d='<ul class="selectContainer">';for(c=0;c<this.displayJson[a].length;c++)d+='<li data-id="'+this.displayJson[a][c][this.keyMap.id]+'">'+this.displayJson[a][c][this.keyMap.value]+"</li>";e.innerHTML=d+"</ul>";this.addListenerWheel(e,a);this.wheels.appendChild(e)}this.addListenerLi(a)}},
- updateWheels:function(a){if(this.cascade){this.cascadeJsonData=a;this.displayJson=[];this.initCascade();if(this.initPosition.length<this.slider.length){a=this.slider.length-this.initPosition.length;for(var b=0;b<a;b++)this.initPosition.push(0)}this.setCurDistance(this.initPosition);this.fixRowStyle()}},updateWheel:function(a,b){var d="";if(this.cascade)return console.error("\u7ea7\u8054\u683c\u5f0f\u4e0d\u652f\u6301updateWheel(),\u8bf7\u4f7f\u7528updateWheels()\u66f4\u65b0\u6574\u4e2a\u6570\u636e\u6e90"),
- !1;if(this.jsonType){for(var c=0;c<b.length;c++)d+='<li data-id="'+b[c][this.keyMap.id]+'">'+b[c][this.keyMap.value]+"</li>";this.wheelsData[a]={data:b}}else{for(c=0;c<b.length;c++)d+="<li>"+b[c]+"</li>";this.wheelsData[a]=b}this.slider[a].innerHTML=d;this.addListenerLi(a)},fixRowStyle:function(){for(var a=(100/this.wheel.length).toFixed(2),b=0;b<this.wheel.length;b++)this.wheel[b].style.width=a+"%"},getIndex:function(a){return Math.round((2*this.liHeight-a)/this.liHeight)},getIndexArr:function(){for(var a=
- [],b=0;b<this.curDistance.length;b++)a.push(this.getIndex(this.curDistance[b]));return a},getValue:function(){var a=[],b=this.getIndexArr();if(this.cascade)for(var d=0;d<this.wheel.length;d++)a.push(this.displayJson[d][b[d]]);else if(this.jsonType)for(d=0;d<this.curDistance.length;d++)a.push(this.wheelsData[d].data[this.getIndex(this.curDistance[d])]);else for(d=0;d<this.curDistance.length;d++)a.push(this.getInnerHtml(d));return a},calcDistance:function(a){return 2*this.liHeight-a*this.liHeight},
- setCurDistance:function(a){for(var b=[],d=0;d<this.slider.length;d++)b.push(this.calcDistance(a[d])),this.movePosition(this.slider[d],b[d]);this.curDistance=b},fixPosition:function(a){return-(this.getIndex(a)-2)*this.liHeight},movePosition:function(a,b){a.style.webkitTransform="translate3d(0,"+b+"px, 0)";a.style.transform="translate3d(0,"+b+"px, 0)"},locatePostion:function(a,b){this.curDistance[a]=this.calcDistance(b);this.movePosition(this.slider[a],this.curDistance[a])},updateCurDistance:function(a,
- b){this.curDistance[b]=parseInt(a.style.transform.split(",")[1])},getDistance:function(a){return parseInt(a.style.transform.split(",")[1])},getInnerHtml:function(a){var b=this.getIndex(this.curDistance[a]);return this.slider[a].getElementsByTagName("li")[b].innerHTML},touch:function(a,b,d){var c=this;a=a||window.event;switch(a.type){case "touchstart":c.startY=a.touches[0].clientY;c.oldMoveY=c.startY;break;case "touchend":c.moveEndY=a.changedTouches[0].clientY;c.offsetSum=c.moveEndY-c.startY;c.updateCurDistance(b,
- d);c.curDistance[d]=c.fixPosition(c.curDistance[d]);c.movePosition(b,c.curDistance[d]);c.oversizeBorder=-(b.getElementsByTagName("li").length-3)*c.liHeight;c.curDistance[d]+c.offsetSum>2*c.liHeight?(c.curDistance[d]=2*c.liHeight,setTimeout(function(){c.movePosition(b,c.curDistance[d])},100)):c.curDistance[d]+c.offsetSum<c.oversizeBorder&&(c.curDistance[d]=c.oversizeBorder,setTimeout(function(){c.movePosition(b,c.curDistance[d])},100));c.transitionEnd(c.getIndexArr(),c.getValue());c.cascade&&(a=c.getIndexArr(),
- a[d]=c.getIndex(c.curDistance[d]),c.checkRange(d,a));break;case "touchmove":a.preventDefault(),c.moveY=a.touches[0].clientY,c.offset=c.moveY-c.oldMoveY,c.updateCurDistance(b,d),c.curDistance[d]+=c.offset,c.movePosition(b,c.curDistance[d]),c.oldMoveY=c.moveY}},dragClick:function(a,b,d){var c=this;a=a||window.event;switch(a.type){case "mousedown":c.startY=a.clientY;c.oldMoveY=c.startY;c.clickStatus=!0;break;case "mouseup":c.moveEndY=a.clientY;c.offsetSum=c.moveEndY-c.startY;c.updateCurDistance(b,d);
- c.curDistance[d]=c.fixPosition(c.curDistance[d]);c.movePosition(b,c.curDistance[d]);c.oversizeBorder=-(b.getElementsByTagName("li").length-3)*c.liHeight;c.curDistance[d]+c.offsetSum>2*c.liHeight?(c.curDistance[d]=2*c.liHeight,setTimeout(function(){c.movePosition(b,c.curDistance[d])},100)):c.curDistance[d]+c.offsetSum<c.oversizeBorder&&(c.curDistance[d]=c.oversizeBorder,setTimeout(function(){c.movePosition(b,c.curDistance[d])},100));c.clickStatus=!1;c.transitionEnd(c.getIndexArr(),c.getValue());c.cascade&&
- (a=c.getIndexArr(),a[d]=c.getIndex(c.curDistance[d]),c.checkRange(d,a));break;case "mousemove":a.preventDefault(),c.clickStatus&&(c.moveY=a.clientY,c.offset=c.moveY-c.oldMoveY,c.updateCurDistance(b,d),c.curDistance[d]+=c.offset,c.movePosition(b,c.curDistance[d]),c.oldMoveY=c.moveY)}},singleClick:function(a,b,d){this.cascade?(a=this.getIndexArr(),a[d]=b,this.checkRange(d,a)):(this.curDistance[d]=(2-b)*this.liHeight,this.movePosition(a.parentNode,this.curDistance[d]))}};
- "object"==typeof exports?module.exports=MobileSelect:"function"==typeof define&&define.amd?define([],function(){return MobileSelect}):window.MobileSelect=MobileSelect;
- function jobs(){var a=[{value:"7",key:"\u5b89\u5fbd"},{value:"15",key:"\u5317\u4eac"},{value:"27",key:"\u91cd\u5e86"},{value:"8",key:"\u798f\u5efa"},{value:"30",key:"\u7518\u8083"},{value:"24",key:"\u5e7f\u4e1c"},{value:"20",key:"\u5e7f\u897f"},{value:"25",key:"\u8d35\u5dde"},{value:"21",key:"\u6d77\u5357"},{value:"13",key:"\u6cb3\u5317"},{value:"1",key:"\u9ed1\u9f99\u6c5f"},{value:"19",key:"\u6cb3\u5357"},{value:"22",key:"\u9999\u6e2f"},{value:"17",key:"\u6e56\u5317"},{value:"18",key:"\u6e56\u5357"},
- {value:"5",key:"\u6c5f\u82cf"},{value:"9",key:"\u6c5f\u897f"},{value:"3",key:"\u8fbd\u5b81"},{value:"2",key:"\u5409\u6797"},{value:"23",key:"\u6fb3\u95e8"},{value:"14",key:"\u5185\u8499\u53e4"},{value:"32",key:"\u5b81\u590f"},{value:"31",key:"\u9752\u6d77"},{value:"10",key:"\u5c71\u4e1c"},{value:"4",key:"\u4e0a\u6d77"},{value:"9",key:"\u5c71\u897f"},{value:"34",key:"\u9655\u897f"},{value:"29",key:"\u56db\u5ddd"},{value:"11",key:"\u53f0\u6e7e"},{value:"16",key:"\u5929\u6d25"},{value:"33",key:"\u65b0\u7586"},
- {value:"28",key:"\u897f\u85cf"},{value:"26",key:"\u4e91\u5357"},{value:"6",key:"\u6d59\u6c5f"}];$("#display-more").css({display:"block"});var b=0,d=18,c=window.location.protocol+"//"+window.location.host+"/open/listRecruitment";$.ajax({method:"get",dataType:"json",crossDomain:!1,url:c,data:{province:18},success:function(e){if(e.error&&e.error.length)console.log("\u6570\u636e\u5f02\u5e38");else{e=e.data.list;var f="",g="";b=0;e.forEach(function(k){f=f+"<div>"+k.content+'</div><hr style="border: 1px solid #ccc;">';
- g+="<li>"+k.name+"</li>";b++});12<=b&&$("#display-more").css({display:"block"});f?($("#job").html(f),$("#position").html(g)):($("#job").html('<p style="font-size: 24px;text-align: center;">\u6682\u65e0\u6570\u636e</p>'),$("#position").html('<p style="text-align: center;font-size: 20px;color: #666;">\u6682\u65e0\u804c\u52a1</p>'))}}});$("#province").on("click","li",function(e){$("#province li").removeClass("active");$(this).addClass("active");var f=$(this).html();a.forEach(function(h){h.key==f&&(d=
- h.value)});var g="",k="";b=0;$.ajax({method:"get",dataType:"json",crossDomain:!1,url:c,data:{province:d},success:function(h){h.error&&h.error.length?console.log("\u6570\u636e\u5f02\u5e38"):(h.data.list.forEach(function(l){g=g+"<div>"+l.content+'</div><hr style="border: 1px solid #ccc;">';k+="<li>"+l.name+"</li>";b++}),b&&$("#display-more").css({display:"block"}),g?($("#job").html(g),$("#position").html(k)):($("#job").html('<p style="font-size: 24px;text-align: center;">\u6682\u65e0\u6570\u636e</p>'),
- $("#position").html('<p style="text-align: center;font-size: 20px;color: #666;">\u6682\u65e0\u804c\u52a1</p>')))}})});$("#position").off("click").on("click","li",function(e){$("#position li").removeClass("active");$(this).addClass("active");var f="";e=$(this).html();$.ajax({method:"get",dataType:"json",crossDomain:!1,url:c,data:{province:d,name:e},success:function(g){g.error&&g.error.length?console.log("\u6570\u636e\u5f02\u5e38"):(g.data.list.forEach(function(k){f=f+"<div>"+k.content+'</div><hr style="border: 1px solid #ccc;">'}),
- f?$("#job").html(f):$("#job").html('<p style="font-size: 24px;text-align: center;">\u6682\u65e0\u6570\u636e</p>'))}})})}
- function cooperation(){$.ajax({url:api+"/open/listOrganization",method:"get",data:{releaseStatus:1,pageSize:16},success:function(a){if(a.error&&a.error.length)alert("\u6570\u636e\u5f02\u5e38\uff0c\u8bf7\u5237\u65b0\u9875\u9762\uff01");else{if(a.data.list.length){for(var b="",d=0;d<a.data.list.length;d++)b+="<li><img src="+avatarUploadHost+a.data.list[d].pictureUrl+" /></li>";$(".strategic > div > ul").html(b);window.sessionStorage.setItem("total",a.data.totalCount)}else $(".strategic > div > ul").html('<p style="font-size: 24px;text-align: center;color:#666;line-height:550px">\u6682\u65e0\u6570\u636e</p>'),
- $(".page_3").css({display:"none"});cooperationPage()}}})}
- function cooperationPage(){var a={obj_box:".page_3",total_item:window.sessionStorage.getItem("total"),per_num:16,current_page:1,change_content:function(b,d){d=d?d:1;total_item=window.sessionStorage.getItem("total");$.ajax({url:api+"/open/listOrganization",data:{pageSize:16,releaseStatus:1,pageNo:d},method:"GET",dataType:"json",success:function(c){if(c.error&&c.error.length)alert("\u6570\u636e\u5f02\u5e38\uff0c\u8bf7\u5237\u65b0\u9875\u9762\uff01");else if(c.data.list.length){for(var e="",f=0;f<c.data.list.length;f++)e+=
- "<li><img src="+avatarUploadHost+c.data.list[f].pictureUrl+" /></li>";$(".strategic > div > ul").html(e);window.sessionStorage.setItem("total",c.data.totalCount)}else $(".strategic > div > ul").html('<p style="font-size: 24px;text-align: center;color:#666;line-height:550px">\u6682\u65e0\u6570\u636e</p>'),$(".page_3").css({display:"none"})}})}};page_ctrl(a)}
- $(function(){function a(){var b={obj_box:".page_activitiesPage",total_item:+window.sessionStorage.getItem("total"),per_num:5,current_page:1,change_content:function(d,c){$.ajax({url:api+"/open/activity/list",data:{pageNo:c?c:1,pageSize:d?d:10},type:"GET",dataType:"json",success:function(e){if(e.error&&e.error.length)alert("\u6570\u636e\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u5237\u65b0\u9875\u9762");else{var f="";if(e.data.list.length){for(var g=$(".activeArrow").attr("src"),k=989>document.body.clientWidth?
- "":"display:flex;align-items: center;",h=0;h<e.data.list.length;h++){var l=e.data.list[h],m=l.content.replace(/<.*?>/gi,"");f+="<div style='padding-bottom: 30px'><div style="+k+"><span style='display:flex;align-items:center;white-space:nowrap;min-width: 297px;'><div style='font-size: 30px;color: #070707;font-weight: bolder;'>"+l.title+"</div><img style='padding-left:20px;width: 60px;height: auto;' src="+g+"></span><div style='font-size:16px; color: #666;'>"+m+"</div></div><img style='padding-top:5px;padding-bottom:21px;width:100%;height:auto;' src="+
- avatarUploadHost+l.pictureUrl+"></div>"}window.sessionStorage.setItem("total",e.data.totalCount)}else f="<h4 style='text-align:center;margin-top:90px;color:#666' >\u6682\u65e0\u56e2\u961f\u6d3b\u52a8</h4>",$(".page_ctrl").css({display:"none"});$(".group-activities").html(f)}}})}};page_ctrl(b)}3>=window.location.search.length&&2<=window.location.search.length&&$("html,body").animate({scrollTop:"1200px"},500);switch(window.location.search){case "?0":$(".product-a li").eq(0).click();break;case "?1":$(".product-a li").eq(1).click();
- break;case "?2":$(".product-a li").eq(2).click();break;case "?3":$(".product-a li").eq(3).click();break;case "?4":$(".product-a li").eq(4).click();break;case "?5":$(".product-a li").eq(5).click();break;case "?6":$(".product-a li").eq(6).click();break;case "?7":$(".product-a li").eq(7).click();break;case "?8":$(".product-a li").eq(8).click();break;case "?9":$(".product-a li").eq(9).click();break;case "?10":$(".product-a li").eq(10).click();break;case "?11":$(".product-a li").eq(11).click();break;case "?12":$(".product-a li").eq(12).click();
- break;case "?13":$(".product-a li").eq(13).click();break;case "?14":$(".product-a li").eq(14).click();break;case "?15":$(".product-a li").eq(15).click();break;case "?16":$(".product-a li").eq(16).click();break;case "?17":$(".product-a li").eq(17).click();break;case "?18":$(".product-a li").eq(18).click();break;case "?19":$(".product-a li").eq(19).click();break;case "?20":$(".product-a li").eq(20).click();break;case "?21":$(".product-a li").eq(21).click();break;case "?22":$(".product-a li").eq(22).click();
- break;case "?23":$(".product-a li").eq(23).click();break;case "?24":$(".product-a li").eq(24).click();break;case "?25":$(".product-a li").eq(25).click();break;case "?26":$(".product-a li").eq(26).click();break;case "?27":$(".product-a li").eq(27).click();break;case "?28":$(".product-a li").eq(28).click();break;case "?29":$(".product-a li").eq(29).click();break;case "?30":$(".product-a li").eq(30).click();break;case "?31":$(".product-a li").eq(31).click();break;case "?32":$(".product-a li").eq(32).click();
- break;case "?33":$(".product-a li").eq(33).click();break;case "?34":$(".product-a li").eq(34).click()}(function(){var b="",d="";$("#submitName").on("input",function(){b=$(this).val()});$("#submitPhone").on("input",function(){d=$(this).val()});$("#submitGo").on("click",function(){""==$("#submitName").val().trim()?(alert("\u8bf7\u8f93\u5165\u59d3\u540d\uff01"),$("#submitPhone").val(""),$("#submitName").val("")):""==$("#submitPhone").val().trim()?(alert("\u8bf7\u8f93\u5165\u8054\u7cfb\u65b9\u5f0f\uff01"),
- $("#submitPhone").val(""),$("#submitName").val("")):$.ajax({method:"post",dataType:"json",crossDomain:!1,url:api+"/open/addVisitingCustomers",data:{name:b,mobile:d},success:function(c){c.error&&c.error.length?console.log("\u6570\u636e\u5f02\u5e38"):(alert("\u63d0\u4ea4\u6210\u529f\uff01"),$("#submitPhone").val(""),$("#submitName").val(""),$(".footer-submit").fadeOut(),$(".infoDown").eq(1).fadeOut())}})});$("#submit-close").on("click",function(){$(".footer-submit").fadeOut();$(".infoDown").eq(1).fadeOut()})})();
- (function(){var b=window.location.search.split("=")[1];3==b&&$(".secondary-menu>div>ul>li").eq(b).click()})();(function(){$.ajax({url:api+"/open/activity/list",data:{pageNo:1,pageSize:10},type:"GET",dataType:"json",success:function(b){b.error&&b.error.length||!b.data.list.length||(window.sessionStorage.setItem("total",b.data.totalCount),a())}})})()});
|