/buyerCenter/Personal" target="_blank" rel="nofollow" style="width:100px">My Account `) $(".trade-user1").html(` My Account
`) $(".trade-user2").prepend(``) $(".trade-user3").html(` My Account `) } else { $(".trade-user").html(` Sign In/Register `) $(".trade-user1").html(` Sign In/Register
`) $(".trade-user2").prepend(``) $(".trade-user3").html(` Sign In/Register `) } }) var app = 1; if (app == 1) { document.getElementById("appspan").style.display = "none"; $("#appli").addClass('app'); } function APP() { if (app == 1) { app = 0 } else { app = 1 } if (app == 1) { document.getElementById("appspan").style.display = "none"; $("#appli").addClass('app'); $(".app").mouseover(function () { document.getElementById("app_mousein").style.display = "inline-block"; }) $(".app").mouseout(function () { document.getElementById("app_mousein").style.display = "none"; }) } else { document.getElementById("appspan").style.display = "inline-block"; $("#appli").removeClass('app'); } } $(".mousein").hover(function () { $(this).addClass('backgroundr') $(this).children("span").removeClass('right60'); $(this).children("span").addClass('backgroundr') $(this).children("a").children("i").addClass('backgroundr') $(this).children("span").addClass('move_left') }, function () { $(this).children("span").removeClass('move_left'); $(this).removeClass('backgroundr'); $(this).children("a").children("i").removeClass('backgroundr') $(this).children("span").addClass('right60'); $(this).children("span").addClass('move_right') }) let _cssSlide = 1 function _cssSlideFun(num) { let _cssList = ` ` if (_cssSlide == 1) { $('body').append(_cssList) _cssSlide++ } } $(".mouseinone").hover(function () { var move = $(this).children("span").width() + 49; // var style = document.styleSheets[document.styleSheets.length - 1]; // console.log(style); // var index = style.rules.length - 1; // style.insertRule("@keyframes move_left1{from{ opacity: 0;}to{ opacity: 1; -webkit-transform: translateX(0px); transform: translateX(-" + move + "px);}}", index); //写入样式 _cssSlideFun(move) this.className = 'mousein'; $(this).addClass('backgroundr') $(this).children("span").addClass('backgroundr') $(this).children("a").children("i").addClass('backgroundr') $(this).children("span").addClass('move_left1') }, function () { var move = $(this).children("span").width() + 49; // var style = document.styleSheets[document.styleSheets.length - 1]; // var index = style.rules.length - 1; // style.insertRule("@keyframes move_right1{from{ opacity: 0; -webkit-transform: translateX(-" + move + "px); transform: translateX(-" + move + "px);}to{ opacity: 1; -webkit-transform: translateX(0px); transform: translateX(0px);}}", index); //写入样式 _cssSlideFun(move) this.className = 'mousein'; $(this).children("span").removeClass('move_left1'); $(this).removeClass('backgroundr'); $(this).children("a").children("i").removeClass('backgroundr') $(this).children("span").addClass('move_right1') }) $("#ewm").mouseover(function () { document.getElementById("ewm_mousein").style.display = "inline-block"; }) $("#ewm").mouseout(function () { document.getElementById("ewm_mousein").style.display = "none"; }) $(".app").mouseover(function () { document.getElementById("app_mousein").style.display = "inline-block"; }) $(".app").mouseout(function () { document.getElementById("app_mousein").style.display = "none"; }) function getBower() { var myexplorer = ""; var explorer = window.navigator.userAgent; // console.log("
" + explorer); if (explorer.indexOf("QQBrowser") >= 0 || explorer.indexOf("QQ") >= 0) { return myexplorer = "qqbrowser"; } else if (explorer.indexOf("Safari") >= 0 && explorer.indexOf("MetaSr") >= 0) { return myexplorer = "se"; } else if (!!window.ActiveXObject || "ActiveXObject" in window) { //IE if (!window.XMLHttpRequest) { return myexplorer = "IE6"; } else if (window.XMLHttpRequest && !document.documentMode) { return myexplorer = "IE7"; } else if (!-[1,] && document.documentMode && !("msDoNotTrack" in window.navigator)) { return myexplorer = "IE8"; } else { //IE9 10 11 var hasStrictMode = (function () { "use strict"; return this === undefined; }()); if (hasStrictMode) { if (!!window.attachEvent) { return myexplorer = "IE10"; } else { console.log(window.attachEvent); return myexplorer = "IE11"; } } else { return myexplorer = "IE9"; } } } else { //非IE if (explorer.indexOf("LBBROWSER") >= 0) { return myexplorer = "LBBROWSER"; } else if (explorer.indexOf("360ee") >= 0) { return myexplorer = "360ee"; } else if (explorer.indexOf("360se") >= 0) { return myexplorer = "360se"; } else if (explorer.indexOf("se") >= 0) { return myexplorer = "se"; } else if (explorer.indexOf("aoyou") >= 0) { return myexplorer = "aoyou"; } else if (explorer.indexOf("qqbrowser