From f4f8c440f5c50fe5fe3e46fe2f3c372a139a66ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Thu, 17 Jul 2025 16:52:18 +0800 Subject: [PATCH] tijiao --- journalIndex/js/journal.js | 95 ++++++++++++++++++++++++++++++++++++-- journalIndex/js/side.js | 27 ++++++++++- 2 files changed, 116 insertions(+), 6 deletions(-) diff --git a/journalIndex/js/journal.js b/journalIndex/js/journal.js index 54d30a1..2c0084d 100644 --- a/journalIndex/js/journal.js +++ b/journalIndex/js/journal.js @@ -5,7 +5,8 @@ function bf_list() { $('.article_ .bgv_san .alls_issue').css({ - 'background': 'none' + 'background': 'none', + }) // 相关期刊,过往分期 $.ajax({ @@ -27,6 +28,85 @@ function bf_list() { 'color': `${Journals_color} !important`, }) + // + const style = document.createElement('style'); + style.innerHTML = `/* 遮罩层 */ + .overall_tmr .article .art_main .new_art>ul li{ +border-bottom:1px solid ${Journals_color} + } + .overall_tmr .article{ + padding-bottom:0 !important; + } + .article .art_main .new_art ul li:last-child { + border-bottom: none !important; + + } + .article_{ + padding-top:15px; + } + .article_ .news_ment{ + padding-top:0; + + } + .news_ment a.more, .topics a.more{ + top:20px; + } + .ment_sousuo_kuang{ +margin-top:15px; + } + .ment_sousuo_kuang>div{ + padding-bottom:15px !important; + } + .ment_sousuo_kuang>div>div{ + height:37px !important; + line-height:37px !important; + } + .ment_sousuo_kuang>div>div select{ + height:37px; + line-height:37px; + } + .ment_sousuo_kuang .soukuang_btn{ + top:14.5px; + } + .article_ .bgv_san .alls_issue{ + padding-bottom:0px !important; + } + + .article_ .bgv_san .Special_Issues_box{ + padding-top:25px !important; + padding-bottom:0px !important; + margin-top:-15px !important; + } + .article_ .bgv_san .ncon_hl{ + padding-top:25px !important; + padding-bottom:0px !important; + } + .article .art_main .new_art>h4, .article .art_main .high_light h4, .news_ment h4, .topics h4{ + line-height:24px; + } + .jour_notice .jour_notice_title_name{ + margin-top:0; + } + .article_ .alls_issue>div>ul li>a>img{ + margin-top:20px !important; + } + .Special_Issues_div_box ul li a img{ + margin-top:20px !important; + } + .art_main_con_topic .topics_box{ + margin-top:20px !important; + } + .article_ .alls_issue>div>ul li>a>p{ + top:20px !important; + } + .overall_tmr .online_fr ul, .overall_tmr .ncon_fr_tmr ul, .overall_tmr .ncon_tcrd_tmr ul, .overall_tmr .ncon_aper ul, .overall_tmr .Rel_ated ul, .overall_tmr .hua_tpice ul, .overall_tmr .ncon_hl ul, .overall_tmr .Special_Issues_box ul, .overall_tmr .ncon_new_coment ul, .overall_tmr .ncon_SCom>div{ + margin-top:20px !important; + } + .tmr_article{ + padding-top:25px; + } + `; + document.head.appendChild(style); initJournalBaseInfo(result) var arr_stage = result.data.journalStage; @@ -639,7 +719,7 @@ function bf_list() { '' + '

' } else { - st_top_tit = '

' + arr_topic[i].title + '

' + + st_top_tit = '

' + arr_topic[i].title + '

' + '
' + '

' } @@ -755,7 +835,7 @@ function bf_list() { }, success: function (result) { if (result.code == 0) { - + if (!result.data.is_show || result.data.is_show == "false") { $('.jour_base_info .jour_base_info_center .mes_all .mes_all_section .mes_all_section_Gue_special').each(function () { this.style.setProperty('display', 'none', 'important'); @@ -889,8 +969,13 @@ function bf_list() { if (arr.length == 0) { $('.ment_sousuo_kuang').css('padding-top', '40px') + $('.mes_all_section_other_online').css('display', 'none') $('.online_fr').css('display', 'none') +$('.ment_sousuo_kuang').css({ + 'padding-top':'0px', + 'margin-top':'0px', +}) } @@ -1688,7 +1773,7 @@ function initJournalBaseInfo(result) { //mdm $('.nav_ban h2').html(''); } - else if (Jour_num == 25) { + else if (Jour_num == 25) { //bmec $('.nav_ban h2').html(''); } @@ -1756,7 +1841,7 @@ function initJournalBaseInfo(result) { $('.jour_base_info .jour_base_info_center .jour_base_info_center_left').html(leftStr); //头部左侧期刊其他信息 var otherStr1 = ` -
  • +
  • Editor-in-Chief: diff --git a/journalIndex/js/side.js b/journalIndex/js/side.js index e6d601f..7080cb4 100644 --- a/journalIndex/js/side.js +++ b/journalIndex/js/side.js @@ -24,6 +24,15 @@ function side_list() { $('.FreeapplicationBox').css('display', 'none'); } + + const style = document.createElement('style'); + style.innerHTML = `/* 遮罩层 */ + .home_logo{ + display:flex; + align-items:center; + } + `; + document.head.appendChild(style); // 期刊基础信息 var arr_jour = result.data.journal; localStorage.setItem("Journals_title", arr_jour.title); @@ -47,6 +56,22 @@ function side_list() { $('.guest_content .gue_system a').css('background', arr_jour.system_color); $('.guest_content .gue_author a').css('background', arr_jour.system_color); $('.jour_ht_dy .topic_dingyue .topic_add').css('color', arr_jour.system_color); + //加入 top_sea + + var SubmissionStr = ` + + Submission System +

    ` + + $('.top_logo .home_logo').append(`Publishing Group`); + $('.top_sea').prepend(SubmissionStr); $('.jour_ht_dy .topic_ts .mainbox input[type="submit"]').css('background-color', arr_jour.system_color); $('.top .top_sea .search_for input[type="text"]').css('border-color', arr_jour.system_color) $('.top .top_sea .search_for input[type="button"]').css('border-color', arr_jour.system_color) @@ -92,7 +117,7 @@ function side_list() { $('.ncon_SCom > div > div:nth-child(4) > p> b').html(arr_jour.title) // $('.Join_Team').css('display', 'none'); // $('.Tmr_lian_jie').css('display', 'block'); - + // tmr单独 const pathname = window.location.pathname.split("/").pop();