diff --git a/journalIndex/js/journal.js b/journalIndex/js/journal.js index 5388edd..96dabb1 100644 --- a/journalIndex/js/journal.js +++ b/journalIndex/js/journal.js @@ -256,21 +256,21 @@ margin-top:15px; } if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { var tong_geogle = ' ' + + 'target = "_blank" style="color:#7a2702;margin-left:8px;"> ' + 'Google Scholar' //搜索引用次数 } else { var tong_geogle = '' //少于21天隐藏 } if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { var tong_geogle_2_1 = ' ' + + 'target = "_blank" style="color:#7a2702;margin:5px 31px 0 0;display: inline-block;"> ' + 'Google Scholar' //搜索引用次数 } else { var tong_geogle_2_1 = '' //少于21天隐藏 } if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { var tong_geogle_2_2 = ' ' + + 'target = "_blank" style="color: #7a2702;margin:5px 37px 0 0;display: inline-block;"> ' + 'Google Scholar' //搜索引用次数 } else { var tong_geogle_2_2 = '' //少于21天隐藏 @@ -316,7 +316,7 @@ margin-top:15px; var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + html_ + pdf_ + mp4_ + c_t_a + cite_ + tong_geogle - + '

' + arr[i].cite + '

' + arr[i].abstract + '
'; + + '

' + arr[i].cite + '

' + arr[i].abstract + '
'; var lr_top = '' if (arr[i].topic && arr[i].topic.length > 0) { for (var t = 0; t < arr[i].topic.length; t++) { @@ -437,6 +437,11 @@ margin-top:15px; // 点击Abstract显示隐藏 $('.current_list .txt_zhaiyao').click(function () { $(this).nextAll('div').toggle(); + + const $parentGroup = $(this).closest('.article_info_box'); + + // 2. 在当前父级内查找tradition-box并切换显示状态 + $parentGroup.find('.tradition-box').toggle(); if ($(this).nextAll('div').css("display") == 'block') { var num = $(this).next().html(); $.ajax({ @@ -723,8 +728,8 @@ margin-top:15px; var forLength = 5 } if (wh_number == '1') { - - for (var j = 0; j < arr_topic[i].children.length; j++) { +if(arr_topic[i].children){ + for (var j = 0; j < arr_topic[i].children.length; j++) { if (j == forLength) break; var url_href = ''; @@ -737,8 +742,11 @@ margin-top:15px; '' + '

' + arr_topic[i].children[j].title + '

' } +} + } else { - for (var j = 0; j < arr_topic[i].children.length; j++) { + if(arr_topic[i].children){ + for (var j = 0; j < arr_topic[i].children.length; j++) { if (Jour_num == 1) { if (j == forLength) break; } else { @@ -755,6 +763,8 @@ margin-top:15px; '' + '

' + arr_topic[i].children[j].title + '

' } + } + } if (Jour_num == 1) { if (arr_topic[i].title == "Diseases") { @@ -763,9 +773,10 @@ margin-top:15px; '' + '

' } else { - st_top_tit = '

' + arr_topic[i].title + '

' + + //

+ st_top_tit = '

' + arr_topic[i].title + '

' + '
' + - '

' + '

' } } else { st_top_tit = '

' + arr_topic[i].title + '

' + @@ -784,8 +795,8 @@ margin-top:15px; // MDM 十个话题 // LF 十个话题 // BEC 十个话题 // cancer 十个话题 if ([2, 25, 11, 14].includes(Number(Jour_num))) { - - for (var j = 0; j < arr_topic[i].children.length; j++) { +if(arr_topic[i].children){ + for (var j = 0; j < arr_topic[i].children.length; j++) { if (MDM_mark == 10) break; MDM_mark = MDM_mark + 1 var url_href = ''; @@ -798,12 +809,15 @@ margin-top:15px; '' + '

' + arr_topic[i].children[j].title + '

' } +} + $('.art_top_topic>div>div.topics').html(''); } } else if (arr_topic[i].position == "left" && arr_topic[i].title == "Diseases" && Jour_num == 1) { if (panduan != '1') { panduan = '1'; - for (var j = 0; j < arr_topic[i].children.length; j++) { + if(arr_topic[i].children){ + for (var j = 0; j < arr_topic[i].children.length; j++) { if (j == 5) break; var url_href = ''; if (arr_topic[i].children[j].is_final == '1') { @@ -816,6 +830,8 @@ margin-top:15px; '

' + arr_topic[i].children[j].title + '

' } + } + st_left_tit = '

' + arr_topic[i].title + '

' + 'More
    ' + st_left_con + '
' @@ -1495,7 +1511,7 @@ margin-top:15px; } }) -$('.uity_Sub').after(`
`) -setTimeout(() => { - if (window.__sharethis__) { - __sharethis__.initialize(); - } - - }, 50) + setTimeout(() => { + if (window.__sharethis__) { + __sharethis__.initialize(); + } + + }, 50) // 期刊订阅提交 $(".uity_Sub").click(function () { $(".spa_su").text(''); @@ -1814,6 +1830,10 @@ function initJournalBaseInfo(result) { CiteScore = '0.3' break; + case 14: + + CiteScore = 'Coming soon' + break; case 2: case 17: case 18: @@ -1841,8 +1861,8 @@ function initJournalBaseInfo(result) { margin-top: 2px; "> - Cite Score - ${CiteScore} + CiteScore + ${CiteScore}
` $('#top_bar .rgb_color_background h1').css({ 'position': 'relative' }) @@ -1883,13 +1903,13 @@ function initJournalBaseInfo(result) { var apcStr = ``; if ([1, 25, 11].includes(Number(Jour_num))) { - if (arr_jour.apc =='$600'){ - apcStr = ` ${arr_jour.apc}` - } else{ + if (arr_jour.apc == '$600') { + apcStr = ` ${arr_jour.apc}` + } else { apcStr = arr_jour.apc - } - - + } + + } else { apcStr = arr_jour.apc + `( 2025–2026 )`; } @@ -1928,7 +1948,7 @@ function initJournalBaseInfo(result) { ISSNColor = '#fff' } - //

ISSN: ${arr_jour.issn}

+ //

ISSN: ${arr_jour.issn}

var leftStr = ` @@ -1939,11 +1959,11 @@ function initJournalBaseInfo(result) { $('.jour_base_info .jour_base_info_center .jour_base_info_center_left').html(leftStr); //

Impact Factor (Clarivate): ${ImpactFactor}

//

CiteScore (Scopus): ${CiteScore}

- + //头部左侧期刊其他信息 var otherStr1 = `
  • -
    +

    Editor-in-Chief

    //

  • // ` - $('.jour_base_info .jour_base_info_center .mes_all .mes_all_section').html(otherStr1 + otherStr2 + otherStr3 ); - + $('.jour_base_info .jour_base_info_center .mes_all .mes_all_section').html(otherStr1 + otherStr2 + otherStr3); + diff --git a/js/articleJS/article_o.js b/js/articleJS/article_o.js index 40e45b6..e88463c 100644 --- a/js/articleJS/article_o.js +++ b/js/articleJS/article_o.js @@ -114,7 +114,7 @@ function initArticleO() { if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { var tong_geogle = '
    ' + + 'target = "_blank" style="color:#7a2702;margin-left:8px;"> ' + 'Google Scholar' //搜索引用次数 } else { var tong_geogle = '' //少于21天隐藏 diff --git a/js/article_v1.js b/js/article_v1.js index 272abbe..de19b6e 100644 --- a/js/article_v1.js +++ b/js/article_v1.js @@ -434,8 +434,8 @@ padding-right:0px; .wenzhang .wen_jian h4 i{ font-weight: 500; - - + font-weight: bold; + } .wen_jian_span{ diff --git a/js/article_v2.js b/js/article_v2.js index 658523b..16a65ec 100644 --- a/js/article_v2.js +++ b/js/article_v2.js @@ -13,6 +13,16 @@ style.innerHTML = ` } .pos_ter>div:nth-child(1) { width: 25%; +} +.htmlImageNote blue{ + color :#0082AA !important; +} +.wenzhang .wen_jian h4 i{ + + font-weight: 500; + font-weight: bold; + + } .pos_ter>a { width: 23%;