").insertAfter($(this)));
});
$("#w_grid-1592451440326").appendTo(wd.body);
$("#w_common_text-1592451440391").appendTo(wd.body);
$("#w_grid-1634490426001-1 .reset_style").wrapAll("
");
}
$(".c_portalResCompanyFile_relatedlist-01001 .p_fileListBox").click(function() {
$(this).find("button").trigger("click");
});
}
wd.index = function() {
if (wd.is_home()) {
wd.block_phone.sign && wd.block_phone.block();
wd.block_links.sign && wd.block_links.block();
wd.body.addClass("index");
$("#w_common_text-1592451440391").find("div").first().addClass("wd-20220310234256").append("
宸濆叕缃戝畨澶 51069902000119鍙饵/span>");
$("#c_portalResEbizads_banner-16209815584385155").each(function() {
new Swiper('#c_portalResEbizads_banner-16209815584385155 .swiper-container', {
autoplay: {
delay:4000
},
pagination: {
el: '#c_portalResEbizads_banner-16209815584385155 .swiper-pagination',
type: 'bullets',
clickable:true
},
autoplayDisableOnInteraction: false,
loop: true,
speed: 1200,
effect:"fade"
})
});
$("#c_portalResProduct_list-16212210644735399").each(function() {
var a = $(this), timer;
let b = a.find(".swiper-container");
let c = a.find(".swiper-wrapper");
let width = b.width();
let each_width = (width - 3 * 15) / 4;
if($(window).width() < 768) {
each_width = 300;
}
let list = a.find(".swiper-slide");
list.width(each_width).css("margin-right", "15px");
function prev() {
let z = a.find(".swiper-slide").last().css("margin-left", -each_width - 15).prependTo(c);
z.animate({
marginLeft:0
}, 1000);
}
function next() {
let z = a.find(".swiper-slide").first().animate({
marginLeft:-each_width-15
}, 1000, function() {
z.css("margin-left", 0).appendTo(c);
});
}
$(".swiper-button-prev", a).click(function() {
prev();
});
$(".swiper-button-next", a).click(function() {
next();
});
function auto() {
clearInterval(timer);
timer = setInterval(function() {
next();
}, 3000);
}
a.hover(function() {
clearInterval(timer);
}, function() {
auto();
});
auto();
});
$("#c_portalResEbizads_banner-16209815584385155 .text .wd-more a, #c_portalResProduct_list-16212210644735399 .aTop, #c_portalResPublic_codeContainer-16231477396350542 .wd-20210608182231 a, .wd-20210820165546 .wd-item a, #c_portalResNews_list-1592451440411 .newLi a, #c_portalResNews_list-1592451440411 .newLi, #w_fbtn-1592451440306 .p_link, #w_common_text-1592451440391 a").attr("target", "_blank");
$("#c_portalResPublic_codeContainer-16231477396350542 .wd-20210608182231 .wd-item").click(function() {
window.open($(this).find("a").attr("href"), "_blank");
});
$("#w_common_text-1621219318059,#w_common_text-1618903429139,#w_common_text-1621232599722,#w_common_text-1592451440371,#w_common_text-1592451440381").addClass("wd-index-title-1");
$("#w_common_text-1651141035115,#w_common_text-1618903429136,#w_common_text-1621232599719,#w_common_text-1592451440366,#w_common_text-1592451440376").addClass("wd-index-title-2");
var current = 1;
var screen = $(".screen").removeClass("wd-current").eq(0).addClass("wd-current").addBack();
var nav_container = $("#w_grid-1592451440326 > div > .p_gridbox");
if($(window).width() > 769) {
function a() {
if (window.base && window.base.current) {
if (current != window.base.current) {
current = window.base.current;
screen.removeClass("wd-current").eq(current - 1).addClass("wd-current");
if (current == 1) {
nav_container.removeClass("wd-dark");
} else {
nav_container.addClass("wd-dark");
}
if (current == 2) {
$("#c_portalResPublic_codeContainer-16231477396350542 .wd-20210608182231 .wd-item").each(function() {
var self = $(this);
if (!self.hasClass("wd-in")) {
self.removeClass("wd-out");
self.addClass("wd-in");
setTimeout(function() {
self.trigger("show-svg");
}, 1000 + 100 * $(this).index());
}
});
} else {
$("#c_portalResPublic_codeContainer-16231477396350542 .wd-20210608182231 .wd-item").each(function() {
var self = $(this);
if (!self.hasClass("wd-out")) {
self.addClass("wd-out");
self.removeClass("wd-in");
setTimeout(function() {
self.trigger("hide-svg");
}, 100 * $(this).index());
}
});
}
}
}
requestAnimationFrame(a);
}
requestAnimationFrame(a);
} else {
nav_container.addClass("wd-dark");
}
$("#w_fimg-1592451440346").find("img").each(function() {
$("
![]()
").attr("src", "/img/20240429090132.png").attr("alt", "logo").insertAfter($(this));
});
$("#c_portalResPublic_codeContainer-16231477396350542 .wd-20210608182231 .wd-item").each(function() {
if ($(window).width() < 768) {
return;
}
$(this).children().filter("a").each(function() {
$(this).html("
" + $(this).text().split("").join("") + "");
});
$(this).on("show-svg", function() {
$(this).addClass("wd-show");
anime({
targets: this.querySelectorAll("path"),
strokeDashoffset: [anime.setDashoffset, 0],
easing: 'easeInOutSine',
duration: 1500,
delay: function(el, i) {
return i * 250
},
});
anime({
targets: this.querySelectorAll("span"),
rotateY: [-90, 0],
duration: 1300,
delay: (el,i)=>200 * i
});
});
$(this).on("hide-svg", function() {
$(this).addClass("wd-show");
anime({
targets: this.querySelectorAll("path"),
strokeDashoffset: [0, anime.setDashoffset],
easing: 'easeInOutSine',
duration: 1500,
delay: function(el, i) {
return i * 250
},
});
anime({
targets: this.querySelectorAll("span"),
rotateY: [0, -90],
duration: 1300,
delay: (el,i)=>200 * i
});
});
});
setTimeout(function() {
wd.body.addClass("wd-show");
}, 300);
} else {
if (!wd.block_links.sign) {
wd.sub(wd.body);
}
}
}
wd.sub = function() {
wd.block_phone.sign && wd.block_phone.block();
wd.block_links.sign && wd.block_links.block();
wd.body.addClass("sub");
if (wd.is_scroll_ani) {
var _sa = wd.scroll_animation();
_sa.add(".subpage_ad .ad-tit, .subpage_ad .ad-line, .subpage_ad .ad-sum");
_sa.add(".wd-20210803180644");
_sa.add(".wd-20211011133209 .wd-item");
_sa.add("#c_portalResCompanyFile_list-1627009754724 .p_fileItem");
_sa.add(".wd-20210927115107");
_sa.add("#w_grid-1635367414575 .c_portalResPublic_codeContainer-01001");
_sa.add("#c_portalResComplaintPage_detail-16270078779987021 p");
_sa.add(".c_portalResEmploy_list-01001 .p_PromptNoneData");
_sa.add("#c_portalResSearch_total-16381791153575415");
_sa.add("#content_box-1637908399498-1");
_sa.add("video");
_sa.add('#c_portalResNews_list-16387631763756210 .wd-df .wd-item');
_sa.add('.wd-20220301104706');
_sa.add('#c_portalResnav_main-15662002723654437 .navLi');
_sa.add('#c_portalResFile_relatedlist-16327098748354087 .p_Product');
_sa.init();
}
$(".wd-20210923005058 a").each((a,b) => $(b).attr("href", $(b).attr("href").replace(location.origin, "")));
$("#c_portalResFile_relatedlist-16327098748354087 .p_download a").prepend('
');
$("#c_portalResFile_relatedlist-16327098748354087").each(function() {
if($(this).find(".promptbox").length) {
return;
}
$(this).addClass("wd-show");
});
$("#w_common_text-1566200272231").find("div").first().addClass("wd-20220310234256").append("
宸濆叕缃戝畨澶 51069902000119鍙饵/span>");
$("#w_common_text-1626999753739").addClass("wd-dn");
$("[wd--current]").each(function() {
let a = $(this).attr("wd--current");
let b = a.split("#");
$(this).find(b[0]).eq(b[1] - 1).addClass("wd-current");
});
$(".c_portalResNews_detail-01001 .p_dataSource>li").eq(3).each(function() {
$(this).find("span").remove().end().each(function() {
$(this).text($(this).text().split(" ")[0]);
});
});
$("#c_portalResGroupIntention_form-16379183169453745").each(function() {
$(this).wrap("
");
$(".wd-20211126172530").appendTo(wd.body).find(".wd-20211126173628").prepend("
鑱屼綅鐢宠
").find(".wd-close").append('
').click(function() {
$(".wd-20211126172530").slideUp();
});
$("#c_portalResGroupIntention_form-16379183169453745 .p_basicInfoForm .p_valedata:nth-child(5) input").val(localStorage.getItem("wd-job-id"));
$("#c_portalResGroupIntention_form-16379183169453745 .p_basicInfoForm .p_valedata:nth-child(6) input").val(localStorage.getItem("wd-job-title"));
wd.body.click(function(e) {
if(e.target.classList.contains("wd-20211126174138")) {
$(".wd-20211126172530").slideDown();
}
});
});
$("#c_portalResBreadcrumb_nav-1619577415060 .p_breadcrumbList").children().wrapAll("
");
setInterval(()=>{
if($('.lg-backdrop.in').length) {
if(wd.body.hasClass('wd-lightbox')) {
return;
}
wd.body.addClass('wd-lightbox');
} else {
if(wd.body.hasClass('wd-lightbox')) {
wd.body.removeClass('wd-lightbox');
}
}
}, 300);
$("#c_portalResEbizads_banner-16195733770405566").each(function() {
if(location.href.indexOf("w") != -1) {
var a = {
profilew2:$("#w_grid-1635366235523"),
profilew3:$("#w_grid-1635366791991"),
};
var b = a[(location.pathname+location.search).match(/[a-z][0-9]*/g).join("").replace("html", "")];
if(b) {
setTimeout(function() {
$("html,body").animate({
scrollTop:b.offset().top
}, 1000);
}, 500);
}
}
});
$("#c_portalResEmploy_detail-16269657666124939 .job_condition").append('
钖祫寰呴亣锛氶潰璋圏/li>');
setInterval(function() {
$(".wproList .witem > a, #c_portalResSearch_result-16288485342599333 .p_Product1 a, #c_portalResNews_list-16279835073982053 .newLi a, #c_portalResEmploy_list-16285224879619240 .jobList a").not(".wd").addClass("wd").attr("target", "_blank");
}, 300);
$("#c_portalResNews_list-16294506107243558").each(function() {
setInterval(function() {
$(".wd-20210927023306 a").not(".wd").addClass("wd").attr("target", "_blank");
}, 100);
});
$("#c_portalResEmploy_detail-16269657666124939 .job").each(function() {
$(this).prepend(['', '', '', '', ''][$(this).index()]);
});
$("#c_portalResEmploy_detail-16269657666124939 .job").each(function(i) {
$(this).contents().filter(function() {
if(this.nodeType == 3) {
this.data = ["宸ヤ綔鍦扮偣锛?, "宸ヤ綔骞撮檺锛?, "瀛﹀巻锛?, "宸ヤ綔鎬ц川锛?, "鎷涜仒浜烘暟锛?, ""][i] + this.data;
}
});
});
$("#c_portalResEbizads_banner-1628241962874 .subpage_ad").each(function() {
$(this).append($("#c_portalResSearch_total-1628241962889"));
});
$("#w_grid-1634182559184-1").each(function() {
let t = $(this);
let tt = $(this).parent();
$(window).scroll(function() {
var top = $(window).scrollTop();
if(top > tt.offset().top) {
t.addClass("wd-fixed");
} else {
t.removeClass("wd-fixed");
}
});
});
$("#w_common_text-1628575538577,#w_common_text-1634490437705,#w_common_text-1634490488840").addClass("wd-20211018015747").prepend('');
$("#w_common_text-1634490498827").addClass("wd-20211018015747").prepend('');
$("#w_common_text-1634490508699,#w_common_text-1661930340081,#w_common_text-1661930344824").addClass("wd-20211018015747").prepend('');
$("#w_common_text-1634490516621").addClass("wd-20211018015747").prepend('');
$(".c_portalResSearch_total-02001 .p_searchBtn").prepend('');
$("#w_common_text-1626999784252, #w_common_text-1626999767434").each(function() {
$(this).find("p:gt(1)").each(function(i) {
$(this).addClass("wd-20211018023044").prepend(['', '','','','', ''][i]);
});
});
$("#c_portalResProduct_detail-16195766200278851,#c_portalResProduct_list-16233452019374743,#c_portalResSearch_result-16288485342599333").each(function() {
wd.body.addClass("wd-products-section");
});
$(".c_portalResSearch_total-02001 .p_searchBtn").click(function() {
if(!$(".c_portalResSearch_total-02001 .p_input input").val()) {
alert("璇疯緭鍏ユ偍瑕佹煡璇㈢殑浜у搧鍚嶇О鎴栧瀷鍙?);
}
});
$("#c_portalResEbizads_banner-1627009754714 .subpage_ad").append($("#c_portalResSearch_total-16279811140888447"));
$("#c_portalResProduct_detail-16195766200278851").each(function() {
$("#w_grid-1575256404955").addClass("wd-bg-white").addClass("wd-position-relative").addClass("wd-border-bottom-ddd");
});
$(".c_portalResProduct_detail-01001 .p_imagesA").each(function() {
var prev = $("").addClass("wd-20210811171218");
var next = $("
").addClass("wd-20210811171219");
prev.append('
');
next.append('
');
$(this).append(prev);
$(this).append(next);
var index = 0;
var indexx = index;
var timer = setInterval(function() {
var imgs = $(".c_portalResProduct_detail-01001 .p_image");
if (imgs.length) {
clearInterval(timer);
setTimeout(function() {
var handle = function() {
imgs.eq(index).fadeOut().end().eq(indexx).fadeIn();
index = indexx;
}
prev.click(function() {
indexx--;
if (indexx < 0) {
indexx = imgs.length - 1;
}
handle();
});
next.click(function() {
indexx++;
if (indexx > imgs.length - 1) {
indexx = 0;
}
handle();
});
}, 300);
}
}, 1000 / 60);
});
$("#c_portalResNews_list-16272827081505249 h2").each(function() {
return;
$(this).html("
" + $(this).text().split("").join("") + "");
});
$("#content_box-1627001705654-1").children().eq(1).addClass("wd-dn");
$("#content_box-1627001705654-0").children().first().addClass("wd-20210723091634").end().hover(function() {
$(this).siblings().removeClass("wd-20210723091634");
$(this).addClass("wd-20210723091634");
$("#content_box-1627001705654-1").children().addClass("wd-dn").eq($(this).index()).removeClass("wd-dn");
});
$("#w_grid-1575256404955 > div > .p_gridbox").each(function() {
var t = $(this);
t.addClass("wd-dark");
return;
$(window).scroll(function() {
if ($(window).scrollTop() > 50) {
t.addClass("wd-dark");
} else {
t.removeClass("wd-dark");
}
});
});
$("#w_fimg-1575256423976").find("img").each(function() {
$("
![]()
").attr("src", "/img/20240429090132.png").attr("alt", "logo").insertAfter($(this));
});
$("div[class*='_category-'], .wd-20211011133209").each(function() {
$(this).find("a").each(function() {
if(location.href.indexOf($(this).attr("href")) != -1) {
$(this).addClass("wd-current").parent().addClass("wd-cate-parent-current wd-show").andSelf().each(function() {
let a = $(this).attr("data-href");
if(a) {
$("#c_portalResProduct_category-16233452019324898 .wd-20210923005058 a[href='"+a+"']").each(function() {
$(this).addClass("wd-current");
});
}
$("div[data-href='"+$(this).attr("href")+"']").each(function() {
$(this).addClass("wd-show");
});
});
}
});
});
setTimeout(function() {
wd.body.addClass("wd-show");
}, 300);
}
wd.common = function() {
$(".w_grid-001 > div > .p_gridbox").each(function() {
$(this).attr("id", $(this).parent().parent().attr("id") + "-1");
});
wd.index();
wd.mo();
wd.right_float();
$("a[href*='http://www.cninfo.com.cn']").attr("target", "_blank");
if (wd.is_title_ani) {
$("#w_common_text-1616486684666").addClass("wd-title-ani");
$("#w_common_text-1616549940043").addClass("wd-title-ani");
wd.title_ani();
}
if (wd.is_history_scroll_restoration) {
history.scrollRestoration = 'manual';
}
$("a,img").removeAttr("title");
wd.body.addClass("wd");
wd.nav();
}
wd.nav = function() {
var a = $(this.nav_selector);
var index = 0;
$("[dni]").first().each(function() {
index = $(this).attr("dni") - 1;
});
a.eq(index).addClass("wd-current").closest("li").addClass("wd-current");
}
wd.is_home = function() {
if (location.href.indexOf("/home.html") != -1 || location.pathname == "/" || (wd.index_page_id && $("#" + wd.index_page_id).length)) {
return true;
}
return false;
}
wd.svg = {
email: '
',
phone: '
',
message: '
',
qrcode:'
',
back_top: '
'
};
wd.right_float = function() {
var config = wd.right_float_config;
var right = $("
").addClass("wd-right-float");
var email = $("
").addClass("wd-item email").append('
' + wd.svg.email + '').append("
");
var phone = $("
").addClass("wd-item phone").append('
' + wd.svg.phone + '').append("
");
var message = $("
").addClass("wd-item message").append('
' + wd.svg.message + '').append("
");
var qrcode = $("
").addClass("wd-item qr-code").append('
' + wd.svg.qrcode + '').append("
");
var top = $("
").addClass("wd-item top").append('
' + wd.svg.back_top + '');
right.append(email).append(phone).append(message).append(qrcode).append(top);
wd.body.append(right);
$(".wd-right-float-qr-code").each(function() {
var qrcode = new QRCode(this);
qrcode.makeCode(location.href);
}).append("
![](/img/20240429174608.png)
");
right.find(".wd-item").last().click(function() {
$("html,body").animate({
scrollTop: 0
}, 1000);
});
wd.delay(500, function() {
right.addClass("wd-show");
});
}
wd.delay = function(time, callback) {
return timer = setTimeout(function() {
callback();
}, time);
}
wd.scroll_animation = function() {
var window_height = $(window).height();
let num = 0;
$(window).scroll(function() {
num = 0;
});
function ani(a, t) {
var top = a.offset().top;
if (top < (window_height + t)) {
a.addClass("wd-scroll-in");
setTimeout(()=>{
a.addClass("wd-scrolled");
}, 200+num * 100);
num++;
}
}
function handle() {
let t = $(window).scrollTop();
let body_height = wd.body.height();
$(".wd-scroll-animation:not(.wd-scroll-in)").each(function() {
ani($(this), t);
});
if (window_height + t + 200 >= body_height) {
$(".wd-scroll-animation:not(.wd-scroll-in)").each(function() {
$(this).addClass("wd-scroll-in").addClass("wd-scrolled");
});
}
}
return {
add: function(a) {
$(a).addClass("wd-scroll-animation");
return this.add;
},
init: function() {
this.add("div[id^='w_common_text-']");
this.add(".w_fimg-000");
this.add(".w_fbtn-001");
this.add(".w_ficon-001");
this.add(".w_fline-001");
this.add(".w_fimgbox-001");
this.add(".w_fline-001");
this.add("div[class*='c_portalResProduct_detail']");
this.add(".c_portalResMessage_form-01001");
this.add(".c_portalResEbizads_banner-01001 .bannerTitle");
this.add(".c_portalResEbizads_banner-01001 .summry");
this.add(".c_portalResProduct_list-01001001 .PhotoList_k1 li");
this.add(".c_portalResnav_main-01001 .top-nav");
this.add(".c_portalResIntro_detail-01001");
this.add(".c_portalResNews_list-01001 .newList");
this.add(".c_portalResNews_detail-01001 .p_header");
this.add(".c_portalResNews_detail-01001 .p_dataSource");
this.add(".c_portalResNews_detail-01001 .p_summary");
this.add(".c_portalResNews_detail-01001 .p_articles");
this.add(".c_portalResNews_detail-01001 .p_PrevAndNext");
this.add(".c_portalResProduct_list-01001");
this.add(".c_portalResNews_list-01001 .p_articles");
this.add(".c_portalResEmploy_list-01001 .jobList");
this.add(".c_portalResProduct_list-01001 .p_Product");
this.add(".c_portalResBreadcrumb_nav-01001");
this.add(".c_portalResMessage_form-01001005");
this.add(".c_portalResnav_main-01001007 .navLi");
setInterval(function() {
handle();
}, 400);
handle();
},
handle: handle
};
}
wd.title_ani = function() {
$(".wd-title-ani").each(function() {
if ($(this).find("span").length) {
$(this).find("p").each(function() {
var text = $(this).text();
$(this).find("span").last().html("
" + text.split("").join("") + "").find("span").addClass("wd-20210425095459");
});
} else {
var text = $(this).text();
$(this).html("
" + text.split("").join("") + "").find("span").addClass("wd-20210425095459");
}
});
}
wd.block_phone.block = function() {
wd.body.addClass("wd-shield-mo").append("
璇峰湪鐢佃剳涓婃煡鐪婞/div>");
}
wd.block_links.block = function() {
$("a").attr("href", "javascript:;");
}
$(function() {
wd.body = $("body");
if (isFrontEnv()) {
wd.common();
} else {
wd.body.addClass("make");
}
});