/*1629670726000*/ AUI().ready( /* This function gets loaded when all the HTML, not including the portlets, is loaded. */ function() { // 回顶火箭动效 $("#goToTop").hide(); $(function() { $(window).scroll(function() { if ($(window).scrollTop() > 50) { $("#goToTop").fadeIn(200); } else { $("#goToTop").fadeOut(200); } }); //当点击跳转链接后,回到页面顶部位置 $("#goToTop").click(function() { $('body,html').animate({ scrollTop: 0 }, 400); return false; }); }); // 页脚 “...” 动效 $(".checkMore").on("click", function() { $(".popMore").show(); }); $(".popBg").on("click", function() { $(".popMore").hide(); }); $("#closePopMore").on("click",function(){ $(".popMore").hide(); }); // 页脚 八大板块链接 // 导航栏 八大板块链接去掉下面的"Foot",粘贴到首页>高级设置 var hnFoot = window.location.host; var wlFoot = window.location + ""; var rwlFoot = wlFoot.split("\/\/"); var curFoot = rwlFoot[0]+"\/\/"+hnFoot; // 粘到导航栏时 footAddHref 改为 addHref var oFootAddHrefs = document.getElementsByClassName("footAddHref"); var aFootList = ["jxtian","jxdi","jxlei","jxfeng","jxshui","jxhuo","jxshan","jxze"]; var hFootList = []; for(var j=0;j-1){ hFootList[j] = curFoot+"\/web\/"+aFootList[j]; } if(hnFoot.search(/189/)>-1){ hFootList[j] = curFoot+"\/web\/realcan-"+aFootList[j]; } if(hnFoot.search(/www/)>-1){ hFootList[j] = "/web/realcan-"+aFootList[j]; } } for(var i=0;ip:first-of-type"); obj.onmouseover = function(){ if(oP1.className=="beforeBlock"){ oP1.className = "hoverNone"; } } obj.onmouseout = function(){ if(oP1.className=="hoverNone"){ oP1.className = "beforeBlock"; } } } var oP2 = document.querySelector(".contact-2>p:last-of-type"); var oRAddress = document.getElementsByClassName("real-address")[0]; var oRElse = document.getElementsByClassName("real-else")[0]; hoverNone(oP2); hoverNone(oRAddress); hoverNone(oRElse); }) } ); Liferay.Portlet.ready( /* This function gets loaded after each and every portlet on the page. portletId: the current portlet's id node: the Alloy Node object of the current portlet */ function(portletId, node) { } ); Liferay.on( 'allPortletsReady', /* This function gets loaded when everything, including the portlets, is on the page. */ function() { } );