var wd = { web_site_name: "kaiyun 开云", index_page_id: "c_portalResEbizads_banner-16039869391533675", is_scroll_ani: false, is_title_ani: false, is_history_scroll_restoration: false, nav_selector: "#c_portalResnav_main-16039823873222163 .header .navbar_nav li", right_float_config: { tel: "0831-8261777", email: "ybsxxcytz@xxcytz.com", message: "/intro/7.html" }, block_phone: { sign: false }, block_links: { sign: false } }; wd.index = function() { $(".navbar_nav").each(function() { $(this).find(".dropdown").hover(function() { $(this).find(".dropdown_menu").each(function() { $(this).stop(true, false).slideDown(); }); }, function() { $(this).find(".dropdown_menu").each(function() { $(this).stop(true, false).slideUp(); }); }); }); $("#w_tabswitchbox-1632298047189").each(function() { $(this).find(".p_relationbtntab").first().click(function() { window.open("https://www.sc.gov.cn/10462/c109616/comlist_15.shtml", "_blank"); }); }); $("#c_portalResNews_list-16620068684548668").each(function() { let list = $("#c_portalResNews_list-16620068684548668 .borderB_default"); $.ajax({ url: "https://www.yibin.gov.cn/qt_297/szf_6723.json", dataType: "jsonp", jsonp: "szfxx", jsonpCallback: "szfxx", success: function(data) { var data = data.datas; $.each(data, function(i, json) { if (i == 7) { return false; } var date = json.docreltime; list.eq(i).each(function() { $(this).find(".news-title").text(json.title); $(this).find(".news-date").text(date); $(this).find("a").attr("href", json.url).attr("target", "_blank"); $(this).addClass("wd-show"); }); }) }, error: function() { console.log("获取失败"); } }); }); $(".wd-tel").each(function() { $(this).find("a").prepend(''); }); if (wd.is_home()) { wd.block_phone.sign && wd.block_phone.block(); wd.block_links.sign && wd.block_links.block(); wd.body.addClass("index"); $(".wd-20210915010147").each(function() { let a = $(this); a.find(".wd-item").addClass("swiper-slide").wrapAll("
"); var swiper = new Swiper(".wd-20210915010147 .swiper-container", { autoplay: { delay: 2500, disableOnInteraction: false, }, navigation: { nextEl: ".wd-20210915005723 .wd-next", prevEl: ".wd-20210915005723 .wd-prev", }, }); }); $(".wd-20210915012940").each(function() { let a = $(this); a.find(".wd-item").addClass("swiper-slide").wrapAll("
"); var swiper = new Swiper(".wd-20210915012940 .swiper-container", { slidesPerView:5, autoplay: { delay: 2500, disableOnInteraction: false, }, navigation: { nextEl: ".wd-20210915014920 .wd-next", prevEl: ".wd-20210915014920 .wd-prev", }, breakpoints:{ 320:{ slidesPerView:"auto" }, 768:{ slidesPerView:5 } } }); }); $("#c_portalResnav_main-16039823873222163 .header .navbar_nav li").first().addClass("wd-current"); if (wd.is_scroll_ani) { var _sa = wd.scroll_ani(); _sa.add(".subpage_ad .ad-tit, .subpage_ad .ad-line, .subpage_ad .ad-sum"); _sa.add(".wd-20210803180644"); _sa.init(); } $("#w_grid-1603987142169, #w_grid-1628186911577").find(">div > div >div").each(function(i) { $(this).find("div[id*='w_common_text-']").first().addClass("wd-20210806104658").prepend("
" + wd.index_cate_svg[i] + "
").end().css("cursor", "pointer").click(function() { location.href = $(this).find("a").attr("href"); }); }); wd.mo(()=> { $(".screen").appendTo($("
").appendTo($("body"))).each(function(i) { $(this).children().appendTo($("
").insertAfter($(this))); }); $("#w_grid-1592451440326").appendTo(wd.body); $("#w_common_text-1592451440391").appendTo(wd.body); }); 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_ani(); _sa.add(".subpage_ad .ad-tit, .subpage_ad .ad-line, .subpage_ad .ad-sum"); _sa.add(".wd-20210803180644"); _sa.init(); } $("#c_portalResFile_relatedlist-16040330140281367").each(function() { if($("#c_portalResFile_relatedlist-16040330140281367 .p_Product").length) { $(this).addClass("wd-show"); } }); $("#c_portalResNews_detail-1604039186741 p").each(function() { if(!$(this).find("img").length || !$(this).find("table").length) { return; } $(this).text($.trim($(this).text())).css("text-indent", "2em'"); }); $("#c_portalResEbizads_banner-1632392835493").each(function() { new Swiper('#c_portalResEbizads_banner-1632392835493 .swiper-container', { autoplay: { delay: 2000, disableOnInteraction: false, }, navigation: { prevButton: '#c_portalResEbizads_banner-1632392835493 .swiper-button-prev', nextButton: '#c_portalResEbizads_banner-1632392835493 .swiper-button-next', }, loop: true }); }); let w20210924152751 = $(".wd-20210923183240").first().addClass("wd-show").end(); $("#w_tabswitchbox-1632392835333 > .layout_1 > div > .e_link-000").hover(function() { w20210924152751.removeClass("wd-show").eq($(this).index()/2).addClass("wd-show"); }); $(".wd-20210923190724 .wd-item").each(function(i) { $(this).prepend($("#w_grid-1632395412504, #w_grid-1632395434716").find(".w_fimg-000 img").first()); }).eq(5).addClass("wd-current").end().each(function() { $(this).find("a, p").wrapAll("
"); }).click(function() { location.href = $(this).find("a").attr("href"); }).each(function() { $(this).find("a").attr("href", "/core-business.html?" + $(this).index()); }); $(".wd-20210923190724").each(function() { let a = $(this); a.find(".wd-item").addClass("swiper-slide").wrapAll("
"); a.find(".wd-prev,.wd-next").append(''); var swiper = new Swiper(".wd-20210923190724 .swiper-container", { slidesPerView:5, loop:true, navigation: { nextEl: ".wd-20210923190724 .wd-next", prevEl: ".wd-20210923190724 .wd-prev", }, }); }); $(".wd-20210915012940").each(function() { let a = $(this); a.find(".wd-item").addClass("swiper-slide").wrapAll("
"); var swiper = new Swiper(".wd-20210915012940 .swiper-container", { slidesPerView:5, autoplay: { delay: 2500, disableOnInteraction: false, }, navigation: { nextEl: ".wd-20210915014920 .wd-next", prevEl: ".wd-20210915014920 .wd-prev", }, }); }); $("#c_portalResNews_list-16322933450453790").each(function() { let a = $(this), timer; let prev_btn = a.find(".wd-prev"); let next_btn = a.find(".wd-next"); let b = a.find(".wd-20210922145247"); function prev() { let z = a.find(".wd-item").last().css("margin-top", -a.height()).prependTo(b); z.animate({ marginTop:0 }, 1000); } function next() { let z = a.find(".wd-item").first().animate({ marginTop:-a.height() }, 1000, function() { z.css("margin-top", 0).appendTo(b); }); } prev_btn.click(function() { prev(); }); next_btn.click(function() { next(); }); function auto() { clearInterval(timer); timer = setInterval(function() { next(); }, 3000); } a.hover(function() { clearInterval(timer); }, function() { auto(); }); auto(); }); $("#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.common = function() { wd.ls.is(function() { $(".w_grid-000, .w_grid-001, .w_grid-002").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)+")"); }); }); }); }); $("#navToggle").click(()=> { $(".m_nav").slideDown(); }); $(".m_nav .top").click(function() { $(".m_nav").slideUp(); }); 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 = 'manual'; } 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"); wd.body.addClass("wd"); $(window).load(function() { setInterval(function() { $("img[src*='.jpg_']:not(.w)").each(function() { $(this).addClass("w").attr("src", $(this).attr("src").split(".jpg_")[0] + ".jpg"); }); $("img[src*='.png_']:not(.w)").each(function() { $(this).addClass("w").attr("src", $(this).attr("src").split(".png_")[0] + ".png"); }); $("img[lazy-src]").each(function() { $(this).attr("src", $(this).attr("lazy-src")).removeAttr("lazy-src"); }); }, 500); }); 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"); } 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("
" + config.email + "
"); var phone = $("
").addClass("wd-item phone").append('' + wd.svg.phone + '').append("
" + config.tel + "
"); 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_ani = function() { var window_height = $(window).height(); function handle() { var t = $(window).scrollTop(); var w = $(".wd-scroll-ani:not(.scrolled)"); w.each(function(i) { var top = $(this).offset().top; if (top < (window_height + t - 100)) { setTimeout(function() { $(this).addClass("scrolled"); } .bind(this), i * 100); } }); if (window_height + t + 200 >= wd.body.height()) { $(".wd-scroll-ani:not(.scrolled)").each(function(i) { var top = $(this).offset().top; if (top > (wd.body.height() - window_height)) { setTimeout(function() { $(this).addClass("scrolled"); } .bind(this), i * 100); } }); } } return { add: function(a) { $(a).addClass("wd-scroll-ani"); 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(".wd-item"); this.add(".c_portalResMessage_form-01001005"); $(window).scroll(function() { handle(); }); 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() { if(localStorage.getItem("wd-20211202134616")) { return; } wd.body.addClass("wd-shield-mo").append("

请先确认电脑端框架

手机端适配在电脑端框架确定后2-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"); } });