").addClass('wd-20210908004139');
words2.append("
姹夊攼寤鸿鑷?013骞存垚绔嬭嚦浠婏紝濮嬬粓绉夋寔\"浠ュ搧璐ㄦ眰鐢熷瓨锛屼互璇氫俊姹傚彂灞曪紝浠ュ競鍦轰负瀵煎悜锛屼互瀹㈡埛涓轰腑蹇僜"鐨勫熀鏈悊蹇碉紝鍔姏鎵撻€犱竴涓泦鍒涙柊绮剧銆佸伐鍖犵簿绁炰负涓€浣撶殑涓浗鐭ュ悕浼佷笟銆侟/p>");
$(this).append(words).append(words2);
});
$("#c_portalResProduct_list-16310615574759353 .wd-20210908095542").each(function() {
let a = $(this);
a.find(".wd-item").addClass("swiper-slide").wrapAll("
");
a.find(".wd-prev,.wd-next").append('
');
let swiper = new Swiper("#c_portalResProduct_list-16310615574759353 .swiper-container",{
slidesPerView: 'auto',
loop: true
});
var auto = {
timer: null,
duration: 4000,
start: function() {
this.timer = setInterval(function() {
swiper.slideNext(1000);
}, this.duration);
},
stop: function() {
clearInterval(this.timer);
}
}
auto.start();
a.hover(function() {
auto.stop();
}, function() {
auto.start();
});
a.find(".wd-prev").click(function() {
swiper.slidePrev();
});
a.find(".wd-next").click(function() {
swiper.slideNext();
});
});
$("#c_portalResProduct_list-16310613804048579 .wd-20210908091554").each(function() {
var content = $(this);
content.addClass("wd-overflow-hidden");
content.find(".wd-item").wrapAll("
");
var ul = content.find(".wd-scroll-container");
var wrapper = content.find(".wd-scroll-wrapper");
var li = ul.children().children();
var speed = 1;
var left = 0;
ul.children().append(li.clone());
ul.children().append(li.clone());
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);
content.hover(function() {
cancelAnimationFrame(timer);
}, function() {
timer = requestAnimationFrame(run);
});
});
setTimeout(function() {
wd.body.addClass("wd-show");
}, 300);
} else {
if (!wd.block_links.sign) {
wd.block_phone.sign && wd.block_phone.block();
wd.block_links.sign && wd.block_links.block();
wd.body.addClass("wd-sub");
wd.nav();
if (wd.is_scroll_ani) {
var _sbsa = wd.scroll_animation();
_sbsa.add(".subpage_ad .ad-tit, .subpage_ad .ad-line, .subpage_ad .ad-sum");
_sbsa.add(".wd-20210803180644");
_sbsa.add("div[id*='_category-']");
_sbsa.add("#c_portalResProduct_list-15586522526565849 .pro ul li");
_sbsa.add("#c_portalResProduct_list-15992013195484847 .PhotoList_k1 li");
_sbsa.add("#w_grid-1630545134456");
_sbsa.add("#w_grid-1630572989485");
_sbsa.add("#c_portalResProduct_list-15687684271323675 .proLi");
_sbsa.add("#c_portalResNews_list-16306005336765937 .list");
_sbsa.add("#c_portalResNews_list-16287497608888469");
_sbsa.add("#c_portalResNews_list-16287497608888469 .new-list");
_sbsa.add($("#c_portalResEmploy_detail-16306024599804362 .contentTop").children());
_sbsa.add("#c_portalResEmploy_detail-16306024599804362 .contentMidle");
_sbsa.add("#content_box-1558600138268-0");
_sbsa.add("#w_grid-1589350507167");
_sbsa.add("#w_grid-1630485395054 > div > .p_gridbox");
_sbsa.add("#w_grid-1630485395062 > div > .p_gridbox");
_sbsa.add("#w_grid-1630485395072 > div > .p_gridbox");
_sbsa.add("#content_box-1598083861428-0");
_sbsa.add("#content_box-1598083861428-1");
_sbsa.add("#w_grid-1630479629234");
_sbsa.add("#w_grid-1630479512678");
_sbsa.add("#content_box-1631677114153-1 > div");
_sbsa.add(".c_portalResProduct_list-01001002 .PhotoList_k1 li");
_sbsa.add(".wd-sub-cate a");
_sbsa.add("#w_grid-1631677114148");
_sbsa.add($("#w_grid-1631673872747 svg").parent());
_sbsa.add("#w_grid-1631674911638");
_sbsa.add("#w_grid-1631673872747");
_sbsa.add(".p_OccupyBox");
_sbsa.add("#c_portalResProduct_list-15737116786868602 .proLi");
_sbsa.init();
}
wd.sub(wd.body);
}
}
}
wd.sub = function() {
$(".wd-20220802155237-2").each(function() {
if($(window).width() < 768) {
return;
}
$(this).html("
" + $(this).text().split("").join("") + "");
$(this).children().wrap("
").each(function() {
$(this).clone().insertAfter(this);
}).parent().parent().parent().hover(function() {
$(this).find(".wd-oh").each(function(i) {
let a = $(this).find("span");
gsap.to(a.eq(0), {top:"-100%",opacity:0,delay:0.01*i});
gsap.to(a.eq(1), {top:"0%",opacity:1,delay:0.01*i+0.01});
});
}, function() {
$(this).find(".wd-oh").each(function(i) {
let a = $(this).find("span");
gsap.killTweensOf(a.eq(0)).to(a.eq(0), {top:0,opacity:1});
gsap.killTweensOf(a.eq(1)).to(a.eq(1), {top:"100%", opacity:0});
});
});
});
$("#w_common_text-1631667115459 > div").each(function() {
wd.scroll_percent_animation.call($(this).get(0), function(a, b) {
$(a).css("transform", "translateX("+-(1-b)*wd.wh()*0.3+"px)");
});
});
$(".wd-sub-cate").each(function() {
$(".wd-sub-cate a[href='"+location.pathname+"']").addClass('wd-current');
});
$("#c_portalResProduct_list-15737116786868602 .proLi").click(function() {
location.href = $(this).find("a").attr("href");
});
$("#c_portalResProduct_detail-15895233739681064").each(function() {
let index = 0;
let timer = setInterval(()=> {
$(this).find("img[lazy-src]").each(function() {
$(this).attr("src", $(this).attr("lazy-src")).removeAttr("lazy-src");
});
index++;
if(index > 1000) {
clearInterval(timer);
}
}, 10);
});
$(".c_portalResBreadcrumb_nav-01001 .p_breadcrumbList").prepend('
');
$("#w_common_text-1630479748826,#w_common_text-1631087497500,#w_common_text-1630485309489,#w_common_text-1630486444110,#w_common_text-1631091606317,#w_common_text-1630544205898,#w_common_text-1630601544374,#w_common_text-1630601544374,#w_common_text-1630601926220,#w_common_text-1630544357084").addClass("wd-title-animation").each(function() {
$(this).find("span").last().addClass("wd-wrapper").each(function() {
let text = $(this).text();
$(this).html("
" + text.split("").join("") + "");
});
});
$("#w_common_text-1587700749293").addClass("wd-sub-title-ch");
$("#w_common_text-1630544357084").addClass("wd-sub-title-en");
$("#w_common_text-1630572561322 p").prepend('
');
$("#w_grid-1630563566456 > .w_grid > .p_gridbox:nth-child(1)").each(function() {
$(this).children().append('
');
});
$("#w_common_text-1630545098715").find("p").prepend('
');
$("#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);
$(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/wd_logo_1.png").attr("alt", "logo").insertAfter($(this));
});
wd.mo(()=>{
$(".iphone-fix > button").first().click(()=>{
$(".iphone-position").addClass("iphone-left");
}
);
$(".iphone-icon").click(()=>{
$(".iphone-position").removeClass("iphone-left");
}
);
}
);
setTimeout(function() {
wd.body.addClass("wd-show");
}, 300);
}
wd.mo = function(callback) {
if ($(window).width() <= 768) {
callback();
}
}
wd.ls = (function() {
return {
set: function(a, b) {
localStorage.setItem(a, b);
},
remove: function(a) {
localStorage.removeItem(a);
},
get: function(a) {
return localStorage.getItem(a);
},
is: function(callback) {
if (this.get("wd")) {
callback();
}
},
auto: function() {
this.set("wd", 1);
}
};
})();
wd.wh = function() {
return $(window).height();
}
wd.$ = function() {
return document.querySelector(arguments[0]);
}
wd.$$ = function() {
return document.querySelectorAll(arguments[0]);
}
wd.scroll_percent_animation = function(callback) {
let a = this, b, c;
if(!a && !a.length) {
return;
}
function handle() {
b = a.getBoundingClientRect();
if(!b) {
return;
}
c = {
top:b.top,
bottom:b.bottom
};
if(c.top < wd.wh() && (c.bottom > 0 && c.bottom < wd.wh())) {
callback(a, c.top / wd.wh());
}
}
$(window).scroll(function() {
handle();
});
}
wd.cursor = function() {
if ($(window).width() < 768) {
return;
}
var cursor = $("
").addClass("wd-cursor").append("
鏌ョ湅璇︽儏
").append("
");
wd.body.append(cursor);
var _cursor = cursor.get(0);
wd.body.get(0).addEventListener("mousemove", function(e) {
_cursor.style.transform = "translate(" + e.clientX + "px, " + e.clientY + "px)";
});
$("#c_portalResProduct_list-16310615574759353").addClass("wd-cursor-w").attr("wd-cursor-type", "wd-show-detail");
$("#c_portalResPublic_codeContainer-16310641420065873").addClass("wd-cursor-w").attr("wd-cursor-type", "wd-show-detail");
$("#c_portalResNews_list-16310618203137256").addClass("wd-cursor-w").attr("wd-cursor-type", "wd-show-img");
let type;
$(".wd-cursor-w").hover(function(e) {
cursor.addClass("wd-show");
type = $(this).attr("wd-cursor-type");
cursor.addClass(type);
}, function() {
cursor.removeClass("wd-show");
let type = $(this).attr("wd-cursor-type");
if (type) {
cursor.removeClass(type);
}
});
let img;
$(".wd-cursor-w").mousemove(function(e) {
if (type) {
if (type == "wd-show-img") {
let src = $(e.target).attr("data-img-src");
if (!src) {
src = $(e.target).closest("[data-img-src]").attr("data-img-src");
}
if (src) {
img = cursor.find(".wd-img").find("img");
if (!img.length) {
img = $("
![]()
").appendTo(cursor.find(".wd-img"));
}
img.attr("src", src);
}
}
}
});
}
;
wd.common = function() {
$("a, img").attr("draggable", false);
$(".nav-sub").parent().hover(function() {
$(this).find(".nav-sub").stop(true,false).slideDown();
}, function() {
$(this).find(".nav-sub").stop(true,false).slideUp();
});
$("nav .f-cb, .header2 .sub-menu > ul").each(function() {
$(this).children().last().each(function() {
let a = $(this).clone();
a.clone().insertAfter(this).find("a").each(function() {
$(this).text("杩愯緭浼佷笟娉ㄥ唽").attr("href", "http://wuliu.scdandan.com/game/mission/handlet");
}).end().each(function() {
$(this).html($(this).find("a").get(0).outerHTML);
});
a.clone().insertAfter(this).find("a").each(function() {
$(this).text("閲囪喘浼佷笟娉ㄥ唽").attr("href", "http://wuliu.scdandan.com/game/mission/handle");
}).end().each(function() {
$(this).html($(this).find("a").get(0).outerHTML);
});
});
});
wd.cursor();
wd.mo(()=>{
$(".wd-nav").each(function() {
$(this).append('
');
wd.delay(500, ()=>{
$(this).find(".wd-20210903170918").addClass("wd-scrolled").click(function() {
$(".wd-nav nav").each(function() {
$(this).append('
');
}).addClass("wd-show").find(".wd-close").click(function() {
$(this).parent().removeClass("wd-show");
});
});
}
);
});
}
);
wd.ls.is(function() {
$(".w_grid-000, .w_grid-001, .w_grid-002, .w_grid-003").find(" > div").each(function() {
$(this).attr("data-wd-selector", "#" + $(this).parent().attr("id") + " > .w_grid");
$(this).find(" > .p_gridbox").each(function(i) {
$(this).attr("data-wd-selector", "#" + $(this).parent().parent().attr("id") + " > .w_grid > " + ".p_gridbox:nth-child(" + (i + 1) + ")");
$(this).find("> .p_gridCell").each(function(j) {
$(this).attr("data-wd-selector", "#" + $(this).parent().parent().parent().attr("id") + " > .w_grid > " + ".p_gridbox:nth-child(" + (i + 1) + ") > .p_gridCell:nth-child(" + (j + 1) + ")");
});
});
});
});
wd.index();
wd.right_float();
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 = 'auto';
}
wd.ls.is(function() {
$("img").each(function() {
console.log($(this).attr("alt") || "");
console.log($(this).get(0));
console.log("");
});
});
$("a,img").removeAttr("title");
$("#c_portalResnav_main-16039823873222163 .header .navbar_nav li a").removeAttr("target");
$("#c_portalResnav_main-16039823873222163 .m_nav .ul li a").removeAttr("target");
$("#c_portalResnav_main-15876886109640259").wrap("");
wd.body.addClass("wd");
}
wd.nav = function() {
$(this.nav_selector).eq($("[dni]").first().map((i,a) => $(a).attr("dni") - 1)[0]).addClass("wd-current");
$(".header2 .main-wrap .nav-btn").click(function() {
$(".header2 .sub-menu").addClass("wd-show");
}).parent().next().find("svg").click(function() {
$(".header2 .sub-menu").removeClass("wd-show");
});
$("#content_box-1631677279332-1").addClass("wd-footer-nav-container").each(function() {
$(".subnav2").slice(0,-2).clone().wrapAll($("
").addClass("wd-20221011215316")).parent().appendTo(this);
});
}
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: '
',
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 top = $("
").addClass("wd-item top").append('
' + wd.svg.back_top + '');
right.append(email).append(phone).append(message).append(top);
wd.body.append(right);
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 - 100)) {
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");
}
});
}
Object.assign(wd, {
web_site_name: "鍥涘窛鐪佷腹涓归儷鍘胯眴鐡i泦鍥㈣偂浠芥湁闄愬叕鍙?,
index_page_id: "c_portalResEbizads_banner-16303358479688644",
is_scroll_ani: true,
is_title_ani: false,
wc: "wd-current",
is_history_scroll_restoration: true,
nav_selector: "nav .f-cb a.home-dec",
right_float_config: {
tel: "028-87868160",
email: "dandan@scdandan.com",
message: "/message.html"
},
block_phone: {
sign: false
},
block_links: {
sign: false
}
});
wd.block_phone.block = function() {
wd.body.addClass("wd-shield-mo").append("
璇峰厛纭鐢佃剳绔鏋迭/h2>
鎵嬫満绔€傞厤鍦ㄧ數鑴戠妗嗘灦纭畾鍚?-3涓伐浣滄棩瀹屾垚
").children().last().children().prepend('
');
}
wd.block_links.block = function() {
$("a").attr("href", "javascript:;");
}
$(function() {
wd.body = $("body");
wd.index_cate_svg = [];
wd.index_cate_svg.push('
');
wd.index_cate_svg.push('
');
wd.index_cate_svg.push('
');
wd.index_cate_svg.push('
');
wd.index_cate_svg.push('
');
wd.index_cate_svg.push('
');
wd.index_cate_svg.push('
');
wd.index_cate_svg.push('
');
wd.index_cate_svg.push('
');
wd.index_cate_svg.push('
');
if (isFrontEnv()) {
wd.common();
} else {
wd.body.addClass("wd-make");
setInterval(function() {
$(".w_fimg-000 img").each(function() {
var alt = $(this).attr("alt");
if (alt == wd.web_site_name) {
return;
}
if (alt == "杩欐槸鎻忚堪淇℃伅" || alt.indexOf("鍏徃") != -1 || alt.indexOf("闆嗗洟") != -1) {
$(this).attr("title", wd.web_site_name).attr("alt", wd.web_site_name);
}
});
}, 1000 / 60);
}
});