/*!stogram2023-04-13*/ function wheelChange(a){wheelTo(a.realIndex)}function wheelTo(a){console.log(a),$(".st-wheel-nav >ul >li").removeClass("active"),$(".st-wheel-nav >ul >li").eq(a).addClass("active"),$(".st-wheel-nav >ul").css({transform:"rotate("+angle*a+"deg)"}),$(".st-header .nav-main >li").removeClass("active"),$(".st-header .nav-main >li").eq(a).addClass("active")}$.fn.ready(function(){setTimeout(function(){$('[role="loading"]').removeClass("unload").addClass("completed"),$(window).trigger("scroll")},200),$(".richtext img").height("auto"),$(".btn-toggle-menu").on("click",function(a){$("body").toggleClass("opened"),a.stopPropagation()}),$("body").on("click",function(a){$(this).removeClass("opened")});var a=0;$(window).scroll(function(){var b=$(this).scrollTop();b>=$(".st-header").height()?($(".st-header").addClass("standby"),a>b?$(".st-header").addClass("opened"):$(".st-header").removeClass("opened")):($(".st-header").removeClass("standby"),$(".st-header").removeClass("opened")),a=b}),$(window).trigger("scroll")}),$(".page-about .st-mainbody .doc-body .history .banner-wrap .history-prev-btn").on("click",function(){window.stogram.plugins.historyBanner.slidePrev()}),$(".page-about .st-mainbody .doc-body .history .banner-wrap .history-next-btn").on("click",function(){window.stogram.plugins.historyBanner.slideNext()}),$(".page-about-weixin .st-mainbody .doc-body .history .banner-wrap .history-prev-btn").on("click",function(){window.stogram.plugins.weixinHistoryBanner.slidePrev()}),$(".page-about-weixin .st-mainbody .doc-body .history .banner-wrap .history-next-btn").on("click",function(){window.stogram.plugins.weixinHistoryBanner.slideNext()}),$(".page-about .st-mainbody .doc-body .honor .banner-wrap .honor-prev-btn").on("click",function(){window.stogram.plugins.honorBanner.slidePrev()}),$(".page-about .st-mainbody .doc-body .honor .banner-wrap .honor-next-btn").on("click",function(){window.stogram.plugins.honorBanner.slideNext()}),$(".page-about-weixin .st-mainbody .doc-body .honor .banner-wrap .honor-prev-btn").on("click",function(){window.stogram.plugins.weixinHonorBanner.slidePrev()}),$(".page-about-weixin .st-mainbody .doc-body .honor .banner-wrap .honor-next-btn").on("click",function(){window.stogram.plugins.weixinHonorBanner.slideNext()}),$(".page-home .doc-body .news .container .news-l .banner-btns .new-prev-btn").on("click",function(){window.stogram.plugins.newsBanner.slidePrev()}),$(".page-home .doc-body .news .container .news-l .banner-btns .new-next-btn").on("click",function(){window.stogram.plugins.newsBanner.slideNext()}),$(".page-home .doc-body .product .pro-banner-wrap.app-hide .banner").eq(0).addClass("banner-active"),$(".page-home .doc-body .product .pro-banner-wrap.app-hide .banner").hover(function(){$(this).addClass("banner-active").siblings().removeClass("banner-active")}),$.fn.ready(function(){$(".form-inquire").on("submit",function(){var a=$(this).data("id"),b=stogram.plugins[a],c=$(this).serializeArray();return b.run()&&$.post("/openapi/inquire/submit",c,function(a){200==a.code?(stogram.message.info("信息已提交成功"),setTimeout(function(){location.reload()},1e3)):stogram.message.error(a.msg)}),!1})});var length=$(".st-wheel-nav ul li").length,angle=200/length;$.fn.ready(function(){$(".st-wheel-nav ul li").each(function(a){$(this).css({transform:"translateY(-50%) rotate(-"+angle*a+"deg)"})}),$(".st-wheel-nav >ul >li, .st-header .nav-main li").on("click",function(a){var b=$(this).index(),c=window.stogram.plugins.wheel;return c.slideTo(b),wheelTo(b),!1})});