function initFooter() { // const $daohang = $('.footer .daohang'); // $daohang.nextUntil('.daohang_bottom_line').remove(); // 删除中间所有元素,直到 .busuna 前的所有兄弟 console.log(11) $('.footer .daohang').css({ 'border-bottom': 'none', }) const $daohang = $('.footer .daohang'); // 判断是否存在 .dh_du if ($daohang.find('.dh_du').length > 0) { $('.footer .daohang .dh_du').after('
') // 把 .daohang_bottom_line 移到 .daohang 外部 $daohang.find('.daohang_bottom_line').insertAfter($daohang); $('.footer .bianma').css({ 'margin-top': '30px', }) } $('.daohang_bottom_line').css({ 'background': 'rgb(229,76,94)', 'height': '2px', // 'border-top': '0.5px solid #fff', // 'border-bottom': '0.5px solid #fff', 'width': '1300px', 'margin': '0 auto', 'max-width': '100%', 'box-sizing': 'content-box', 'box-shadow': '-3px 3px 9px rgba(255, 255, 255, 0.8), 3px -3px 9px rgba(255, 255, 255, 0.3)', 'text-shadow': '0px 0px 3px rgba(255, 255, 255, 0.9)', 'filter': 'brightness(80%) contrast(100%) saturate(100%)', }) $('.footer-bottom-email').css({ 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', }) $('.footer-bottom-email-line').css({ 'font-weight': '700', /* width: 3px; */ /* display: inline-block; */ 'border': '2px solid #fff', /* height: 16px; */ 'line-height': '14px', 'margin': '0px 10px', 'height': '12px', 'display': 'inline-block', }) } //临时改的 合刊在删 // function initForAuthor() { // var arr_jour = { system_color: localStorage.Journals_color } // if (Jour_num == 1) { // arr_jour.apc = '$ 600' // } else { // arr_jour.apc = '$ 0' // } // console.log('initForAuthor'); // var apcStr = ``; // if ([1, 25, 11].includes(Jour_num)) { // apcStr = arr_jour.apc // } else { // apcStr = arr_jour.apc + `( 2025–2026 )`; // } // $('.for_mess div .fr_APC').html(apcStr); // } // const pathname = window.location.pathname.split("/").pop(); // // 2. 判断是否为 for_author.html // if (pathname === "for_author.html") { // console.log("当前是 for_author.html 页面"); // // 3. 获取 J_num 参数值 // const urlParams = new URLSearchParams(window.location.search); // const J_num = urlParams.get("J_num"); // initForAuthor(J_num) // } initFooter()