返回顶部');
right.append(email).append(phone).append(top);
wd.body.append(right);
right.find(".wd-item").last().click(function () {
$("html,body").animate({
scrolltop: 0
}, 1000);
});
wd.st(() => {
right.addclass("wd-show");
}, 500);
};
wd.break_line = {
init: function () {
// wd.break_line.init().start();
return this;
},
start: function () {
$("[wa-break-line]").each(function () {
$(this).html("
");
});
return this;
}
};
wd.scroll = () => {
$("[wa-scroll]").each(function() {
let config = $(this).attr("wa-scroll").split(",");
let selector = config[0];
let speed = +config[1] || 1;
let mouse_stop = +config[2] || 0;
let content = $(this).find(selector);
content.wrapall("
");
var ul = $(this).find(".wd-scroll-container");
var wrapper = $(this).find(".wd-scroll-wrapper");
let left = 0;
content.clone().appendto(content.parent());
content.clone().appendto(content.parent());
var width = $(window).width();
ul = ul.get(0);
var timer;
function run() {
width = wrapper.width() / 3;
if (left > width) {
left = 0
}
left += speed;
ul.style.left = -left + "px";
timer = requestanimationframe(run);
}
timer = requestanimationframe(run);
if(mouse_stop) {
content.parent().hover(function() {
cancelanimationframe(timer);
}, function() {
timer = requestanimationframe(run);
});
}
});
};
wd.swiper = {
init: function () {
return this;
},
start: function () {
$("[wa-swiper]").each(function () {
let _this = $(this);
let a = $(this).attr("wa-swiper");
let aa = wd.string_to_object(a);
let config = {
slidesperview: 3,
spacebetween: 30,
centeredslides: false,
loop: false
};
aa.view && (config.slidesperview = aa.view);
aa.center && (config.centeredslides = true);
aa.loop && (config.loop = true);
aa.between && (config.spacebetween = aa.between);
aa.autoplay && (config.autoplay = {
delay: aa.autoplay,
disableoninteraction: false,
pauseonmouseenter: false
});
aa.mobile && (config.breakpoints = {
240: {
slidesperview: aa.mobile,
spacebetween: 0,
},
768: {
slidesperview: config.slidesperview,
spacebetween: config.spacebetween
}
});
$(this).css("display", "block").css("overflow", "hidden");
$(this).find(".p_loopitem").wrap("
").parent().parent().css("display", "block").end().wrapall('
');
if (aa.pagination) {
$(this).find(".swiper").append('');
config.pagination = {
el: _this.find(".swiper-pagination").get(0),
clickable: true
};
}
if (aa.navigation) {
$(this).find(".swiper").append('
');
config.navigation = {
nextel: _this.find('.swiper-button-next').get(0),
prevel: _this.find('.swiper-button-prev').get(0)
};
}
new swiper(_this.find(".swiper").get(0), config);
});
}
};
wd.no_data = {
init: function () {
$("head").append("");
return this;
},
start: function () {
$("[wa-no-data").each(function () {
$(this).find(".p_nodata").each(function () {
$(this).addclass("wd-20230603155427");
$(this).attr("wa-svg", "no-data#");
$(this).html(`
暂无数据!
`);
});
});
}
};
wd.highlight = {
init: function () {
return this;
},
start: function () {
$("[wa-highlight]").each(function () {
let s = $(this).attr("wa-highlight") || "a";
let class_name = "wd-current";
if (s.includes(",")) {
s = s.split(",");
class_name = s[1];
s = s[0];
}
$(this).find("a").each(function () {
if (location.href.includes(this.href)) {
let _this = this;
if (s == "a") {
$(this).addclass(class_name);
} else {
$(s).each(function () {
if (this.contains(_this)) {
$(this).addclass(class_name);
}
});
}
}
});
});
return;
}
};
wd.zj = {
init: function (a) {
this.is_start = a || false;
if (this.is_start) {
wd.body.ac("zj");
}
return this;
},
start: function (fn) {
if (this.is_start) {
fn();
}
return this;
}
}
wd.auto_detail_next_prev_none = {
init: function () {
return this;
},
start: function (text) {
requestanimationframe(function a() {
$(".s_title:contains(无)").not(".wd").each((a, b) => $(b).addclass("wd").each((c, d) => $(d).text().includes("无") ? $(d).html($(d).html().replace("无", text ? text : "none")) : ""));
requestanimationframe(a);
});
return this;
}
};
wd.empty_info = (list, method, content, direct) => {
$(list).each(function () {
if (!direct && $(this).text().trim()) {
return;
}
$(this)[b](c);
});
};
/*
wd.hash.init("#c_navigation_0061635239687823").add({
idea:"#c_static_001-16871446123170 .e_text-2",
job:"#c_recruit_list_010-1687147518232",
profile:"#c_static_376-1657007146205",
honor:"#c_static_001-1657009963682",
culture:"#c_static_001-16570170439390"
}).start();
*/
wd.hash = {
init: function (nav_id) {
let _this = this;
this.nav_id = nav_id || "";
this.hash_info = {};
this.prev_hash = "";
$("body").click(e => {
let href = $(e.target).attr("href") || $(e.target).closest("a").attr("href");
if (!_this.nav_id) {
console.error("hash nav error!");
return;
}
if (href && href.includes("#") && location.href.includes(href)) {
let dom = href.split("#")[1];
if (dom && _this.hash_info[dom]) {
e.preventdefault();
$("html").animate({
scrolltop: $(_this.hash_info[dom]).offset().top - (_this.nav_id ? $(_this.nav_id).height() : 0)
});
}
}
});
return this;
},
core: function () {
let _this = this;
let a = location.hash;
if (a && a != _this.prev_hash) {
_this.prev_hash = a;
let b = _this.hash_info[a.slice(1)];
if (b) {
$("html").animate({
scrolltop: $(b).offset().top - (_this.nav_id ? $(_this.nav_id).height() : 0)
});
}
}
return _this;
},
start: function () {
let _this = this;
requestanimationframe(function z() {
_this.core();
requestanimationframe(z);
});
return this;
},
add: function (info) {
this.hash_info = object.assign(this.hash_info, info);
this.core();
return this;
},
nav: function (nav_id) {
this.nav_id = nav_id;
return this;
}
};
wd.scroll_animation = (() => {
$("[wa--sa]").each(function () {
let a = $(this).attr("wa--sa");
if (a) {
$(a).each(function () {
$(this).attr("wa-sa", "");
});
} else {
$(".p_loopitem", this).each(function () {
$(this).attr("wa-sa", "");
});
}
});
$(".s_title, .s_summary, .s_img, .s_line, .s_link, .s_body, .s_button1, [class*='e_credible'], [class*='e_richtext'], [class*='e_provider'], [class*='e_text-'],.p_page ").attr("wa-sa", "");
let ani = () => {
let index = 0;
$("[wa-sa]:not('[wa-no-sa]'):not('[wa-sa-ani]')").each(function () {
let top = this.getboundingclientrect().top;
if (top < wd.height) {
index++;
$(this).attr("wa-sad", index);
}
});
$("[wa-sad]").eachh((a) => {
wd.st(() => {
a.removeattr("wa-sad");
a.removeattr("wa-sa");
a.attr("wa-sa-ani", "");
}, a.attr("wa-sad") * 50);
});
};
let timer;
$(window).scroll(function () {
cleartimeout(timer);
timer = settimeout(() => {
ani();
}, 200);
});
ani();
return (a) => {
$(a).attr("wa-sa", "");
ani();
};
})();
wd.scroll_animation1 = (() => {
let list = [];
$(".s_title, .s_summary, .s_img, .s_line, .s_link, .s_body, .s_button1, [class*='e_credible']").attr("wa-sa", "");
let ani = (() => {
let a = () => {
$("[wa-sa]:not('[wa-sad]')").each(function () {
let top = this.getboundingclientrect().top;
if (top < wd.height) {
$(this).attr("wa-sad", "");
list.push(this);
}
});
return a;
};
return a();
})();
$(window).scroll(() => ani());
ani();
setinterval(() => {
list.foreach((a, b) => {
wd.st(() => {
a.setattribute("wa-sa-ani", "");
a.removeattribute("wa-sa");
a.removeattribute("wa-sad");
}, b * 150);
list.splice(b, 1);
});
}, 300);
return (a) => {
$(a).attr("wa-sa", "");
ani();
};
})();
wd.forbidden_words = {
init: function () {
this.money_words = [];
this.money_words.push(["国家"]);
this.money_words.push(["完美"]);
this.money_words.push(["第一"]);
this.money_words.push(["引领"]);
this.money_words.push(["领先"]);
this.money_words.push(["优秀"]);
this.money_words.push(["最"]);
return this;
},
start: function () {
let _this = this;
let children = (a) => {
a.contents().each(function () {
if (this.nodetype == 3) {
let text = $(this).text().trim();
if (text) {
_this.money_words.foreach(c => {
if (text.includes(c)) {
this.textcontent = text.replace(new regexp(c[0], "g"), c.length > 1 ? c[1] : "");
}
});
}
} else {
children($(this));
}
});
};
$(".s_title, .s_summary, .s_link").eachh(a => {
children(a);
});
return _this;
},
add: function (...a) {
let _this = this;
if (a) {
_this.money_words.push([a]);
_this.start();
}
return _this;
}
};
wd.wd = (...z) => {
if (isfrontenv()) {
$(() => {
if (z.length == 1) {
z[0]();
return;
}
if (z.length == 2) {
$(z[0]).each(function () {
z[1]($(this));
});
return;
}
if (z.length == 3) {
z[2]($(z[0]));
}
});
}
};
wd.pc = (a) => {
if (innerwidth > 768) {
a();
}
};
wd.mo = (a) => {
if (innerwidth > 768) {
return;
}
a();
};
wd.svg = {
init: function () {
return this;
},
start: function () {
setinterval(() => {
$("[wa-svg]").each(function () {
let svg = $(this).attr("wa-svg") || "";
let wrapper = $(this).attr("wa-svg-wrapper");
$(this).removeattr("wa-svg wa-svg-wrapper");
let svg_name = svg.replace("#", "");
let svg_wrapper = $(".wa-svgs ." + svg_name);
$(this)[svg.indexof("#") > -1 ? "append" : "prepend"](svg_wrapper.find("svg").clone().each((b, a) => {
wrapper && $(a).wrap($("
").addclass(wrapper));
})[wrapper ? "parent" : "first"]());
});
}, 60);
return this;
},
svg: function (selector, name, wrapper) {
let _this = this;
$(selector).each((b, a) => {
let name = new regexp("\+", "ig").test(name) ? name.slice(0, -1) : name.split(",")[b];
$(a).attr("wa-svg", name[b]);
if (wrapper) {
$(a).attr("wa-svg-wrapper", wrapper);
}
});
}
};
wd.cursor = {
init: function () {
this.cursor = wd.d("wd-cursor").get(0);
this.x = 0;
this.y = 0;
wd.body.appendto("body");
},
start: function () {
let _this = this;
document.addeventlistener("mousemove", e => {
_this.x = e.clientx;
_this.y = e.clienty;
wd.ani.to(_this.cursor, _this.x);
wd.ani.to(_this.cursor, _this.y);
});
}
};
/*
$("#c_static_001-1678291819945 .e_image-11").each((a,b) => wd.mouse_img($(b), "img"));
*/
wd.mouse_img = (a, children) => {
a.addclass("wd-mouse-img-effect");
if (children) {
a.find("img").wrap("
");
} else {
a.children().wrapall("
");
}
let wc = a.find(".wc");
let b = a.offset().left;
let c = a.width();
let ratio, in_timer;
a.hover(function () {
c = a.width();
in_timer = settimeout(() => {
a.attr("in", "in");
}, 500);
a.mousemove(function (e) {
if (!a.attr("in")) {
return;
}
ratio = ((e.screenx - b) - c / 2) / c;
requestanimationframe(() => {
wc.css("transform", "translatex(" + ratio * 10 + "px) skew(" + ratio * 0.1 + "deg, " + ratio * 0.1 + "deg)");
});
});
}, function () {
cleartimeout(in_timer);
requestanimationframe(() => {
wc.css("transform", "none").removeattr("in");
});
});
};
/*
.w20230328211553 {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
backdrop-filter: blur(3px);
z-index: -1;
}
wa-append="#c_static_001-1679991497989,bg,0.9,rgba(255, 255, 255, 0.9),before"
*/
wd.wa_append = {
init: function () {
return this;
},
start: function () {
$("[wa-append]").each(function () {
let a = $(this).attr("wa-append");
let append = "prepend";
if (a.includes("after")) {
append = "append";
}
let rgba = a.match(/rgba\(\d+,\s*\d+,\s*\d+,\s*(0\.\d+|1)\)/g);
a = a.replace(rgba, "");
a = a.replace("after", "").split(",");
let target = a[0];
let class_name = a[1] || "bg";
let opacity = a[2] || 1;
let color = a[3] || "rgba(0,0,0,0.4)";
if (rgba) color = rgba[0];
let bg = $("
")[append + "to"]($(target).css("z-index", 10));
bg.addclass(class_name).css("opacity", opacity).css("background-color", color).addclass("w20230328211553");
});
return this;
}
}
/*
.wd-sub-banner-container {
position: relative;
text-align: center;
margin-top: 80px
}
[wa-sub-banner] img {
height: 40vh !important;
max-height: 500px !important;
width: 100% !important;
object-fit: cover !important;
filter: brightness(0.7) saturate(1.5)
}
.wd-sub-banner-container.detail [wa-sub-img-banner] img {
max-height: 300px !important
}
.wd-sub-banner-container .w {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
width: 90%;
max-width: 800px;
text-transform: uppercase
}
.wd-sub-banner-container .w1 {
font-size: 36px;
font-weight: bolder
}
.wd-sub-banner-container .w2 {
letter-spacing: 5px;
font-size: 14px
}
.wd-sub-banner-container .w3 {
font-size: 18px;
margin-top: 1em
}
.wd-sub-banner-container .w span {
opacity: 0;
display: inline-block
}
.wd-sub-banner-container.ws .w span {
animation: flipiny 2s 0.5s both;
opacity: 1;
min-width: 0.5em
}
.a .wd-sub-banner-container .w3 {
display:none
}
*/
wd.sub_banner = {
init: function () {
let container = $("[wa-sub-banner]").parent().addclass("wsb-container").each(function () {
$(this).find(".s_title").removeattr("class").wrapall("
").each(function (i) {
$(this).addclass("w" + (i + 1)).html($(this).text().trim().split("").reduce((a, b) => a + "
" + b + "", "")).find("span").each(function (ii) {
if (math.random() > 0.5) {
$(this).css("animation-delay", 0.5 + i * 0.1 + math.random() * 0.3 + "s");
}
});
});
$($(this).find("[wa-sub-img-banner]").attr("wa-sub-img-banner")).each((a, b) => $(this).find(".w").css("margin-top", $(b).height() / 2));
});
container.each(function () {
if ($(this).find(".detail").length) {
$(this).children(".w").addclass("detail");
}
});
this.container = container;
},
start: function () {
settimeout(() => {
this.container.addclass("ws");
}, 10 ** 3);
}
};
wd.sub_banner = {
init: function () {
let container = $("[wa-sub-img-banner]").parent().addclass("wsb-container").each(function () {
$(this).find(".s_title").removeattr("class").wrapall("
").each(function (i) {
$(this).addclass("w" + (i + 1)).html($(this).text().trim().split("").reduce((a, b) => a + "
" + b + "", "")).find("span").each(function (ii) {
if (math.random() > 0.5) {
$(this).css("animation-delay", 0.5 + i * 0.1 + math.random() * 0.3 + "s");
}
});
});
$($(this).find("[wa-sub-img-banner]").attr("wa-sub-img-banner")).each((a, b) => $(this).find(".w").css("margin-top", $(b).height() / 2));
});
container.each(function () {
if ($(this).find(".detail").length) {
$(this).children(".w").addclass("detail");
}
});
this.container = container;
return this;
},
start: function () {
settimeout(() => {
this.container.addclass("ws");
}, 10 ** 3);
}
};
wd.letter_effect_20230914013209 = (() => {
['20230914015135']["\x66\x69\x6c\x74\x65\x72"]["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"](((['20230914015135']+[])["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"]['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65']['\x61\x70\x70\x6c\x79'](null,"108j101f116p32j101v102r102a101l99d116o32x61m32a102k117a110p99h116m105s111u110b40r41s32j123i10g32s32u32s32h108j101o116w32v97b32q61x32o48f59o10v32n32g32s32v108d101q116b32k115w101u108t102e32h61x32p116g104k105g115x59d10j32l32z32j32i108p101n116b32b116v97a114j103n101o116i32k61p32e36u40r116i104m105l115i41x46r97e116x116j114g40d34z119s97z45k108p101b116m116b101q114s115g34w41x63p36u40e36d40d116n104p105m115e41g46b97d116f116b114d40d34e119m97p45b108s101x116p116k101m114s115j34c41r41h46z102v105o108l116b101y114n40b102d117t110x99c116h105h111y110x40l41v32s123o10p32y32f32f32x32n32p114h101k116k117f114x110u32q116r104j105n115x46o99a111h110k116i97t105c110s115g40f115o101d108v102w41h59i10x32l32x32f32z125b41r58w36b40q116m104l105e115i41y59r10j32q32y32d32e116f97v114z103v101e116g46q109k111q117b115u101r101w110y116g101u114c40a40z41c32w61o62g32n123v10z32g32h32x32a32j32y105p102z40j33p97a41s32w123y10e32u32y32d32o32d32z32g32e97l32z61m32h49x59c10s32i32w32x32r32o32g32b32n108i101t116i32t116s101i120z116u32l61n32v36w40x116v104s105f115k41w46o116g101h120o116c40x41d46u116i114n105a109f40v41s59d10t32c32v32e32f32l32i32o32r36f40c116n104g105q115a41r46n104c101h105j103l104c116x40a36w40u116l104d105f115q41a46i104g101t105g103t104u116k40t41w41r59l10r32p32i32z32j32a32y32c32c36e40o116x104j105u115e41w46n116k101x120o116v40u34z34x41y59y10y32r32m32y32k32f32o32w32z108c101s116k32h114r101o110y100s101t114j32n61l32j40c98l41r32b61a62q32f123w10j32p32h32c32o32m32v32u32f32e32q108o101h116e32b105h32z61k32s48q44g32a109f32r61p32p98c46m108l101a110u103q116e104h59p10c32c32g32e32s32q32n32m32x32c32h108n101n116u32c114r32s61b32j40x41v32u61l62u32v123r10q32i32c32m32z32e32t32q32s32v32j32d32k32d32x36k40q116t104y105o115r41h46h116a101y120y116o40f98l91x105s93n41u59l10z32u32n32t32m32n32o32w32w32y32h32r32g32d32d105h43y43v59j10i32k32s32e32v32z32l32h32t32i32g32t32k32z32i105d102u40k105a32v62d32t109c32i45r32b49i41g32d123m10q32a32t32s32h32j32q32s32h32b32d32y32w32a32e32v32m97u32x61d32s48m59v10x32h32r32i32l32k32k32x32u32r32a32g32v32l32x32j32e114k101l116j117v114m110q59w10f32k32e32t32l32x32p32v32e32q32i32z32d32r32x125y10u32r32a32u32b32n32b32s32s32i32i32v32b32d32y115f101y116r84d105d109n101o111r117n116b40e40k41s32s61c62f32s123w10s32o32k32d32z32j32h32x32g32b32r32q32h32z32c32t32d114q40y41l59m10w32j32g32u32p32w32y32m32q32q32a32m32p32q32o125a44g32z49z48o48p32c47e32f116e101x120f116f46y108r101n110q103w116e104x41z59d10n32j32l32b32l32i32g32x32y32x32v125e10z32b32n32m32k32n32p32r32k32s32b114x40t41o59z10c32p32t32t32p32t32e32k32n125j59b10b32k32i32d32a32m32s32t32s108j101y116d32o119g32l61z32v40k41d32z61n62g32t123c10b32o32r32i32t32i32i32x32j32t32c108s101l116v32g115o32e61m32f91g93w59k10e32e32n32k32w32w32b32l32y32z32y108z101n116g32q115g115p32p61y32s91o93v59b10c32d32d32y32q32j32d32o32w32d32x116t101e120l116r46p115x112o108m105m116e40f34s34k41v46r102u111j114d69e97b99o104r40b40f97e44t98f41s32s61p62y32g123h10i32u32e32e32k32z32e32z32k32u32z32s32a108s101h116y32p115n117p98e115u116v114p105l110w103l32m61a32l116t101y120w116x46j115o108n105c99z101a40n48z44r98e43v49m41i59h10u32w32a32z32h32l32b32a32p32a32l32s32g115w46t112t117q115s104k40y115s117w98t115c116e114w105o110b103m41r59l10d32i32r32g32l32d32m32v32t32a32z125s41d59t10y32h32c32h32g32u32i32x32v32c32t115i115l46h112e117t115x104q40r34i34o41v59u10a32g32z32i32n32k32r32b32t32i32t115z115l46l112h117z115k104c40y34y34h41o59p10a32q32a32u32q32b32t32r32c32y32f115p46p102s111u114n69y97s99r104w40t40p97w44i98j41j32c61a62s32i123j10b32p32v32c32s32n32t32t32r32m32p32c32q97g46o115p112p108e105u116n40o34t34v41v46a102t111d114p69c97w99c104z40n40n99j44f100v41y32x61s62q32e123x10a32v32w32w32c32y32g32f32i32h32d32k32x32k32l65l114v114o97l121g40q115z46f108j101v110w103z116d104t41t46b102u105h108u108r40p34e34w41m46v102j111b114r69q97t99x104i40r40o101d44y102k41q32e61t62i32r123q10d32k32o32k32n32o32e32a32a32e32d32b32y32w32n32s32g108t101b116z32r116l32q61x32e99q46o115n112r108y105b116m40u34d34o41x91q102c93g59z10s32r32t32w32p32x32g32l32n32b32e32l32o32s32z32z32a105m102i40c33g116k41q32s114n101m116s117a114w110x59g10e32z32e32j32d32h32y32i32q32l32d32n32w32x32o32b32p115j115k46q112p117x115h104y40c97e46u115v108i105m99m101j40a48c44t45s49i41x32w43h32n116e41c59i10d32u32t32m32s32f32u32w32z32a32o32f32f32k32g125w41z59b10m32t32b32v32d32y32m32a32v32h32a32j32m125n41x59x10c32v32u32o32e32s32n32c32h32t32y125i41v59f10t32p32a32f32a32u32u32t32n32q32o114j101g110o100n101u114k40q115n115x41d59b32v32v32l32c32z32c32q32a32r32l10x32u32l32q32k32m32r32l32o125n59i10c32h32e32p32a32r32g32f32c119t40a41x59x10b32p32m32a32g32w32f125h10f32w32u32k32l125f41v59u10c32b32u125c59x10p32q32p115u101r116x73a110m116n101l114t118y97f108d40g40v41j32d61l62t32s123l10m32z32i32q32f36v40s34h91h119e97j45p108v101r116g116c101j114l115y93u34n41a46t110x111q116p40c34z46s119g100i45s105b110d34t41k46d97h100y100r67n108x97l115o115t40k34z119a100n45d105q110o34c41a46f101y97o99j104d40e102a117o110h99x116k105b111l110k40e41b32w123f10l32q32a32p32n32s32u101p102y102o101j99p116y46m99w97l108f108i40v116t104q105w115m41r59e10q32c32n32h32u125j41e59c10y32d32o125y44s32j53u48g48p41b59"['\x73\x70\x6c\x69\x74'](/[a-za-z]{1,}/))))('20230914015135');
})();