diff --git a/for_author.html b/for_author.html index aa26e43..1310ea7 100644 --- a/for_author.html +++ b/for_author.html @@ -9,9 +9,10 @@ + - +
@@ -24,16 +25,20 @@

-

ISSN:

+
+

ISSN:

Editor-in-Chief:

Editorial Board: - +

Acceptance:

Final Decision:

APC:

Frequency:

E-Mail:

+
+
Submission System
@@ -58,12 +63,16 @@
+
+ + + @@ -77,21 +86,9 @@ return null; } - // $(window).scroll(function () { - // //获取该标签距离顶部距离 - // var a = $(".need_fix").offset().top; - // //网页距离顶部距离 - // var b = $(window).scrollTop(); - // if (b > a) { - // $('.need_fix').css({"position": "fixed", "top": "10px"}) - // } else { - // $('.need_fix').css({"position": "sticky"}) - // } - // }) - Jour_num = getQueryString('J_num'); localStorage.setItem("Journals_num", Jour_num); - + initForAuthorTop(Jour_num); // 底部 $('.footer').load('./footer.html') @@ -138,7 +135,7 @@ $('.for_mess div .fr_accep').html(arr_jour.acceptance); $('.for_mess div .fr_final').html(arr_jour.finaldecision); - + initArticleNavList() initForAuthor(Jour_num,arr_jour)//临时改的 合刊在删 放开 initForAuthorHtml(Jour_num) // $('.for_mess div .fr_APC').html(apcStr); @@ -192,70 +189,7 @@ }); - // $.ajax({ - // type: 'post', url: apiUrl + 'api/Journal/getForAuthors', - // data: { 'journal_id': getQueryString('J_num') }, - // success: function (result) { - // if (result.code == 0) { - // var arr = result.data.forAuthors; - // var str = ""; - // var sgl = ""; - // for (var i in arr) { - // str += '
  • ' + arr[i].jfa_title + '
  • ' - // sgl += '

    ' + arr[i].jfa_title + '

    ' - // for (var j = 0; j < arr[i].children.length; j++) { - // str += '
  • ·' + arr[i].children[j].jfa_title + '
  • ' - // sgl += '

    ·' + arr[i].children[j].jfa_title + '

    ' + arr[i].children[j].content + '
    ' - // } - // } - - // $('#for_nag').html(str); - // $('#for_nag li:nth-child(1) a').addClass('active'); - // $('#for_main').html(sgl); - - // //以window为顶,设置离顶和回调 - // var snf = simpleNavFollow({ - // leaveTop: 10, - // }); - - // } else { - // ShowDanger(result.msg); - // } - // }, - // error: function () { - // ShowDanger("error!"); - // } - // }) - - // var snf = simpleNavFollow({ - // parentElement: "#main",//内容类的父元素 - // nav: ".snf-nav",//导航类 - // page: ".snf-page",//内容类 - // leaveTop: 0,//离父类距离 - // initTo: 1,//初始跳转 - // animation: 400,//动画时间 - // followCallBack: function (index) { - // $("#enterIndex").text(index + 1) - // }, - // navCallBack: function (index) { - // $("#clickIndex").text(index + 1) - // } - // }); - - //以window为顶,不设置离顶和回调 - // var snf = simpleNavFollow({ - // }); - // $("#destroy").click(function () { - // snf.destroyed(); - // }) - // $("#init").click(function () { - // if(snf.destroyed){ - // snf.destroyed(); - // } - // snf = simpleNavFollow({ - // }); - // }) - + }); diff --git a/gue_cont.html b/gue_cont.html index 4b0102e..5cb08b5 100644 --- a/gue_cont.html +++ b/gue_cont.html @@ -95,7 +95,7 @@ - + diff --git a/journalIndex/js/journal.js b/journalIndex/js/journal.js index eb67bcc..7a119a3 100644 --- a/journalIndex/js/journal.js +++ b/journalIndex/js/journal.js @@ -1819,18 +1819,18 @@ function initJournalBaseInfo(result) { //tmr case 1: ImpactFactor = '1.3' - CiteScore = '2.1' + CiteScore = '2.2' break; //bmec case 25: - CiteScore = '1.5' + CiteScore = '1.7' break; //mdm case 11: - CiteScore = '0.3' + CiteScore = '0.4' break; case 14: diff --git a/journalIndex/js/side.js b/journalIndex/js/side.js index 964261a..b443974 100644 --- a/journalIndex/js/side.js +++ b/journalIndex/js/side.js @@ -184,6 +184,18 @@ function side_list() { var corr = result.data.relats; $('.jour_correlate>a').attr('href', '/' + corr[0].usx); $('.jour_correlate>a>img').attr('src', imgjourUrl + corr[0].icon) + }else{ + $('.jour_correlate').css('display', 'none') + const parent = document.querySelector('.jour_notice'); +if (parent) { + // 找父容器下第一个符合样式特征的div(只取第一个) + const firstTargetDiv = parent.querySelector('div[style*="height: 1px"][style*="background-color: #ddd"]'); + if (firstTargetDiv) { + firstTargetDiv.style.display = 'none'; + console.log('已隐藏第一个目标分割线'); + } +} + } // 感谢图片 diff --git a/js/article.js b/js/article.js index 0256821..0035c89 100644 --- a/js/article.js +++ b/js/article.js @@ -7291,14 +7291,14 @@ function article_con() { var CiteScoreStr = '' var marginLeft = 20 if (Jour_num == 1) { - CiteScoreStr = '2.1'; + CiteScoreStr = '2.2'; marginLeft = 10 } else if (Jour_num == 11) { - CiteScoreStr = '0.3'; + CiteScoreStr = '0.4'; } else if (Jour_num == 25) { - CiteScoreStr = '1.5'; + CiteScoreStr = '1.7'; } if (Jour_num == 1) { // $('#top_bar .nav_ban h2 img').css('zoom','0.75') diff --git a/js/article_v2.js b/js/article_v2.js index bfa708a..d871735 100644 --- a/js/article_v2.js +++ b/js/article_v2.js @@ -1716,9 +1716,10 @@ async function initContentHtml(content, arr, refers, html_type, ArticleData) { } time1 = timestampToTime(ArticleData.data.track[tt].reviewers[er].ctime) time2 = timestampToTime(ArticleData.data.track[tt].reviewers[er].qtime) - reviewerItem = "
    Invitation time:
    " + time1 + "
    " + reviewerState + detailIcon + "Score: " + ArticleData.data.track[tt].reviewers[er].rated + "reviewer: " + ArticleData.data.track[tt].reviewers[er].reviewer_name + "Review comments received: " + time2 + "
    " + reviewerItem = "
    Invitation time:
    " + time1 + "
    " + reviewerState + detailIcon + "Score: " + ArticleData.data.track[tt].reviewers[er].rated + "reviewer: " + ArticleData.data.track[tt].reviewers[er].reviewer_name + "
    " reviewers += reviewerItem } + // Review comments received: " + time2 + " } var finalStr = "" if (ArticleData.data.track[tt].type == 8 && ArticleData.data.track[tt].response && ArticleData.data.track[tt].response.length > 0) { diff --git a/js/commonHomePage.js b/js/commonHomePage.js index 002bc69..bf477fe 100644 --- a/js/commonHomePage.js +++ b/js/commonHomePage.js @@ -187,16 +187,16 @@ function commonHomePage() { case 1: ImpactFactor = '1.3' Published = '2016' - CiteScore = '2.1' + CiteScore = '2.2' break; //bmec case 25: Published = '2022' - CiteScore = '1.5' + CiteScore = '1.7' break; //mdm case 11: - CiteScore = '0.3' + CiteScore = '0.4' break; case 2: diff --git a/js/forAuthor.js b/js/forAuthor.js index 091cb1e..b1f536f 100644 --- a/js/forAuthor.js +++ b/js/forAuthor.js @@ -1,3 +1,277 @@ +var Jour_num = localStorage.getItem("Journals_num"); +function initForAuthorTop(){ + + const style = document.createElement('style'); + style.innerHTML = ` + .for_mess>.for_all p:nth-child(3n+2){ + width: auto; + } + .for_messall{ + display: grid; + float: left; + grid-template-columns: repeat(3, 1fr); + gap: 0px; + } + .for_messall .fr_edit{ + width: calc(100% - 110px); + } + .forAuthor .for_mess>.for_all p{ +display: flex; + align-items: flex-start; + + } + .article .for_mnall{ + width: calc(100% - 285px) !important; + } + .for_mess>.for_all { + + width: calc(100% - 285px); + padding-top:36px; + } + .for_mess>.for_all div>a{ + margin-left: calc((100% - 230px)/2); + } + #top_bar{ + position: sticky; + top: 0; + background-color: #fff; + z-index: 999; + } + .forAuthor #top_bar .top .top_logo .home_logo img{ + position: absolute; + top: 20px; + } + + .mb_aform{ + display:none; + } + .pos_ter{ + padding:10px; + } + .pos_ter>div:nth-child(1) { + width: 25%; + } + .htmlImageNote blue{ + color :#0082AA !important; + } + .wenzhang .wen_jian h4 i{ + + font-weight: 500; + font-weight: bold; + + + } + .v4-art-top #st-2 .st-btn > img{ + + width:16px !important; + height: 16px !important; + } + .pos_ter>a { + width: 23%; + } + .pos_ter>div:nth-child(3) { + width: 23%; + } + .pos_ter>a { + display: flex; + align-items: center; + justify-content: center; + } + .pos_ter>a>img { + min-width: 260px; + margin-top: -10px; + } + .pos_ter>div:nth-child(3)>a:nth-child(1){ + margin-left: calc((100% - 160px - 55px - 20px)/2); + } + .pos_ter>div:nth-child(1)>div:nth-child(1){ + margin-left: calc((100% - 190px - 65px)/2) !important; + } + + .pos_ter>div:nth-child(4) { + width: 23%; overflow:hidden; + + } + .pos_ter>div:nth-child(4) img{ + position: relative; + top: -16px; + } + .footer .daohang ul{ + width: 26% !important; + + } + + ` + + document.head.appendChild(style); + var newBox = document.querySelector('.newBox'); + var commonPopupStr = ` +
    +
    + × +
    +

    +
    + +
    +
    +
    +`; + + // 将弹窗插入到页面中 + newBox.insertAdjacentHTML('beforeend', commonPopupStr); + + +} +function initArticleNavList() { + var Journals_color = localStorage.getItem('Journals_color') + var Journals_usx = localStorage.getItem('Journals_usx') + $('.nav_ban h1 a').attr('href', '/' + Journals_usx); + var journalStageID = localStorage.getItem('journalStageID') + //是否显示地图 + var isShowAuthorship = 0; + if ([1, 14, 8].includes(Number(Jour_num))) { + isShowAuthorship = 1 + } + + const style = document.createElement('style'); + style.innerHTML = `/* 遮罩层 */ + .article_dropbtn:hover { + color: ${Journals_color}; + + } + .article_dropdown-list a:hover { + + border-bottom:2px solid ${Journals_color}; + font-weight:bold; + color:#333; + } + .toggle-btn{ + color: ${Journals_color}; + } + `; + document.head.appendChild(style); + + + // 获取 id 为 top_bar 的元素 + var topBar = document.getElementById("top_bar"); + + var otherStr1 = ` + +

    Current Issue

    +

    Online First

    +

    Archiving

    +

    Special Issues

    + +

    Highlights

    + + ` + var otherStr2 = `

    Journal Information

    + +

    Guide for Authors

    +

    Abstracting & Indexing

    + + + ` + // Abstracting & Indexing + var otherStr3 = ` +

    Peer-review process

    +

    Submission System

    +

    Ethics and Malpractice Statement

    + +
    + +

    Authorship

    + + ` + var str = `
    +
    +
    +
    Articles & Issues
    +
    + ${otherStr1} +
    +
    +
    +
    About Journal
    +
    + ${otherStr2} +
    +
    +
    +
    Publish
    +
    + ${otherStr3} +
    +
    +
    +
    ` + + + + // 使用 insertAdjacentHTML 在 top_bar 后插入新元素 + if (topBar) { + topBar.insertAdjacentHTML('afterend', str); + + } +} +function openAbstracting(Jour_num, Journals_color) { + var list = localStorage.getItem('journalAbs') + var arr_Abc = JSON.parse(list).filter(e => e.is_show == 1); + var Abstractingcontent = `` + document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); + showPopup(`Abstracting & Indexing`, Abstractingcontent) + + +} +function openAuthorship(Jour_num, Journals_color) { + var Abstractingcontent = ` +
    +
    + +
    +
    + ` + document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); + showPopup(`Abstracting & Indexing`, Abstractingcontent, 'Authorship') + + +} +function showPopup(title, content, type) { + $('#common-popup .common-popup-title').html(title) + $('#common-popup .common-popup-content').html(content) + + document.getElementById('common-overlay').style.display = 'block'; + if (type == 'Authorship') { + document.getElementById('common-popup').style.width = 'auto'; + renderMap(190) + } + + document.getElementById('common-popup').style.opacity = '1'; + document.getElementById('common-overlay').style.zIndex = '1000'; + document.getElementById('common-popup').style.zIndex = '1001'; + + // 5秒后自动关闭 + // setTimeout(closePopup, 5000); +} + +function closePopup() { + document.getElementById('common-popup').style.opacity = '0'; + document.getElementById('common-popup').style.zIndex = '-1'; + setTimeout(function () { + document.getElementById('common-overlay').style.display = 'none'; + $('#common-popup .common-popup-title').html('') + $('#common-popup .common-popup-content').html('') + }, 50); + +} function initForAuthor(Jour_num, arr_jour) { var apcStr = ``; @@ -11,42 +285,66 @@ function initForAuthor(Jour_num, arr_jour) { } function initForAuthorHtml(Jour_num, arr_jour) { - $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getForAuthors', + type: 'post', + url: apiUrl + 'api/Journal/getForAuthors', data: { 'journal_id': Jour_num }, success: function (result) { if (result.code == 0) { var arr = result.data.forAuthors; var str = ""; var sgl = ""; - for (var i in arr) { - str += '
  • ' + arr[i].jfa_title + '
  • ' - sgl += '

    ' + arr[i].jfa_title + '

    ' - for (var j = 0; j < arr[i].children.length; j++) { - str += '
  • ' + arr[i].children[j].jfa_title + '
  • ' + var anchorCount = 1; // 生成唯一锚点ID的计数器 - sgl += '

    ' + arr[i].children[j].jfa_title + '

    ' + arr[i].children[j].content + '
    ' - } - } + // 遍历父级+子级,建立锚点关联 + arr.forEach(function(parent) { + // 1. 父级导航:href指向锚点ID + str += `
  • ${parent.jfa_title}
  • `; + // 2. 父级内容:添加对应锚点ID + sgl += `
    +

    ${parent.jfa_title}

    +
    `; + anchorCount++; // 锚点ID自增,确保唯一 + // 子级处理(和父级逻辑一致) + parent.children.forEach(function(child) { + str += `
  • ${child.jfa_title}
  • `; + sgl += `
    +

    ${child.jfa_title}

    + ${child.content} +
    `; + anchorCount++; + }); + }); + + // 渲染DOM $('#for_nag').html(str); - $('#for_nag li:nth-child(1) a').addClass('active'); + $('#for_nag li:nth-child(1) a').addClass('active'); // 默认第一个导航高亮 $('#for_main').html(sgl); - //以window为顶,设置离顶和回调 - var snf = simpleNavFollow({ - leaveTop: 10, - }); + // 关键:初始化simpleNavFollow(补全锚点关联后,插件能识别跳转和高亮) + + setTimeout(() => { + + simpleNavFollow({ + leaveTop: 10, + nav: '#for_nag', + navItem: '.snf-nav', + content: '#for_main', + contentItem: '.snf-page', + activeClass: 'active', + smoothScroll: true, + + }); + + }, 300); // 短延时确保DOM渲染完成 } else { ShowDanger(result.msg); } }, error: function () { - ShowDanger("error!"); + ShowDanger("接口请求失败!"); } - }) - - + }); } \ No newline at end of file diff --git a/js/not_map.js b/js/not_map.js index d4e1387..8495cd1 100644 --- a/js/not_map.js +++ b/js/not_map.js @@ -196,9 +196,9 @@ var country_data = [ { "name": "Zimbabwe", "value": 0 }, ] - +if (!document.getElementById('worldMap_notice')) { if (footer_map_ID == '125') { - + // 编委国际化图表 $('.topics>div').prepend('

    Countries/Regions

    ' + '
    ' + @@ -310,6 +310,7 @@ if (footer_map_ID == '125') { ShowDanger("error!"); } }) + } else if (footer_map_ID == '2') { @@ -1078,12 +1079,12 @@ if (footer_map_ID == '125') { } }) } - +} // 侧栏小地图 // tmr,life,感染,胃肠,精准,历史与哲学 // Jour_num == "1"||Jour_num == "4"||Jour_num == "7"||Jour_num == "8"||Jour_num == "13"||Jour_num == "14" -function renderMap(height,callback) { +function renderMap(height, callback) { if (Jour_num == "1" || Jour_num == "8" || Jour_num == "14") { // 编委国际化图表 $.ajax({ @@ -1124,7 +1125,12 @@ function renderMap(height,callback) { // 绘制图表 var worldChart = echarts.init(document.getElementById('worldMap')); - + var worldChart2 = null; + if(document.getElementById('worldMap2')){ + worldChart2 = echarts.init(document.getElementById('worldMap2')); + } + + // 数据 var dataMap = country_data var option = { @@ -1199,10 +1205,14 @@ function renderMap(height,callback) { }], }; worldChart.setOption(option); -if(callback){ - callback(); -} - + if (worldChart2) { + worldChart2.setOption(option); + } + + if (callback) { + callback(); + } + } else { // ShowDanger("请求失败!"); } diff --git a/js/notice_v1.js b/js/notice_v1.js new file mode 100644 index 0000000..e962a4e --- /dev/null +++ b/js/notice_v1.js @@ -0,0 +1,697 @@ + + + + +// 消息、cfp、footer 内容 +function notice_con() { + + + const style = document.createElement('style'); + style.innerHTML = ` + #top_bar{ + position: sticky; + top: 0; + background-color: #fff; + z-index: 999; + } + .topicsNewBox #top_bar .top .top_logo .home_logo img{ + position: absolute; + top: 20px; + } + + .mb_aform{ + display:none; + } + .pos_ter{ + padding:10px; + } + .pos_ter>div:nth-child(1) { + width: 25%; + } + .htmlImageNote blue{ + color :#0082AA !important; + } + .wenzhang .wen_jian h4 i{ + + font-weight: 500; + font-weight: bold; + + + } + .v4-art-top #st-2 .st-btn > img{ + + width:16px !important; + height: 16px !important; + } + .pos_ter>a { + width: 23%; + } + .pos_ter>div:nth-child(3) { + width: 23%; + } + .pos_ter>a { + display: flex; + align-items: center; + justify-content: center; + } + .pos_ter>a>img { + min-width: 260px; + margin-top: -10px; + } + .pos_ter>div:nth-child(3)>a:nth-child(1){ + margin-left: calc((100% - 160px - 55px - 20px)/2); + } + .pos_ter>div:nth-child(1)>div:nth-child(1){ + margin-left: calc((100% - 190px - 65px)/2) !important; + } + + .pos_ter>div:nth-child(4) { + width: 23%; overflow:hidden; + + } + .pos_ter>div:nth-child(4) img{ + position: relative; + top: -16px; + } + .footer .daohang ul{ + width: 26% !important; + + } + + ` + + document.head.appendChild(style); + + + + function initStyle() { + // 找到目标元素 + const navBan = document.querySelector('.nav_ban.rgb_color_background'); + + if (navBan) { + // 创建一个新的 inner-wrapper div + const innerWrapper = document.createElement('div'); + innerWrapper.className = 'inner_nav_ban_wrapper'; + + // 把 navBan 中所有子节点移动到 innerWrapper 中 + while (navBan.firstChild) { + innerWrapper.appendChild(navBan.firstChild); + } + + // 再把 innerWrapper 加回 navBan 中 + navBan.appendChild(innerWrapper); + } + + + } + + var newBox = document.querySelector('.newBox'); + var commonPopupStr = ` +
    +
    + × +
    +

    +
    + +
    +
    +
    +`; + + // 将弹窗插入到页面中 + newBox.insertAdjacentHTML('beforeend', commonPopupStr); + // 获取地址栏信息 + function getQueryString(name) { + var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); + var r = window.location.search.substr(1).match(reg); + if (r != null) return unescape(r[2]); + return null; + } + + var footer_ID = getQueryString('footer_id'); //footer + //footer + if (footer_ID != null) { + initArticleNavList() + var matching = [206, 336, 338, 173, 176, 484, 258, 253, 259, 123, 122, 121] + for (var i in matching) { + if (footer_ID == matching[i]) { + window.location.href = 'for_author.html?J_num=' + Jour_num; + } + } + + var marry = [466, 194, 45, 44, 100, 108, 147, 146, 46, 50, 255, 186, 298, 351, 21, 154, 233, 234, 339, 391, 325, 409, 81, 88, 268, 270, 132, 137, 62, 64, 178, 177, 128, 125, 219, 392, 1, 2, 236, 242, 25, 24, 151, 152, 485, 486] + let mar_ry = 0 + for (var i in marry) { + if (footer_ID == marry[i]) { + mar_ry = 1 + } + } + if (mar_ry == 0) { + window.location.href = 'for_author.html?J_num=' + Jour_num; + } + + + // footer + $.ajax({ + type: 'post', url: apiUrl + 'api/Journal/getFooterArt', + data: { + "journal_paper_art_id": footer_ID + }, + success: function (result) { + if (result.code == 0) { + + // 消息列表 + var arr = result.data.article; + + $('.topics>h2').html(arr.title); + + if (arr.title == 'Editorial Board') { + $.ajax({ + type: 'post', url: apiUrl + 'api/Journal/getBoard1', + data: { + "journal_id": Jour_num + }, + success: function (result) { + if (result.code == 0) { + // 编委会成员 + var arg = result.data.data.boards; + // 期刊委员会 + var committees = result.data.data.committees; + var editors = result.data.data.editors; + var str = ''; + + if (arg.main == undefined) { + str += '' + } else { + str += 'Editor-in-Chief

    ' + for (var i = 0; i < arg.main.length; i++) { + if (arg.main[i].icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (arg.main[i].research_areas == '') { + var dis_line = '' + } else { + var dis_line = 'Research areas: ' + arg.main[i].research_areas + } + if (arg.main[i].website != '') { + str += '
  • ' + + '' + arg.main[i].realname + ', Ph.D. ' + + arg.main[i].technical + '
    ' + arg.main[i].email + '
    ' + + arg.main[i].company + '
    ' + dis_line + icon_img + '


  • ' + } else { + str += '
  • ' + + arg.main[i].realname + ', Ph.D. ' + + arg.main[i].technical + '
    ' + arg.main[i].email + '
    ' + + arg.main[i].company + '
    ' + dis_line + icon_img + '


  • ' + } + } + } + if (arg.remain == undefined) { + str += '' + } else { + str += 'Vice Editor-in-Chief

    ' + for (var i = 0; i < arg.remain.length; i++) { + if (arg.remain[i].icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (arg.remain[i].research_areas == '') { + var dis_line = '' + } else { + var dis_line = 'Research areas: ' + arg.remain[i].research_areas + } + if (arg.remain[i].website != '') { + str += '
  • ' + + '' + arg.remain[i].realname + ', Ph.D. ' + + arg.remain[i].technical + '
    ' + arg.remain[i].email + '
    ' + + arg.remain[i].company + '
    ' + dis_line + icon_img + '


  • ' + } else { + str += '
  • ' + + arg.remain[i].realname + ', Ph.D. ' + + arg.remain[i].technical + '
    ' + arg.remain[i].email + '
    ' + + arg.remain[i].company + '
    ' + dis_line + icon_img + '


  • ' + } + } + str += '
    ' + } + if (arg.member == undefined) { + str += '' + } else { + str += 'Editorial Board Members

    ' + // 未分组 + $.each(arg.member, function (key, value) { //遍历键值对 + if ($.isArray(arg.member[key]) == true) { + if (key == 'nogroup') { + for (var j = 0; j < arg.member[key].length; j++) { + if (arg.member[key][j].icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (arg.member[key][j].research_areas == '') { + var dis_line = '' + } else { + var dis_line = 'Research areas: ' + arg.member[key][j].research_areas + } + if (arg.member[key][j].realname == 'Jian Hao' || arg.member[key][j].realname == 'Mathew Goss' || arg.member[key][j].realname == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].realname == 'Richard Shane Palmer' || arg.member[key][j].realname == 'Xin-Yun Zhang') { + if (arg.member[key][j].website != '') { + str += '
  • ' + + '' + arg.member[key][j].realname + ', Ph.D. ' + + arg.member[key][j].technical + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].company + '
    ' + dis_line + icon_img + '


  • ' + } else { + str += '
  • ' + + arg.member[key][j].realname + ', Ph.D. ' + + arg.member[key][j].technical + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].company + '
    ' + dis_line + icon_img + '


  • ' + } + } else { + if (arg.member[key][j].website != '') { + str += '
  • ' + + '' + arg.member[key][j].realname + ', Ph.D. ' + + arg.member[key][j].technical + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].company + '
    ' + dis_line + icon_img + '


  • ' + } else { + str += '
  • ' + + arg.member[key][j].realname + ', Ph.D. ' + + arg.member[key][j].technical + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].company + '
    ' + dis_line + icon_img + '


  • ' + } + } + } + } + } + }) + // 有分组 + $.each(arg.member, function (key, value) { //遍历键值对 + if ($.isArray(arg.member[key]) == true) { + if (key != 'nogroup') { + str += '' + key + '

    ' + for (var j = 0; j < arg.member[key].length; j++) { + if (arg.member[key][j].icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (arg.member[key][j].research_areas == '') { + var dis_line = '' + } else { + var dis_line = 'Research areas: ' + arg.member[key][j].research_areas + } + if (arg.member[key][j].realname == 'Jian Hao' || arg.member[key][j].realname == 'Mathew Goss' || arg.member[key][j].realname == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].realname == 'Richard Shane Palmer' || arg.member[key][j].realname == 'Xin-Yun Zhang') { + if (arg.member[key][j].website != '') { + str += '
  • ' + + '' + arg.member[key][j].realname + ', Ph.D. ' + + arg.member[key][j].technical + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].company + '
    ' + dis_line + icon_img + '


  • ' + } else { + str += '
  • ' + + arg.member[key][j].realname + ', Ph.D. ' + + arg.member[key][j].technical + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].company + '
    ' + dis_line + icon_img + '


  • ' + } + } else { + if (arg.member[key][j].website != '') { + // Nagwa El-Badri + if(Jour_num==25&&arg.member[key][j].realname == 'Nagwa El-Badri'){ + str += '
  • ' + + '' + arg.member[key][j].realname + ', M.D. Ph.D. ' + + arg.member[key][j].technical + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].company + '
    ' + dis_line + icon_img + '


  • ' + }else{ + str += '
  • ' + + '' + arg.member[key][j].realname + ', Ph.D. ' + + arg.member[key][j].technical + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].company + '
    ' + dis_line + icon_img + '


  • ' + } + + } else { + str += '
  • ' + + arg.member[key][j].realname + ', Ph.D. ' + + arg.member[key][j].technical + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].company + '
    ' + dis_line + icon_img + '


  • ' + } + } + } + } + } + }) + str += '
    ' + } + + // 期刊委员会 + if (committees && committees.length > 0) { + str += 'Academic Integrity Committee

    ' + for (var i = 0; i < committees.length; i++) { + if (committees[i].icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (committees[i].research_areas == '') { + var dis_line = '' + } else { + var dis_line = 'Research areas: ' + committees[i].research_areas + } + if (committees[i].website != '') { + str += '
  • ' + + '' + committees[i].realname + ', Ph.D. ' + + committees[i].technical + '
    ' + committees[i].email + '
    ' + + committees[i].company + '
    ' + dis_line + icon_img + '


  • ' + } else { + str += '
  • ' + + committees[i].realname + ', Ph.D. ' + + committees[i].technical + '
    ' + committees[i].email + '
    ' + + committees[i].company + '
    ' + dis_line + icon_img + '


  • ' + } + } + } else { + str += ''; + } + + // 期刊编辑 + if (editors && editors.length > 0) { + str += 'Editors & Staff

    ' + for (var i = 0; i < editors.length; i++) { + if (editors[i].icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (editors[i].website != '') { + str += '
  • ' + + '' + editors[i].realname + ',' + + editors[i].editor_title + '
    ' + editors[i].email + '
    ' + + icon_img + '
  • ' + } else { + str += '
  • ' + + editors[i].realname + ', ' + + editors[i].editor_title + '
    ' + editors[i].email + '
    ' + + icon_img + '
  • ' + } + } + str += '
  • '; + + } else { + str += '' + } + + $('.topics>div').append(''); + + + } else { + ShowDanger("请求失败!"); + } + }, + error: function () { + ShowDanger("error!"); + } + }); + + } else if (arr.title == '编委会') { + $.ajax({ + type: 'post', url: apiUrl + 'api/Journal/getBoard', + data: { + "journal_id": Jour_num + }, + success: function (result) { + if (result.code == 0) { + var arg = result.data.boards; + var str = ''; + + if (arg.main == undefined) { + str += '' + } else { + str += '主编

    ' + for (var i = 0; i < arg.main.length; i++) { + if (arg.main[i].board_icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (arg.main[i].field == '') { + var dis_line = '' + } else { + var dis_line = '领域: ' + arg.main[i].field + } + str += '
  • ' + + '' + arg.main[i].name + ', ' + + arg.main[i].dr + ' ' + arg.main[i].title + '
    ' + arg.main[i].email + '
    ' + + arg.main[i].address + ' 中国' + '
    ' + dis_line + icon_img + '


  • ' + } + str += "
    " + } + if (arg.remain == undefined) { + str += '' + } else { + str += '副主编

    ' + for (var i = 0; i < arg.remain.length; i++) { + if (arg.remain[i].board_icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (arg.remain[i].field == '') { + var dis_line = '' + } else { + var dis_line = '领域: ' + arg.remain[i].field + } + str += '
  • ' + + '' + arg.remain[i].name + ', ' + + arg.remain[i].dr + ' ' + arg.remain[i].title + '
    ' + arg.remain[i].email + '
    ' + + arg.remain[i].address + ' 中国' + '
    ' + dis_line + icon_img + '


  • ' + } + str += '
    ' + } + if (arg.member == undefined) { + str += '' + } else { + str += '编委

    ' + $.each(arg.member, function (key, value) { //遍历键值对 + if ($.isArray(arg.member[key]) == true) { + str += '' + key + '

    ' + for (var j = 0; j < arg.member[key].length; j++) { + if (arg.member[key][j].board_icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (arg.member[key][j].field == '') { + var dis_line = '' + } else { + var dis_line = '领域: ' + arg.member[key][j].field + } + str += '
  • ' + + '' + arg.member[key][j].name + ', ' + + arg.member[key][j].dr + ' ' + arg.member[key][j].title + '
    ' + arg.member[key][j].email + '
    ' + + arg.member[key][j].address + ' 中国' + '
    ' + dis_line + icon_img + '


  • ' + } + } else { + if (arg.member[key].board_icon == '') { + var icon_img = '' + } else { + var icon_img = '' + } + if (arg.member[key].field == '') { + var dis_line = '' + } else { + var dis_line = '领域: ' + arg.member[key].field + } + str += '
  • ' + + '' + arg.member[key].name + ', ' + + arg.member[key].dr + ' ' + arg.member[key].title + '
    ' + arg.member[key].email + '
    ' + + arg.member[key].address + ' 中国' + '
    ' + dis_line + icon_img + '


  • ' + } + }) + str += '
    ' + } + + $('.topics>div').append(''); + + + } else { + ShowDanger("请求失败!"); + } + }, + error: function () { + ShowDanger("error!"); + } + }); + + } else { + $('.topics>div').html(arr.content); + } + + if (footer_ID == '126') { + $('.fuwenben img').css('width', '200px') + } + + } else { + ShowDanger("请求失败!"); + } + }, + error: function () { + ShowDanger("error!"); + } + }) + } + + + +} +function initArticleNavList() { + var Journals_color = localStorage.getItem('Journals_color') + var Journals_usx = localStorage.getItem('Journals_usx') + $('.nav_ban h1 a').attr('href', '/' + Journals_usx); + var journalStageID = localStorage.getItem('journalStageID') + //是否显示地图 + var isShowAuthorship = 0; + if ([1, 14, 8].includes(Number(Jour_num))) { + isShowAuthorship = 1 + } + + const style = document.createElement('style'); + style.innerHTML = `/* 遮罩层 */ + .article_dropbtn:hover { + color: ${Journals_color}; + + } + .article_dropdown-list a:hover { + + border-bottom:2px solid ${Journals_color}; + font-weight:bold; + color:#333; + } + .toggle-btn{ + color: ${Journals_color}; + } + `; + document.head.appendChild(style); + + + // 获取 id 为 top_bar 的元素 + var topBar = document.getElementById("top_bar"); + + var otherStr1 = ` + +

    Current Issue

    +

    Online First

    +

    Archiving

    +

    Special Issues

    + +

    Highlights

    + + ` + var otherStr2 = `

    Journal Information

    + +

    Guide for Authors

    +

    Abstracting & Indexing

    + + + ` + // Abstracting & Indexing + var otherStr3 = ` +

    Peer-review process

    +

    Submission System

    +

    Ethics and Malpractice Statement

    + +
    + +

    Authorship

    + + ` + var str = `
    +
    +
    +
    Articles & Issues
    +
    + ${otherStr1} +
    +
    +
    +
    About Journal
    +
    + ${otherStr2} +
    +
    +
    +
    Publish
    +
    + ${otherStr3} +
    +
    +
    +
    ` + + + + // 使用 insertAdjacentHTML 在 top_bar 后插入新元素 + if (topBar) { + topBar.insertAdjacentHTML('afterend', str); + + } +} +function openAbstracting(Jour_num, Journals_color) { + var list = localStorage.getItem('journalAbs') + var arr_Abc = JSON.parse(list).filter(e => e.is_show == 1); + var Abstractingcontent = `` + document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); + showPopup(`Abstracting & Indexing`, Abstractingcontent) + + +} +function openAuthorship(Jour_num, Journals_color) { + var Abstractingcontent = ` +
    +
    + +
    +
    + ` + document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); + showPopup(`Abstracting & Indexing`, Abstractingcontent, 'Authorship') + + +} +function showPopup(title, content, type) { + $('#common-popup .common-popup-title').html(title) + $('#common-popup .common-popup-content').html(content) + + document.getElementById('common-overlay').style.display = 'block'; + if (type == 'Authorship') { + document.getElementById('common-popup').style.width = 'auto'; + renderMap(190) + } + + document.getElementById('common-popup').style.opacity = '1'; + document.getElementById('common-overlay').style.zIndex = '1000'; + document.getElementById('common-popup').style.zIndex = '1001'; + + // 5秒后自动关闭 + // setTimeout(closePopup, 5000); +} + +function closePopup() { + document.getElementById('common-popup').style.opacity = '0'; + document.getElementById('common-popup').style.zIndex = '-1'; + setTimeout(function () { + document.getElementById('common-overlay').style.display = 'none'; + $('#common-popup .common-popup-title').html('') + $('#common-popup .common-popup-content').html('') + }, 50); + renderMap(140) +} + + + diff --git a/js/side.js b/js/side.js index 2be8c49..280df33 100644 --- a/js/side.js +++ b/js/side.js @@ -12,9 +12,9 @@ $(document).ready(function () { // 期刊基础、外链、分期、话题信息加载 function side_list() { -if(Jour_num == 17||Jour_num == 24){ - $('.art_main_con_topic').hide(); -} + if (Jour_num == 17 || Jour_num == 24) { + $('.art_main_con_topic').hide(); + } // 左侧期刊列表数据 $.ajax({ type: 'post', url: apiUrl + 'api/Journal/getJournal', @@ -23,7 +23,17 @@ if(Jour_num == 17||Jour_num == 24){ }, success: function (result) { if (result.code == 0) { + // 1. 匹配所有 src 为 "img/details.png" 的 img 标签 +const targetImgs = document.querySelectorAll('img[src="img/details.png"]'); +// 2. 遍历并替换地址 +targetImgs.forEach(img => { + img.src = "img/editor.png"; + // 可选:同时更新 srcset(如果图片用了响应式加载) + if (img.srcset) { + img.srcset = img.srcset.replace("img/details.png", "img/editor.png"); + } +}); // 期刊基础信息 var arr_jour = result.data.journal; $('h4.rgb_color').css('color', arr_jour.system_color); @@ -110,8 +120,8 @@ if(Jour_num == 17||Jour_num == 24){ } else { apcStr = arr_jour.apc + `( 2025–2026 )`; } - - + + $('.jour_message div .mes_APC').html(apcStr); @@ -280,11 +290,11 @@ if(Jour_num == 17||Jour_num == 24){ $('.edit_board_tmr>a').attr('href', arr_jour.board_url); if (Jour_num == 11) { - $('.edit_board_tmr').after('

    CiteScore (Scopus): 0.1

    '); + $('.edit_board_tmr').after('

    CiteScore (Scopus): 0.4

    '); } //bmec if (Jour_num == 25) { - $('.edit_board_tmr').after('

    CiteScore (Scopus): 1.3

    '); + $('.edit_board_tmr').after('

    CiteScore (Scopus): 1.7

    '); } //$('.edit_board_tmr>a').attr('href', 'notice.html?J_num=' + Jour_num + '&footer_id=' + arr_jour.board_url); @@ -320,10 +330,22 @@ if(Jour_num == 17||Jour_num == 24){ var corr = result.data.relats; $('.jour_correlate>a').attr('href', '/' + corr[0].usx); $('.jour_correlate>a>img').attr('src', imgjourUrl + corr[0].icon) + } else { + $('.jour_correlate').css('display', 'none') + const parent = document.querySelector('.jour_notice'); + if (parent) { + // 找父容器下第一个符合样式特征的div(只取第一个) + const firstTargetDiv = parent.querySelector('div[style*="height: 1px"][style*="background-color: #ddd"]'); + if (firstTargetDiv) { + firstTargetDiv.style.display = 'none'; + console.log('已隐藏第一个目标分割线'); + } + } } - - + + + if (localStorage.Journals_title == '经典中医研究') { $('.jour_correlate>h4').html('相关期刊'); @@ -755,7 +777,7 @@ if(Jour_num == 17||Jour_num == 24){ $('.jour_guest h4 a').css('display', 'none'); - } + } //11 mdm if (result.data.is_show == "false" || Jour_num == '11') { // $('.jour_guest h4 a').css('display', 'none'); diff --git a/jstmr/side.js b/jstmr/side.js index 49e1597..12d9791 100644 --- a/jstmr/side.js +++ b/jstmr/side.js @@ -15,6 +15,16 @@ function side_list() { }, success: function (result) { if (result.code == 0) { + const targetImgs = document.querySelectorAll('img[src="img/details.png"]'); + +// 2. 遍历并替换地址 +targetImgs.forEach(img => { + img.src = "img/editor.png"; + // 可选:同时更新 srcset(如果图片用了响应式加载) + if (img.srcset) { + img.srcset = img.srcset.replace("img/details.png", "img/editor.png"); + } +}); if (Jour_num == 1 && $('.FreeapplicationBox')) { $('.FreeapplicationBox').css('display', 'inline-block'); @@ -154,7 +164,7 @@ function side_list() { $('.Join_Bord').attr('href', 'z_f6-1.html?J_num=' + Jour_num); $('.Join_Bord2').attr('href', 'z_f11-1.html?J_num=' + Jour_num); $('.edit_board_tmr>a').attr('href', arr_jour.board_url); - $('.edit_board_tmr').after('

    CiteScore (Scopus): 2.1

    '); + $('.edit_board_tmr').after('

    CiteScore (Scopus): 2.2

    '); $('.edit_board_tmr').after('

    Impact Factor (Clarivate): 1.3

    '); //$('.edit_board_tmr>a').attr('href', 'notice.html?J_num=' + Jour_num + '&footer_id=' + arr_jour.board_url); diff --git a/notice.html b/notice.html index c3f6498..01d8952 100644 --- a/notice.html +++ b/notice.html @@ -9,7 +9,15 @@ + - +
    @@ -73,16 +81,18 @@ -
    +
    + - + + + + + + + + + + + + + \ No newline at end of file