$(function(){ dataAnimate(); (function($,lanno){ if(lanno === "" || lanno === "default"){ return ''; } $(".w-languege").each(function(){ $(this).find("a").each(function(){ if($(this).data("lanno") === lanno){ $(this).addClass("cur"); }else{ if($(this).hasClass("cur")){ $(this).removeClass("cur"); } } }); }); })(jQuery,"cn"); });

企业环境

Corporate environment
$(function () { setImgWidth($("#gallery_96a42b709df48f76448f0f25fa56e0f9"), "0", "4", "0", "24", $("#gallery_96a42b709df48f76448f0f25fa56e0f9").find(".multi-imgs>ul>li").width(), $("#gallery_96a42b709df48f76448f0f25fa56e0f9").find(".multi-imgs>ul>li").find('.gallery-aspectRatio:first').outerHeight()); $("#gallery_96a42b709df48f76448f0f25fa56e0f9").listRow({ row:4, rowList: ".multi-imgs ul>li", rowFind: ".gallery-caption" }); });
$(function(){if (isPC()) {$('div.position').addClass('a1');$('div.w-footer-in').addClass('footer-a1');} else {$('div.position').addClass('a2');$('div.w-footer-in').addClass('footer-a2');}}); function isPC() {var userAgentInfo = navigator.userAgent;console.log(navigator);var Agents = ["Android", "iPhone","SymbianOS", "Windows Phone","iPad", "iPod"];var flag = true;for (var v = 0; v < Agents.length; v++) {if (userAgentInfo.indexOf(Agents[v]) > 0) {flag = false;break;}}return flag;}