From 9dd44cc165be9235c368fc541e8d8f41d054d6a7 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: Tue, 24 Mar 2026 09:51:18 +0800 Subject: [PATCH] =?UTF-8?q?20260304=E4=B8=B4=E6=97=B6=E8=A1=A5=E6=95=91art?= =?UTF-8?q?icle=5Flist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Apc.html | 4 +- Apc_bmec.html | 276 +++ Apc_mdm.html | 276 +++ ManuscriptProduce.html | 3 + Ongoing.html | 59 + article.html | 3 + bmec/apc/index.html | 16 + common_for_author.html | 198 ++ gue_cont.html | 2 +- ia/index.html | 16 + idr/index.html | 2 +- img/h2Ia1.png | Bin 0 -> 11666 bytes journalIndex/js/journal.js | 4259 ++++++++++++++++++++---------------- journals_ghr1.html | 101 +- js/article.js | 237 +- js/articleJS/article_y.js | 5 + js/articleJS/index.js | 20 +- js/article_v2.js | 222 +- js/common/commonJS.js | 147 ++ js/common/commonJS1.js | 171 ++ js/commonHomePage.js | 58 +- js/forAuthor.js | 35 +- js/gue_cont_v1.js | 14 +- js/journal.js | 9 +- js/js.js | 18 +- js/notice_v1.js | 131 +- js/ongoing_v1.js | 508 +++++ js/scientist/index.js | 4 +- js/side.js | 18 +- jstmr/journal.js | 2 +- jstmr/side.js | 2 +- mdm/apc/index.html | 16 + ongoing_v1.html | 59 + style/commonOngoing_v1.css | 1002 +++++++++ 34 files changed, 5827 insertions(+), 2066 deletions(-) create mode 100644 Apc_bmec.html create mode 100644 Apc_mdm.html create mode 100644 Ongoing.html create mode 100644 bmec/apc/index.html create mode 100644 common_for_author.html create mode 100644 ia/index.html create mode 100644 img/h2Ia1.png create mode 100644 js/common/commonJS.js create mode 100644 js/common/commonJS1.js create mode 100644 js/ongoing_v1.js create mode 100644 mdm/apc/index.html create mode 100644 ongoing_v1.html create mode 100644 style/commonOngoing_v1.css diff --git a/Apc.html b/Apc.html index f1fb094..b584575 100644 --- a/Apc.html +++ b/Apc.html @@ -22,7 +22,7 @@

Article Processing Charge (APC)

All articles published in Traditional Medicine Research are fully open access. The article processing fee - is 600 United States Dollars (USD), applicable to papers submitted after January 1, 2025, and ultimately + is 800 United States Dollars (USD), applicable to papers submitted after January 1, 2026, and ultimately accepted for publication.
Additionally, besides USD, we also accept New Zealand Dollars (NZD). @@ -330,7 +330,7 @@ margin-top: 20px; margin-bottom: 10px; font-weight: 600; - color: #012169+; + color: #012169; font-size: 18px; } diff --git a/Apc_bmec.html b/Apc_bmec.html new file mode 100644 index 0000000..5486af6 --- /dev/null +++ b/Apc_bmec.html @@ -0,0 +1,276 @@ + + + + + + + + + + + + +

+
+ +
+

Trend of Medical Research

+
+
+
+

Article Processing Charge (APC)

+

All articles published in Biomedical Engineering Communications (BMEC) are made openly accessible, allowing readers worldwide to freely read and use the published content. + +

In order to cover the costs of editorial handling, peer review, production, online publication, long-term archiving, and journal administration, an Article Processing Charge (APC) of USD 500 will apply to manuscripts accepted on or after January 1, 2026. Payments may be made in US Dollars (USD) or New Zealand Dollars (NZD). +

Any applicable local VAT or other taxes will be charged in accordance with relevant regulations. +

The APC is requested only after a manuscript has been formally accepted for publication. Please note that no refunds will be issued once acceptance has been confirmed, under any circumstances. +

+
+ +

Fee Discount Application Form

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SectionDetails
Full name
Date of Birth (DD/MM/YYYY)
Affiliation/Institution
Email Address
Justification for Discount(Please briefly describe your funding situation and reasons for requesting a discount)
Statement of Limited Funding☐ Included    ☐ Not Included
Signature
Date
+ + + +

a. Corresponding authors who have published papers in Biomedical Engineering Communications within the past three + years are eligible for a 15% discount on each subsequent article. +
b. As a reviewer for the Biomedical Engineering Communications journal, you are eligible for discounts + based on an earned point system. Upon completing a review, you will receive a 5% discount toward future + submissions. The corresponding points will be deducted from your account upon application of the + discount. +

+ +

Please note:

+

If there are several corresponding authors, it is advisable to designate one as the responsible + corresponding author.

+

If a corresponding author qualifies for more than one discount, the most advantageous discount will be + applied, as combining discounts is not permitted.

+

Authors submitting manuscripts may choose only one most beneficial discount, and combining discounts is + not permitted.

+
+ +
+ + + + + + + \ No newline at end of file diff --git a/Apc_mdm.html b/Apc_mdm.html new file mode 100644 index 0000000..0216191 --- /dev/null +++ b/Apc_mdm.html @@ -0,0 +1,276 @@ + + + + + + + + + + + + +
+
+ +
+

Trend of Medical Research

+
+
+
+

Article Processing Charge (APC)

+

All articles published in Medical Data Mining (MDM) are made openly accessible, allowing readers worldwide to freely read and use the published content. + +

In order to cover the costs of editorial handling, peer review, production, online publication, long-term archiving, and journal administration, an Article Processing Charge (APC) of USD 400 will apply to manuscripts accepted on or after January 1, 2026. Payments may be made in US Dollars (USD) or New Zealand Dollars (NZD). +

Any applicable local VAT or other taxes will be charged in accordance with relevant regulations. +

The APC is requested only after a manuscript has been formally accepted for publication. Please note that no refunds will be issued once acceptance has been confirmed, under any circumstances. +

+
+ +

Fee Discount Application Form

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SectionDetails
Full name
Date of Birth (DD/MM/YYYY)
Affiliation/Institution
Email Address
Justification for Discount(Please briefly describe your funding situation and reasons for requesting a discount)
Statement of Limited Funding☐ Included    ☐ Not Included
Signature
Date
+ + + +

a. Corresponding authors who have published papers in Medical Data Mining within the past three + years are eligible for a 15% discount on each subsequent article. +
b. As a reviewer for the Medical Data Mining journal, you are eligible for discounts + based on an earned point system. Upon completing a review, you will receive a 5% discount toward future + submissions. The corresponding points will be deducted from your account upon application of the + discount. +

+ +

Please note:

+

If there are several corresponding authors, it is advisable to designate one as the responsible + corresponding author.

+

If a corresponding author qualifies for more than one discount, the most advantageous discount will be + applied, as combining discounts is not permitted.

+

Authors submitting manuscripts may choose only one most beneficial discount, and combining discounts is + not permitted.

+
+ +
+ + + + + + + \ No newline at end of file diff --git a/ManuscriptProduce.html b/ManuscriptProduce.html index 1443736..cfb046c 100644 --- a/ManuscriptProduce.html +++ b/ManuscriptProduce.html @@ -551,6 +551,9 @@ if (localStorage.Journals_title == 'Infectious Diseases Research') { script.dataset['trendmdconfig'] = "{'journal_id':'79585', 'element':'#trendmd-suggestions'}"; } + if (localStorage.Journals_title == 'Infection Advances') { + script.dataset['trendmdconfig'] = "{'journal_id':'79585', 'element':'#trendmd-suggestions'}"; + } if (localStorage.Journals_title == 'Aging Communications') { script.dataset['trendmdconfig'] = "{'journal_id':'79584', 'element':'#trendmd-suggestions'}"; } diff --git a/Ongoing.html b/Ongoing.html new file mode 100644 index 0000000..d557779 --- /dev/null +++ b/Ongoing.html @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+
+
+ +
+ +
+ + +
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/article.html b/article.html index 72d0ab8..a47bc83 100644 --- a/article.html +++ b/article.html @@ -225,6 +225,9 @@ if (localStorage.Journals_title == 'Infectious Diseases Research') { script.dataset['trendmdconfig'] = "{'journal_id':'79585', 'element':'#trendmd-suggestions'}"; } + if (localStorage.Journals_title == 'Infection Advances') { + script.dataset['trendmdconfig'] = "{'journal_id':'79585', 'element':'#trendmd-suggestions'}"; + } if (localStorage.Journals_title == 'Aging Communications') { script.dataset['trendmdconfig'] = "{'journal_id':'79584', 'element':'#trendmd-suggestions'}"; } diff --git a/bmec/apc/index.html b/bmec/apc/index.html new file mode 100644 index 0000000..84f4512 --- /dev/null +++ b/bmec/apc/index.html @@ -0,0 +1,16 @@ + + + + + Biomedical Engineering Communications + + + + + + + + + + + \ No newline at end of file diff --git a/common_for_author.html b/common_for_author.html new file mode 100644 index 0000000..98ca092 --- /dev/null +++ b/common_for_author.html @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + +
+
+
+ +
+
+ +
+ + +
+

+

+
+

ISSN:

+

Editor-in-Chief:

+

Editorial Board: + +

+

Acceptance:

+

Final Decision:

+

APC:

+

Frequency:

+

E-Mail:

+
+ +
+ +
+
+
+
+
    + +
+
+
+ +
+
+ +
+
+ + +
+ +
+
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gue_cont.html b/gue_cont.html index 5cb08b5..1d2a21f 100644 --- a/gue_cont.html +++ b/gue_cont.html @@ -20,7 +20,7 @@ - + diff --git a/ia/index.html b/ia/index.html new file mode 100644 index 0000000..b0eddcc --- /dev/null +++ b/ia/index.html @@ -0,0 +1,16 @@ + + + + + Infection Advances + + + + + + + + + + + \ No newline at end of file diff --git a/idr/index.html b/idr/index.html index 5b580e4..b0eddcc 100644 --- a/idr/index.html +++ b/idr/index.html @@ -2,7 +2,7 @@ - Infectious Diseases Research + Infection Advances diff --git a/img/h2Ia1.png b/img/h2Ia1.png new file mode 100644 index 0000000000000000000000000000000000000000..4b0107cbcbcd8dfd27cf6360618b36ab396e2d5d GIT binary patch literal 11666 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%0A|sEs;tWSxnPPygV%MIOuMip${ITh062Qe`3ztL z1b1+DU7CypfzMA4t0GJhs0W8ULjnp?yf?NFmAdRHSMjHr2(KV~Cl8Nvy~~XQ-M6R+ z^*R#0YaYrN+T1HyKhpOBY=G;93iLY9$NpqRBw+G~ZY$nvKXn92_s?z0>#sU8iBM6*X literal 0 HcmV?d00001 diff --git a/journalIndex/js/journal.js b/journalIndex/js/journal.js index 4985834..1415984 100644 --- a/journalIndex/js/journal.js +++ b/journalIndex/js/journal.js @@ -1,41 +1,51 @@ - // 期刊基础、外链、分期、话题信息加载 -var Journals_color = '#006699' -var cycle = '' +var Journals_color = "#006699"; +var cycle = ""; function bf_list() { - - - $('.article_ .bgv_san .alls_issue').css({ - 'background': 'none', - - }) - // 相关期刊,过往分期 - $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getJournal', - data: { - "journal_id": Jour_num - }, - success: function (result) { - - - if (result.code == 0) { - cycle = result.data.journal.cycle - Journals_color = result.data.journal.system_color - $('.border_title').css({ - 'border-bottom': `1px solid ${Journals_color}`, - }) - $('.border_title_top').css({ - 'border-top': `3px solid ${Journals_color}`, - }) - $('.article_info_box .tradition-box .tradition-text .article_info_Highlights').css({ - 'color': `${Journals_color} !important`, - - }) - // - const style = document.createElement('style'); - style.innerHTML = `/* 遮罩层 */ + $(".article_ .bgv_san .alls_issue").css({ + background: "none", + }); + // 相关期刊,过往分期 + $.ajax({ + type: "post", + url: apiUrl + "api/Journal/getJournal", + data: { + journal_id: Jour_num, + }, + success: function (result) { + if (result.code == 0) { + cycle = result.data.journal.cycle; + Journals_color = result.data.journal.system_color; + $(".border_title").css({ + "border-bottom": `1px solid ${Journals_color}`, + }); + $(".border_title_top").css({ + "border-top": `3px solid ${Journals_color}`, + }); + $( + ".article_info_box .tradition-box .tradition-text .article_info_Highlights" + ).css({ + color: `${Journals_color} !important`, + }); + // + const style = document.createElement("style"); + style.innerHTML = ` + .tradition-content { + color: #888; + line-height: 20px; + } + .tradition-content i,.tradition-content i *{ + font-weight: 300 !important; + } + .tradition-content blue,.tradition-content blue *{ + color: rgb(0, 112, 192) !important; + } + .tradition-content b,.tradition-content b *{ + font-weight: bold !important; + } + /* 遮罩层 */ .overall_tmr .article .art_main .new_art>ul li{ -border-bottom:1px solid ${Journals_color} + border-bottom:1px solid ${Journals_color} } .overall_tmr .article{ padding-bottom:0 !important; @@ -59,7 +69,7 @@ border-bottom:1px solid ${Journals_color} top:20px; } .ment_sousuo_kuang{ -margin-top:15px; + margin-top:15px; } .ment_sousuo_kuang>div{ padding-bottom:15px !important; @@ -132,1393 +142,1846 @@ margin-top:15px; padding-bottom:30px; } `; - document.head.appendChild(style); - if (Jour_num == 1) { - $('.Special_Issues_box .more').css({ - 'top': '45px', - - }) - $('.ncon_hl .more').css({ - 'top': '45px', - - }) - } - - initJournalBaseInfo(result) - - var arr_stage = result.data.journalStage; - var str = ""; - for (var i = 0; i < result.data.journalStage.length && i < 4; i++) { - - if (arr_stage[i].stage_no == '0') { - var iss_ = '' - } else { - var iss_ = ' Issue.' + arr_stage[i].stage_no + '' - } - if (arr_stage[i].stage_icon == '') { - str += '
  • ' + - '' + - '

    ' + arr_stage[i].stage_year + 'Vol. ' + arr_stage[i].stage_vol + '' - + iss_ + '' + arr_stage[i].stage_pagename + ' ' + arr_stage[i].stage_page + '

  • ' - } else { - str += '
  • ' + - '' + - '

    ' + arr_stage[i].stage_year + 'Vol. ' + arr_stage[i].stage_vol + '' - + iss_ + '' + arr_stage[i].stage_pagename + ' ' + arr_stage[i].stage_page + '

  • ' - } - } - $('.alls_issue>div>ul').html(str); - $('.alls_issue>a').attr('href', 'stages.html?J_num=' + Jour_num); - - //var arr = result.data.relats; - //var str = ""; - // - //for (var i = 0; i < arr.length; i++) { - // - // str += '
  • ' + - // '
  • ' - // - //} - // - //$('.Rel_ated>ul').html(str); - //if (arr == '') { - // $('.Rel_ated').css('display', 'none') - //} - //if (localStorage.Journals_title == '经典中医研究') { - // $('.Rel_ated>h4').html('相关期刊'); - // $('.more').html('更多'); - //} - } else { - // ShowDanger("请求失败!"); - } - }, - error: function () { - ShowDanger("error!"); + document.head.appendChild(style); + if (Jour_num == 1) { + $(".Special_Issues_box .more").css({ + top: "45px", + }); + $(".ncon_hl .more").css({ + top: "45px", + }); } - }) - // 中侧推广文章 - $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getJournalArticles', - data: { - "journal_id": Jour_num - }, - success: function (result) { - if (result.code == 0) { - var atg = result.data.stage; - if (atg.stage_no == '0') { - var time_ = atg.issue_date + ', Volume ' + atg.stage_vol; - } else { - var time_ = atg.issue_date + ', Volume ' + atg.stage_vol + ' Issue ' + atg.stage_no; - } - $('.jour_base_info .jour_base_info_center .mes_all .mes_all_section .mes_all_current_issue_time').html(time_) - if (atg.stage_no == '0') { - var act_year = ' ' + atg.stage_year + ', ' + atg.stage_vol; - } else { - var act_year = ' ' + atg.stage_year + ', ' + atg.stage_vol + ' (' + atg.stage_no + ')'; - } - var arr = result.data.articleList; - var str = ""; - var sth = ""; - var stj = ""; + initJournalBaseInfo(result); + var arr_stage = result.data.journalStage; + var str = ""; + for (var i = 0; i < result.data.journalStage.length && i < 4; i++) { + if (arr_stage[i].stage_no == "0") { + var iss_ = ""; + } else { + var iss_ = " Issue." + arr_stage[i].stage_no + ""; + } + if (arr_stage[i].stage_icon == "") { + str += + '
  • ' + + '' + + '

    ' + + arr_stage[i].stage_year + + "Vol. " + + arr_stage[i].stage_vol + + "" + + iss_ + + "" + + arr_stage[i].stage_pagename + + " " + + arr_stage[i].stage_page + + "

  • "; + } else { + str += + '
  • ' + + '' + + "

    " + + arr_stage[i].stage_year + + "Vol. " + + arr_stage[i].stage_vol + + "" + + iss_ + + "" + + arr_stage[i].stage_pagename + + " " + + arr_stage[i].stage_page + + "

  • "; + } + } + $(".alls_issue>div>ul").html(str); + $(".alls_issue>a").attr("href", "stages.html?J_num=" + Jour_num); + } else { + // ShowDanger("请求失败!"); + } + }, + error: function () { + ShowDanger("error!"); + }, + }); + // 中侧推广文章 + $.ajax({ + type: "post", + url: apiUrl + "api/Journal/getJournalArticles", + data: { + journal_id: Jour_num, + }, + success: function (result) { + if (result.code == 0) { + var atg = result.data.stage; + if (atg.stage_no == "0") { + var time_ = atg.issue_date + ", Volume " + atg.stage_vol; + } else { + var time_ = + atg.issue_date + + ", Volume " + + atg.stage_vol + + " Issue " + + atg.stage_no; + } + // 在第 238 行附近修改 +var $target = $(".mes_all_current_issue_time"); +if ($target.length > 0) { + $target.html(time_); +} else { + // 如果没找到,尝试延迟 100ms 再试一次 + setTimeout(function() { + $(".mes_all_current_issue_time").html(time_); + }, 500); +} + + if (atg.stage_no == "0") { + var act_year = " " + atg.stage_year + ", " + atg.stage_vol; + } else { + var act_year = + " " + + atg.stage_year + + ", " + + atg.stage_vol + + " (" + + atg.stage_no + + ")"; + } - for (var i = 0; i < arr.length; i++) { - if (arr[i].doi == '') { - var doi_ = '' - } else { - var doi_ = 'https://doi.org/' + arr[i].doi - } - if (arr[i].npp == '') { - var npp_ = '' - } else { - var npp_ = ': ' + arr[i].npp + '.  ' - } - if (arr[i].has_html == 0) { - if (arr[i].file_html == '') { - var html_ = '' - } else { - var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' - } - } else { - var html_ = 'HTML ( ' + arr[i].html_num + ' )  ' - } - if (arr[i].file_pdf == '') { - var pdf_ = '' - } else { - var pdf_ = 'PDF ( ' + arr[i].pdf_num + ' )' - } - if (arr[i].cite_num == 0) { - var cite_ = '' - } else { - var cite_ = ` WOS Citations ( ${arr[i].cite_num}  ) -
    ` - } - if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { - var tong_geogle = ' ' + - '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 = ' ' + - '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 = ' ' + - 'Google Scholar' //搜索引用次数 - } else { - var tong_geogle_2_2 = '' //少于21天隐藏 - } + var arr = result.data.articleList; + var str = ""; + var sth = ""; + var stj = ""; - if (arr[i].article_id == '172') { - var mp4_ = '' - } else { - var mp4_ = '' - } - if (arr[i].icon == '') { - var img_i = '' - } else { - var img_i = imgarticleUrl + arr[i].icon - } + for (var i = 0; i < arr.length; i++) { + if (arr[i].doi == "") { + var doi_ = ""; + } else { + var doi_ = "https://doi.org/" + arr[i].doi; + } + if (arr[i].npp == "") { + var npp_ = ""; + } else { + var npp_ = ": " + arr[i].npp + ".  "; + } + if (arr[i].has_html == 0) { + if (arr[i].file_html == "") { + var html_ = ""; + } else { + var html_ = + 'HTML ( ' + + arr[i].html_num + + " )  "; + } + } else { + var html_ = + 'HTML ( ' + + arr[i].html_num + + " )  "; + } + if (arr[i].file_pdf == "") { + var pdf_ = ""; + } else { + var pdf_ = + 'PDF ( ' + + arr[i].pdf_num + + " )"; + } + if (arr[i].cite_num == 0) { + var cite_ = ""; + } else { + var cite_ = ` WOS Citations ( ${arr[i].cite_num}  ) +
    `; + } + if ( + (Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / + 86400 >= + 21 + ) { + var tong_geogle = + '", "") + .replace("", "") + .replace(new RegExp('"', "g"), "") + + '"' + + '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 = + '", "") + .replace("", "") + .replace(new RegExp('"', "g"), "") + + '"' + + '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 = + '", "") + .replace("", "") + .replace(new RegExp('"', "g"), "") + + '"' + + 'target = "_blank" style="color: #7a2702;margin:5px 37px 0 0;display: inline-block;"> ' + + "Google Scholar"; //搜索引用次数 + } else { + var tong_geogle_2_2 = ""; //少于21天隐藏 + } - if (arr[i].other_state == 0) { - var otStat = '' - } else if (arr[i].other_state == 1) { - var otStat = 'Editorial Expression of Concern' - } else if (arr[i].other_state == 2) { - var otStat = 'Retracted' - } + if (arr[i].article_id == "172") { + var mp4_ = + ''; + } else { + var mp4_ = ""; + } + if (arr[i].icon == "") { + var img_i = ""; + } else { + var img_i = imgarticleUrl + arr[i].icon; + } - if (arr[i].article_id == '86' || arr[i].article_id == '176' || arr[i].article_id == '455' || arr[i].article_id == '400' || arr[i].article_id == '145' || arr[i].article_id == '116' || arr[i].article_id == '717' || arr[i].article_id == '632' || arr[i].article_id == '24') { - var person_img = '' - var person_img1 = '' - } else { - var person_img = '' - if (img_i && img_i != '') { - var person_img1 = '
    ' + if (arr[i].other_state == 0) { + var otStat = ""; + } else if (arr[i].other_state == 1) { + var otStat = + 'Editorial Expression of Concern'; + } else if (arr[i].other_state == 2) { + var otStat = 'Retracted'; + } - } else { - var person_img1 = '
    ' - } + if ( + arr[i].article_id == "86" || + arr[i].article_id == "176" || + arr[i].article_id == "455" || + arr[i].article_id == "400" || + arr[i].article_id == "145" || + arr[i].article_id == "116" || + arr[i].article_id == "717" || + arr[i].article_id == "632" || + arr[i].article_id == "24" + ) { + var person_img = + ''; + var person_img1 = + ''; + } else { + var person_img = + ''; + if (img_i && img_i != "") { + var person_img1 = + '
    '; + } else { + var person_img1 = + '
    '; + } + } - } + arr[i].abstract = arr[i].abstract.replace( + new RegExp("0, 102, 204", "g"), + "0,102,153" + ); + var c_t_a = + ''; - arr[i].abstract = arr[i].abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") + var link_ = + 'Abstract ( ' + + arr[i].abs_num + + " )   " + + html_ + + pdf_ + + mp4_ + + c_t_a + + cite_ + + tong_geogle + + '

    ' + + 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++) { + lr_top += + '' + + arr[i].topic[t].title + + ""; + } + } + var trad_tion = ""; + var maxTradHeight = 220; // 设置最大高度 + if (Jour_num == 1) { + if (arr[i].tradition_tag == "") { + } else { + var traditionText = arr[i].tradition; - var c_t_a = '' - - var link_ = 'Abstract ( ' + arr[i].abs_num + ' )   ' + - html_ + pdf_ + mp4_ + c_t_a + cite_ + tong_geogle - + '

    ' + 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++) { - lr_top += '' + arr[i].topic[t].title + '' - } - } - var trad_tion = ''; - var maxTradHeight = 220; // 设置最大高度 - if (Jour_num == 1) { - if (arr[i].tradition_tag == '') { - - } else { - var traditionText = arr[i].tradition; - - - trad_tion = `
    -
    ${arr[i].tradition_tag}: ${traditionText}
    + trad_tion = `
    +
    ${arr[i].tradition_tag}:
    ${traditionText}
    `; - setTimeout(() => { - let traditionElement = document.querySelector('.tradition-text:last-of-type'); - if (traditionElement.scrollHeight > maxTradHeight) { - let words = traditionText.split(" "); - let truncatedText = ""; - - for (let j = 0; j < words.length; j++) { - truncatedText += words[j] + " "; - traditionElement.innerText = truncatedText + "..."; - if (traditionElement.scrollHeight > maxTradHeight) { - truncatedText = truncatedText.trim().split(" ").slice(0, -1).join(" "); - traditionElement.innerText = truncatedText + " ..."; - break; - } - } - } - }, 100); // 确保 DOM 渲染完成 - } - } else { - if (arr[i].tradition_tag == '' || arr[i].tradition_tag == null) { - var textContent = arr[i].abstract; - } else { - var textContent = '' + arr[i].tradition_tag + ': ' + arr[i].tradition; - } - - - - trad_tion = `
    -
    ${textContent}
    -
    `; + setTimeout(() => { + let traditionElement = document.querySelector( + ".tradition-text:last-of-type" + ); + if (traditionElement.scrollHeight > maxTradHeight) { + let words = traditionText.split(" "); + let truncatedText = ""; + for (let j = 0; j < words.length; j++) { + truncatedText += words[j] + " "; + traditionElement.innerText = truncatedText + "..."; + if (traditionElement.scrollHeight > maxTradHeight) { + truncatedText = truncatedText + .trim() + .split(" ") + .slice(0, -1) + .join(" "); + traditionElement.innerText = truncatedText + " ..."; + break; } - {/*

    */ } - str += `
  • + } + } + }, 100); // 确保 DOM 渲染完成 + } + } else { + if (arr[i].tradition_tag == "" || arr[i].tradition_tag == null) { + var textContent = arr[i].abstract; + } else { + var textContent = + '' + + arr[i].tradition_tag + + ": " + + arr[i].tradition; + } + + trad_tion = `
    +
    ${textContent}
    +
    `; + } + { + /*

    */ + } + str += `
  • ${arr[i].type} -
    ${lr_top}
    ${cycle == 0 && arr[i].pub_date ? arr[i].pub_date : ''} +
    ${lr_top}
    ${ + cycle == 0 && arr[i].pub_date ? arr[i].pub_date : "" + }
    ${person_img1}
    -
  • ` - - } - - - $('.current_list .current_issue_time').css({ - 'color': "#888", - 'font-weight': '500', - }); - - $('.current_list h4').css({ - 'border-top': "none", - 'margin-top': "0", - }); - $('.current_list .current_issue_time').html(time_); - $('.current_list>ul').html(str); - $('.links_ .txt_copy').css('background', localStorage.Journals_color); - $('.url_top a').css('margin-right', '0'); - $(".current_list ul>li .apwrap>div>div>p").each(function () { - var maxwidth = 335;//显示多少字符 - if ($(this).text().length > maxwidth) { - $(this).text($(this).text().substring(0, maxwidth)); - $(this).text($(this).text().substring(0, maxwidth - $(this).text().split(" ").pop().length)); - $(this).html($(this).html() + '...'); - } - }); - $(".current_list ul li.pai_two .apwrap>div>div>p").each(function () { - var maxwidth = 140;//显示多少字符 - if ($(this).text().length > maxwidth) { - $(this).text($(this).text().substring(0, maxwidth)); - $(this).text($(this).text().substring(0, maxwidth - $(this).text().split(" ").pop().length)); - $(this).html($(this).html() + '...'); - } - }); - - // 点击read more效果 - // $('.current_list li .apwrap>div>b').click(function () { - // if($(this).html()=='read more '){ - // $(this).siblings('div').css('display', 'block'); - // $(this).html('read more '); - // }else{ - // $(this).siblings('div').css('display', '-webkit-box'); - // $(this).html('read more ') - // } - // }) - - - // 点击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({ - type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, - data: { "article_id": $(this).attr('alt'), "type": 'abs' }, - success: function (result) { - if (result.code == 0) { - num = num * 1 + 1 * 1 - } - } - }) - $.ajax({ - type: 'post', url: apiUrl + 'super/Publish/addVisitNum', - data: { 'type': Jour_num, 'is_detail': '1' }, - success: function (result) { - } - }); - $(this).next().html(num); - } - }) - $('.current_list .txt_html').click(function () { - var num = $(this).next().html(); - $.ajax({ - type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, - data: { "article_id": $(this).attr('alt'), "type": 'html' }, - success: function (result) { - if (result.code == 0) { - num = num * 1 + 1 * 1 - } - } - }) - $.ajax({ - type: 'post', url: apiUrl + 'super/Publish/addVisitNum', - data: { 'type': Jour_num, 'is_detail': '1' }, - success: function (result) { - } - }); - $(this).next().html(num); - }) - $('.current_list .txt_pdf').click(function () { - var num = $(this).next().html(); - $.ajax({ - type: 'post', url: apiUrl + 'yuan/Article/addArticleNum', async: false, - data: { "article_id": $(this).attr('alt'), "type": 'pdf' }, - success: function (result) { - if (result.code == 0) { - num = num * 1 + 1 * 1 - } - } - }) - $.ajax({ - type: 'post', url: apiUrl + 'super/Publish/addVisitNum', - data: { 'type': Jour_num, 'is_detail': '1' }, - success: function (result) { - } - }); - $(this).next().html(num); - }) - $('.current_list .export_cite').css('display', 'none'); - $(document).click(function (e) { - if (!$(e.target).is('.export_cite') && !$(e.target).is('.cite_box')) { - $('.export_cite').hide(); - } - }) - $('.current_list .cite_box').click(function () { - $('.export_cite').css('display', 'none'); - getCiteList($(this).attr('article_id')) - $(this).find('.export_cite').fadeIn(200); - }) - $('.export_cite').click(function (e) { e.stopPropagation() }) - - // 点击弹窗出现 复制和下载 - $('.current_list .txt_content').css('display', 'none'); - $('.current_list .export').css('display', 'none'); - $(document).click(function (e) { - if (!$(e.target).is('.export') && !$(e.target).is('.txt_copy')) { - $('.export').hide(); - } - }) - $('.current_list .txt_copy').click(function () { - $('.export').css('display', 'none'); - $(this).find('.export').fadeIn(200); - }) - $('.current_list .Exc_1').click(function () { - var content_ = $(this).parents('.txt_copy').nextAll('.txt_content').text(); - var clipboard = new Clipboard('#' + $(this).attr('id'), { - text: function () { - return content_; - } - }) - clipboard.on('success', function (e) { - ShowSuccess("Citation information has been copied!"); - }); - }) - $('.current_list .Exc_2').click(function () { - var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id') - $.ajax({ - type: 'post', url: apiUrl + 'api/Article/getArticleenw', async: false, - data: { "article_id": ecx_id }, - success: function (result) { - var a = document.createElement('a'); - a.href = result.data.url; - a.download = '' - a.click(); - } - }) - }) - $('.current_list .Exc_3').click(function () { - var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id') - $.ajax({ - type: 'post', url: apiUrl + 'api/Article/getArticleRis', async: false, - data: { "article_id": ecx_id }, - success: function (result) { - var a = document.createElement('a'); - a.href = result.data.url; - a.download = '' - a.click(); - } - }) - }) - $('.current_list .Exc_4').click(function () { - var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id') - $.ajax({ - type: 'post', url: apiUrl + 'api/Article/getArticlebib', async: false, - data: { "article_id": ecx_id }, - success: function (result) { - var a = document.createElement('a'); - a.href = result.data.url; - a.download = '' - a.click(); - } - }) - }) - - $('.current_list .Exc_5').click(function () { - var ecx_id = $(this).parents('.links_').siblings('.txt_biaoti').attr('id') - $.ajax({ - type: 'post', url: apiUrl + 'api/Article/getArticletext', async: false, - data: { "article_id": ecx_id }, - success: function (result) { - var a = document.createElement('a'); - a.href = result.data.url; - a.download = '' - a.click(); - } - }) - }) - - - // 订阅期刊 - $('.top .top_sea .b_Sub').css('color', localStorage.Journals_color) - $('.top .top_sea .search_for select').css('border-color', localStorage.Journals_color) - - $('.top .dingyue input.yue_add').css('background-color', localStorage.Journals_color); - $('.top .dingyue p b').html(localStorage.Journals_title); - $('.top .jour_ts input.tishi_author').css('background-color', localStorage.Journals_color); - // 添加订阅按钮点击弹出 - // $('.top .top_sea .b_Sub').click(function () { - // $("#mask").css("height",$(document).height()); - // $("#mask").css("width",$(document).width()); - // $("#mask").show(); - // $(".dingyue").fadeIn(); - // document.body.addEventListener('touchmove',bodyScroll,false); - // $('body').css({'position':'fixed',"width":"100%"}); - // }) - $(".top .dingyue .mb_close").click(function () { - $("#mask").hide(); - $(".dingyue").fadeOut(); - document.body.removeEventListener('touchmove', bodyScroll, false); - $("body").css({ "position": "initial", "height": "auto" }); - }); - $(".top .dingyue input.yue_close").click(function () { - $("#mask").hide(); - $(".dingyue").fadeOut(); - document.body.removeEventListener('touchmove', bodyScroll, false); - $("body").css({ "position": "initial", "height": "auto" }); - }); - $(".top .jour_ts input.tishi_author").click(function () { - $("#mask").hide(); - $(".jour_ts").fadeOut(); - document.body.removeEventListener('touchmove', bodyScroll, false); - $("body").css({ "position": "initial", "height": "auto" }); - }); - - function bodyScroll(event) { - event.preventDefault(); - } - - // 订阅提交 - $(".yue_add").click(function () { - $(".spa").text(''); - var add_mess = {}; - add_mess.journal_id = localStorage.Journals_num; - add_mess.email = $('#emapl').val(); - - var S_Dan = '0'; - var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/ - if ($("#emapl").val() == "") { - $(".spa1").text('Please fill in E-mail'); - S_Dan = '1'; - } else if (!(reg.test($("#emapl").val()))) { - $(".spa1").text('Please fill in properly formatted E-mail'); - S_Dan = '1'; - } - - - if (S_Dan == '1') { - ShowDanger("Incomplete information!"); - } else { - $(".yue_add").addClass("disable"); - $.ajax({ - type: 'post', url: apiUrl + 'subscribe/Journal/addSubscribeJournal', - data: add_mess, - success: function (result) { - if (result.code == 0) { - $(".dingyue").fadeOut(); - $(".dingyue input[type='text']").val(''); - $(".yue_add").removeClass("disable"); - $(".jour_ts").fadeIn(); - } else { - ShowDanger(result.msg); - $(".yue_add").removeClass("disable"); - } - }, - error: function () { - ShowDanger("error!"); - $(".yue_add").removeClass("disable"); - } - }) - } - }) - - } else { - // ShowDanger("请求失败!"); - } - }, - error: function () { - ShowDanger("error!"); + `; } - }) - // 增加访问次数 - $.ajax({ - type: 'post', url: apiUrl + 'super/Publish/addVisitNum', - data: { 'type': Jour_num }, - success: function (result) { - if (result.code == 0) { + $(".current_list .current_issue_time").css({ + color: "#888", + "font-weight": "500", + }); - } else { - // ShowDanger("请求失败!"); - } - }, - error: function () { - // ShowDanger("error!"); + $(".current_list h4").css({ + "border-top": "none", + "margin-top": "0", + }); + $(".current_list .current_issue_time").html(time_); + $(".current_list>ul").html(str); + $(".links_ .txt_copy").css("background", localStorage.Journals_color); + $(".url_top a").css("margin-right", "0"); + $(".current_list ul>li .apwrap>div>div>p").each(function () { + var maxwidth = 335; //显示多少字符 + if ($(this).text().length > maxwidth) { + $(this).text($(this).text().substring(0, maxwidth)); + $(this).text( + $(this) + .text() + .substring(0, maxwidth - $(this).text().split(" ").pop().length) + ); + $(this).html($(this).html() + "..."); + } + }); + $(".current_list ul li.pai_two .apwrap>div>div>p").each(function () { + var maxwidth = 140; //显示多少字符 + if ($(this).text().length > maxwidth) { + $(this).text($(this).text().substring(0, maxwidth)); + $(this).text( + $(this) + .text() + .substring(0, maxwidth - $(this).text().split(" ").pop().length) + ); + $(this).html($(this).html() + "..."); + } + }); + + // 点击read more效果 + // $('.current_list li .apwrap>div>b').click(function () { + // if($(this).html()=='read more '){ + // $(this).siblings('div').css('display', 'block'); + // $(this).html('read more '); + // }else{ + // $(this).siblings('div').css('display', '-webkit-box'); + // $(this).html('read more ') + // } + // }) + + // 点击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({ + type: "post", + url: apiUrl + "yuan/Article/addArticleNum", + async: false, + data: { article_id: $(this).attr("alt"), type: "abs" }, + success: function (result) { + if (result.code == 0) { + num = num * 1 + 1 * 1; + } + }, + }); + $.ajax({ + type: "post", + url: apiUrl + "super/Publish/addVisitNum", + data: { type: Jour_num, is_detail: "1" }, + success: function (result) {}, + }); + $(this).next().html(num); + } + }); + $(".current_list .txt_html").click(function () { + var num = $(this).next().html(); + $.ajax({ + type: "post", + url: apiUrl + "yuan/Article/addArticleNum", + async: false, + data: { article_id: $(this).attr("alt"), type: "html" }, + success: function (result) { + if (result.code == 0) { + num = num * 1 + 1 * 1; + } + }, + }); + $.ajax({ + type: "post", + url: apiUrl + "super/Publish/addVisitNum", + data: { type: Jour_num, is_detail: "1" }, + success: function (result) {}, + }); + $(this).next().html(num); + }); + $(".current_list .txt_pdf").click(function () { + var num = $(this).next().html(); + $.ajax({ + type: "post", + url: apiUrl + "yuan/Article/addArticleNum", + async: false, + data: { article_id: $(this).attr("alt"), type: "pdf" }, + success: function (result) { + if (result.code == 0) { + num = num * 1 + 1 * 1; + } + }, + }); + $.ajax({ + type: "post", + url: apiUrl + "super/Publish/addVisitNum", + data: { type: Jour_num, is_detail: "1" }, + success: function (result) {}, + }); + $(this).next().html(num); + }); + $(".current_list .export_cite").css("display", "none"); + $(document).click(function (e) { + if (!$(e.target).is(".export_cite") && !$(e.target).is(".cite_box")) { + $(".export_cite").hide(); + } + }); + $(".current_list .cite_box").click(function () { + $(".export_cite").css("display", "none"); + getCiteList($(this).attr("article_id")); + $(this).find(".export_cite").fadeIn(200); + }); + $(".export_cite").click(function (e) { + e.stopPropagation(); + }); + + // 点击弹窗出现 复制和下载 + $(".current_list .txt_content").css("display", "none"); + $(".current_list .export").css("display", "none"); + $(document).click(function (e) { + if (!$(e.target).is(".export") && !$(e.target).is(".txt_copy")) { + $(".export").hide(); + } + }); + $(".current_list .txt_copy").click(function () { + $(".export").css("display", "none"); + $(this).find(".export").fadeIn(200); + }); + $(".current_list .Exc_1").click(function () { + var content_ = $(this) + .parents(".txt_copy") + .nextAll(".txt_content") + .text(); + var clipboard = new Clipboard("#" + $(this).attr("id"), { + text: function () { + return content_; + }, + }); + clipboard.on("success", function (e) { + ShowSuccess("Citation information has been copied!"); + }); + }); + $(".current_list .Exc_2").click(function () { + var ecx_id = $(this) + .parents(".links_") + .siblings(".txt_biaoti") + .attr("id"); + $.ajax({ + type: "post", + url: apiUrl + "api/Article/getArticleenw", + async: false, + data: { article_id: ecx_id }, + success: function (result) { + var a = document.createElement("a"); + a.href = result.data.url; + a.download = ""; + a.click(); + }, + }); + }); + $(".current_list .Exc_3").click(function () { + var ecx_id = $(this) + .parents(".links_") + .siblings(".txt_biaoti") + .attr("id"); + $.ajax({ + type: "post", + url: apiUrl + "api/Article/getArticleRis", + async: false, + data: { article_id: ecx_id }, + success: function (result) { + var a = document.createElement("a"); + a.href = result.data.url; + a.download = ""; + a.click(); + }, + }); + }); + $(".current_list .Exc_4").click(function () { + var ecx_id = $(this) + .parents(".links_") + .siblings(".txt_biaoti") + .attr("id"); + $.ajax({ + type: "post", + url: apiUrl + "api/Article/getArticlebib", + async: false, + data: { article_id: ecx_id }, + success: function (result) { + var a = document.createElement("a"); + a.href = result.data.url; + a.download = ""; + a.click(); + }, + }); + }); + + $(".current_list .Exc_5").click(function () { + var ecx_id = $(this) + .parents(".links_") + .siblings(".txt_biaoti") + .attr("id"); + $.ajax({ + type: "post", + url: apiUrl + "api/Article/getArticletext", + async: false, + data: { article_id: ecx_id }, + success: function (result) { + var a = document.createElement("a"); + a.href = result.data.url; + a.download = ""; + a.click(); + }, + }); + }); + + // 订阅期刊 + $(".top .top_sea .b_Sub").css("color", localStorage.Journals_color); + $(".top .top_sea .search_for select").css( + "border-color", + localStorage.Journals_color + ); + + $(".top .dingyue input.yue_add").css( + "background-color", + localStorage.Journals_color + ); + $(".top .dingyue p b").html(localStorage.Journals_title); + $(".top .jour_ts input.tishi_author").css( + "background-color", + localStorage.Journals_color + ); + // 添加订阅按钮点击弹出 + // $('.top .top_sea .b_Sub').click(function () { + // $("#mask").css("height",$(document).height()); + // $("#mask").css("width",$(document).width()); + // $("#mask").show(); + // $(".dingyue").fadeIn(); + // document.body.addEventListener('touchmove',bodyScroll,false); + // $('body').css({'position':'fixed',"width":"100%"}); + // }) + $(".top .dingyue .mb_close").click(function () { + $("#mask").hide(); + $(".dingyue").fadeOut(); + document.body.removeEventListener("touchmove", bodyScroll, false); + $("body").css({ position: "initial", height: "auto" }); + }); + $(".top .dingyue input.yue_close").click(function () { + $("#mask").hide(); + $(".dingyue").fadeOut(); + document.body.removeEventListener("touchmove", bodyScroll, false); + $("body").css({ position: "initial", height: "auto" }); + }); + $(".top .jour_ts input.tishi_author").click(function () { + $("#mask").hide(); + $(".jour_ts").fadeOut(); + document.body.removeEventListener("touchmove", bodyScroll, false); + $("body").css({ position: "initial", height: "auto" }); + }); + + function bodyScroll(event) { + event.preventDefault(); } - }); - // 上侧话题列表数据 - $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getJournalTopic', - data: { - "journal_id": Jour_num - }, - success: function (result) { - Jour_num = localStorage.Journals_num; - if (result.code == 0) { - // 话题列表 - var arr_topic = result.data.topicList; - var wh_topicd = ''; - var wh_number = 0; - var panduan = ''; - var st_left_tit = ""; - var st_left_con = ""; - for (var i = 0; i < arr_topic.length; i++) { - if (arr_topic[i].position == "top") { - wh_number += 1; - wh_topicd = 'top' - var st_top_tit = ""; - var st_top_con = ""; - // 10 - if (Jour_num == 1) { - var forLength = arr_topic[i].title == "Diseases" ? arr_topic[i].children.length : 5 - - } else { - var forLength = 5 - } - if (wh_number == '1') { - if (arr_topic[i].children) { - for (var j = 0; j < arr_topic[i].children.length; j++) { - - if (j == forLength) break; - var url_href = ''; - if (arr_topic[i].children[j].is_final == '1') { - url_href = 'topic_list.html?J_num=' + Jour_num + '&t_id=' - } else ( - url_href = 'topic.html?J_num=' + Jour_num + '&t_id=' - ) - st_top_con += '
  • ' + - '' + - '

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

  • ' - } - } - - } else { - 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 { - if (j == forLength - 1) break; - } - - var url_href = ''; - if (arr_topic[i].children[j].is_final == '1') { - url_href = 'topic_list.html?J_num=' + Jour_num + '&t_id=' - } else ( - url_href = 'topic.html?J_num=' + Jour_num + '&t_id=' - ) - st_top_con += '
  • ' + - '' + - '

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

  • ' - } - } - - } - // 'More' + - if (Jour_num == 1) { - if (arr_topic[i].title == "Diseases") { - st_top_tit = '

    ' + arr_topic[i].title + '

    ' + - - '
      ' + st_top_con + '
    ' + - '

    ' - } else { - //

    - st_top_tit = '

    ' + arr_topic[i].title + '

    ' + - '
      ' + st_top_con + '
    ' + - '

    ' - } - } else { - st_top_tit = '

    ' + arr_topic[i].title + '

    ' + - '
      ' + st_top_con + '
    ' + - '

    ' - - } - - if (wh_number == '1') { - $('.art_top_topic>div>div.topics').html('
      ' + st_top_con + '
    '); - } else { - $('.tmr_article>.bng_topic_bei>.art_main_con_topic>div').append(st_top_tit); - } - var MDM_mark = 0 - var MDM_str = '' - // MDM 十个话题 // LF 十个话题 // BEC 十个话题 // cancer 十个话题 - if ([2, 25, 11, 14].includes(Number(Jour_num))) { - - 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 = ''; - if (arr_topic[i].children[j].is_final == '1') { - url_href = 'topic_list.html?J_num=' + Jour_num + '&t_id=' - } else ( - url_href = 'topic.html?J_num=' + Jour_num + '&t_id=' - ) - MDM_str += '
  • ' + - '' + - '

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

  • ' - } - } - - $('.art_top_topic>div>div.topics').html('
      ' + MDM_str + '
    '); - } - } else if (arr_topic[i].position == "left" && arr_topic[i].title == "Diseases" && Jour_num == 1) { - if (panduan != '1') { - panduan = '1'; - 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') { - url_href = 'topic_list.html?J_num=' + Jour_num + '&t_id=' - } else ( - url_href = 'topic.html?J_num=' + Jour_num + '&t_id=' - ) - st_left_con += '
  • ' + - '' + - '

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

  • ' - - } - } - - - st_left_tit = '

    ' + arr_topic[i].title + '

    ' + - 'More
      ' + st_left_con + '
    ' - - } - - $('.tmr_article>.bng_topic_bei>.art_main_con_topic>div').append(st_left_tit); - - } + // 订阅提交 + $(".yue_add").click(function () { + $(".spa").text(""); + var add_mess = {}; + add_mess.journal_id = localStorage.Journals_num; + add_mess.email = $("#emapl").val(); + var S_Dan = "0"; + var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/; + if ($("#emapl").val() == "") { + $(".spa1").text("Please fill in E-mail"); + S_Dan = "1"; + } else if (!reg.test($("#emapl").val())) { + $(".spa1").text("Please fill in properly formatted E-mail"); + S_Dan = "1"; + } + if (S_Dan == "1") { + ShowDanger("Incomplete information!"); + } else { + $(".yue_add").addClass("disable"); + $.ajax({ + type: "post", + url: apiUrl + "subscribe/Journal/addSubscribeJournal", + data: add_mess, + success: function (result) { + if (result.code == 0) { + $(".dingyue").fadeOut(); + $(".dingyue input[type='text']").val(""); + $(".yue_add").removeClass("disable"); + $(".jour_ts").fadeIn(); + } else { + ShowDanger(result.msg); + $(".yue_add").removeClass("disable"); } + }, + error: function () { + ShowDanger("error!"); + $(".yue_add").removeClass("disable"); + }, + }); + } + }); + } else { + // ShowDanger("请求失败!"); + } + }, + error: function () { + ShowDanger("error!"); + }, + }); + // 增加访问次数 + $.ajax({ + type: "post", + url: apiUrl + "super/Publish/addVisitNum", + data: { type: Jour_num }, + success: function (result) { + if (result.code == 0) { + } else { + // ShowDanger("请求失败!"); + } + }, + error: function () { + // ShowDanger("error!"); + }, + }); - $('.tmr_article>.bng_topic_bei>.art_main_con_topic>div h4').css('color', localStorage.Journals_color); - - $('.tmr_article>.bng_topic_bei>.art_main_con_topic>div').children().eq(1).addClass('top_ics'); - - if (wh_number == '1') { - $('.art_main_con_topic').css('border-bottom', '0'); - $('.wh_topicd').css('display', 'none') - } - if (Jour_num == '1') { - $('.art_top_topic').addClass('art_top_topic_tmr') - } - - if (wh_topicd == '') { - $('.art_main_con_topic').css('display', 'none') - $('.wh_topicd').css('display', 'none') - } - - if (localStorage.Journals_title == '经典中医研究') { - $('.more').html('更多'); - } - if (Jour_num != 1) { - $('.bng_topic_bei').css({ - 'display': 'none' - }) - $('.topics_box').css({ - 'background-color': 'transparent' - }) - $('.topics_box .topics').css({ - 'background-color': 'transparent', - 'margin-top': '-15px', - }) - } - + // 上侧话题列表数据 + $.ajax({ + type: "post", + url: apiUrl + "api/Journal/getJournalTopic", + data: { + journal_id: Jour_num, + }, + success: function (result) { + Jour_num = localStorage.Journals_num; + if (result.code == 0) { + // 话题列表 + var arr_topic = result.data.topicList; + var wh_topicd = ""; + var wh_number = 0; + var panduan = ""; + var st_left_tit = ""; + var st_left_con = ""; + for (var i = 0; i < arr_topic.length; i++) { + if (arr_topic[i].position == "top") { + wh_number += 1; + wh_topicd = "top"; + var st_top_tit = ""; + var st_top_con = ""; + // 10 + if (Jour_num == 1) { + var forLength = + arr_topic[i].title == "Diseases" + ? arr_topic[i].children.length + : 5; } else { - // ShowDanger("请求失败!"); + var forLength = 5; } - }, - error: function () { - ShowDanger("error!"); + if (wh_number == "1") { + if (arr_topic[i].children) { + for (var j = 0; j < arr_topic[i].children.length; j++) { + if (j == forLength) break; + var url_href = ""; + if (arr_topic[i].children[j].is_final == "1") { + url_href = "topic_list.html?J_num=" + Jour_num + "&t_id="; + } else url_href = "topic.html?J_num=" + Jour_num + "&t_id="; + st_top_con += + '
  • ' + + '' + + "

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

  • "; + } + } + } else { + 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 { + if (j == forLength - 1) break; + } + + var url_href = ""; + if (arr_topic[i].children[j].is_final == "1") { + url_href = "topic_list.html?J_num=" + Jour_num + "&t_id="; + } else url_href = "topic.html?J_num=" + Jour_num + "&t_id="; + st_top_con += + '
  • ' + + '' + + "

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

  • "; + } + } + } + // 'More' + + if (Jour_num == 1) { + if (arr_topic[i].title == "Diseases") { + st_top_tit = + '

    ' + + arr_topic[i].title + + "

    " + + "
      " + + st_top_con + + "
    " + + '

    '; + } else { + //

    + st_top_tit = + '

    ' + + arr_topic[i].title + + "

    " + + "
      " + + st_top_con + + "
    " + + '

    '; + } + } else { + st_top_tit = + '

    ' + + arr_topic[i].title + + "

    " + + "
      " + + st_top_con + + "
    " + + '

    '; + } + + if (wh_number == "1") { + $(".art_top_topic>div>div.topics").html( + "
      " + st_top_con + "
    " + ); + } else { + $(".tmr_article>.bng_topic_bei>.art_main_con_topic>div").append( + st_top_tit + ); + } + var MDM_mark = 0; + var MDM_str = ""; + // MDM 十个话题 // LF 十个话题 // BEC 十个话题 // cancer 十个话题 + if ([2, 25, 11, 14].includes(Number(Jour_num))) { + 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 = ""; + if (arr_topic[i].children[j].is_final == "1") { + url_href = "topic_list.html?J_num=" + Jour_num + "&t_id="; + } else url_href = "topic.html?J_num=" + Jour_num + "&t_id="; + MDM_str += + '
  • ' + + '' + + "

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

  • "; + } + } + + $(".art_top_topic>div>div.topics").html( + "
      " + MDM_str + "
    " + ); + } + } else if ( + arr_topic[i].position == "left" && + arr_topic[i].title == "Diseases" && + Jour_num == 1 + ) { + if (panduan != "1") { + panduan = "1"; + 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") { + url_href = "topic_list.html?J_num=" + Jour_num + "&t_id="; + } else url_href = "topic.html?J_num=" + Jour_num + "&t_id="; + st_left_con += + '
  • ' + + '' + + '

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

  • "; + } + } + + st_left_tit = + '

    ' + + arr_topic[i].title + + "

    " + + 'More
      ' + + st_left_con + + "
    "; + } + + $(".tmr_article>.bng_topic_bei>.art_main_con_topic>div").append( + st_left_tit + ); + } } - }); - // 左侧客座列表数据 - $.ajax({ - type: 'post', url: apiUrl + 'api/Special/getSpecialsNew', - data: { - "journal_id": Jour_num - }, - 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'); - }); - $('.jour_guest h4 a').css('display', 'none'); + $(".tmr_article>.bng_topic_bei>.art_main_con_topic>div h4").css( + "color", + localStorage.Journals_color + ); - } - var specialIssuesBox = document.querySelector('.Special_Issues_box'); - var ulElement = specialIssuesBox.querySelector('ul'); - var newDiv = document.createElement('div'); - newDiv.classList.add('Special_Issues_div_box'); // 可替换为你希望的类名 - newDiv.appendChild(ulElement); - specialIssuesBox.appendChild(newDiv); - if (result.data.count > 4) { - $('.Special_Issues_box .more').css({ - 'display': 'block', + $(".tmr_article>.bng_topic_bei>.art_main_con_topic>div") + .children() + .eq(1) + .addClass("top_ics"); - }) - $('.Special_Issues_box .more').each(function () { - $(this).attr('href', `/guest.html?J_num=${Jour_num}`); - }); - // guest.html?J_num=1 - } - // 客座列表 - var arr = result.data.specials; - var str = ''; - for (var i = 0; i < arr.length && i < 4; i++) { - if (new Date(arr[i].deadline).getTime() > new Date().getTime()) { - var mark_k = 1 - } else { - var mark_k = 0 - } - if (arr[i].icon == '') { - var img_i = '' - } else { - var img_i = '' - } - str += `
  • + if (wh_number == "1") { + $(".art_main_con_topic").css("border-bottom", "0"); + $(".wh_topicd").css("display", "none"); + } + if (Jour_num == "1") { + $(".art_top_topic").addClass("art_top_topic_tmr"); + } + + if (wh_topicd == "") { + $(".art_main_con_topic").css("display", "none"); + $(".wh_topicd").css("display", "none"); + } + + if (localStorage.Journals_title == "经典中医研究") { + $(".more").html("更多"); + } + if (Jour_num != 1) { + $(".bng_topic_bei").css({ + display: "none", + }); + $(".topics_box").css({ + "background-color": "transparent", + }); + $(".topics_box .topics").css({ + "background-color": "transparent", + "margin-top": "-15px", + }); + } + } else { + // ShowDanger("请求失败!"); + } + }, + error: function () { + ShowDanger("error!"); + }, + }); + + // 左侧客座列表数据 + $.ajax({ + type: "post", + url: apiUrl + "api/Special/getSpecialsNew", + data: { + journal_id: Jour_num, + }, + 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"); + }); + $(".jour_guest h4 a").css("display", "none"); + } + var specialIssuesBox = document.querySelector(".Special_Issues_box"); + var ulElement = specialIssuesBox.querySelector("ul"); + var newDiv = document.createElement("div"); + newDiv.classList.add("Special_Issues_div_box"); // 可替换为你希望的类名 + newDiv.appendChild(ulElement); + specialIssuesBox.appendChild(newDiv); + if (result.data.count > 4) { + $(".Special_Issues_box .more").css({ + display: "block", + }); + $(".Special_Issues_box .more").each(function () { + $(this).attr("href", `/guest.html?J_num=${Jour_num}`); + }); + // guest.html?J_num=1 + } + // 客座列表 + var arr = result.data.specials; + var str = ""; + for (var i = 0; i < arr.length && i < 4; i++) { + if (new Date(arr[i].deadline).getTime() > new Date().getTime()) { + var mark_k = 1; + } else { + var mark_k = 0; + } + if (arr[i].icon == "") { + var img_i = ""; + } else { + var img_i = + ''; + } + str += `
  • -
    - ${mark_k == 1 ? `

  • + ${ + mark_k == 1 + ? `

    ${mark_k == 1 ? 'Open' : ''}

    ` : ''} + color: #fff;">${mark_k == 1 ? "Open" : ""}

    ` + : "" + }
    -
    ${arr[i].title} -
    ${arr[i].editor}. | ${arr[i].deadline}
    +
    ${arr[i].title} +
    ${arr[i].editor}. | ${ + arr[i].deadline + }
    - ` - } - // $('.Special_Issues_box>a').attr('href', '/gue_cont.html?J_num=' + Jour_num + '&Gu_num=' + arr[i].journal_special_id); - $('.Special_Issues_box ul').css({ - 'width': '1102px', - 'background-color': 'transparent', - 'overflow-x': 'auto', - }); - - $('.Special_Issues_box ul').html(str + '
    ');; // 设置默认的 margin-right - // $('.Special_Issues_box ul li:nth-child(4n)').css('margin-right', '0'); // 每4个 li 的 margin-right 为 0 - - if (arr.length == 0 || Jour_num != 1) { - $('.Special_Issues_box').css('display', 'none') - $('.ncon_hl').css({ 'margin-top': '-10px' }) - $('.ncon_hl .more').css({ 'top': '45px' }) - } - - - // for (var i = 0; i < arr.length; i++) { - // if (i == 3) break; - // str += '
  • ' + arr[i].title + '
    ' + - // 'Guest Editor: ' + arr[i].editor + '
    ' + - // 'Deadline: ' + arr[i].deadline + '' + - // '
  • ' - // } - // $('.jour_guest ul').html('

    Open Special Issues

    ' + str); - // $('.jour_guest>a').attr('href', 'gue_edit.html?J_num=' + Jour_num); - // $('.jour_guest h4 a').attr('href', 'guest.html?J_num=' + Jour_num); - // if (str == '') { - // $('.gue_is_lis').css('display', 'none'); - // } - - - // $('.jour_guest ul li a.gue_submin').click(function () { - // // 判断是否有身份 - // if ($.cookie("username") != undefined && $.cookie("user_id") != undefined) { - // window.open('contribu_list.html?J_num=' + Jour_num + '&&special_id=' + $(this).attr('alt')); - // } else { - // window.open('contribu_login.html?J_num=' + Jour_num + '&&special_id=' + $(this).attr('alt')); - // } - // }) - // $('.jour_guest ul li a.gue_appli').click(function () { - // window.open('gue_cont_gea.html?J_num=' + Jour_num + '&&Gu_num=' + $(this).attr('alt')); - // }) - - } else { - ShowDanger("请求失败!"); - } - }, - error: function () { - ShowDanger("error!"); + `; } - }) + // $('.Special_Issues_box>a').attr('href', '/gue_cont.html?J_num=' + Jour_num + '&Gu_num=' + arr[i].journal_special_id); + $(".Special_Issues_box ul").css({ + width: "1102px", + "background-color": "transparent", + "overflow-x": "auto", + }); + $(".Special_Issues_box ul").html(str + '
    '); // 设置默认的 margin-right + // $('.Special_Issues_box ul li:nth-child(4n)').css('margin-right', '0'); // 每4个 li 的 margin-right 为 0 - // 中下侧Online First文章 + if (arr.length == 0 || Jour_num != 1) { + $(".Special_Issues_box").css("display", "none"); + $(".ncon_hl").css({ "margin-top": "-10px" }); + $(".ncon_hl .more").css({ top: "45px" }); + } + + // for (var i = 0; i < arr.length; i++) { + // if (i == 3) break; + // str += '
  • ' + arr[i].title + '
    ' + + // 'Guest Editor: ' + arr[i].editor + '
    ' + + // 'Deadline: ' + arr[i].deadline + '' + + // '
  • ' + // } + // $('.jour_guest ul').html('

    Open Special Issues

    ' + str); + // $('.jour_guest>a').attr('href', 'gue_edit.html?J_num=' + Jour_num); + // $('.jour_guest h4 a').attr('href', 'guest.html?J_num=' + Jour_num); + // if (str == '') { + // $('.gue_is_lis').css('display', 'none'); + // } + + // $('.jour_guest ul li a.gue_submin').click(function () { + // // 判断是否有身份 + // if ($.cookie("username") != undefined && $.cookie("user_id") != undefined) { + // window.open('contribu_list.html?J_num=' + Jour_num + '&&special_id=' + $(this).attr('alt')); + // } else { + // window.open('contribu_login.html?J_num=' + Jour_num + '&&special_id=' + $(this).attr('alt')); + // } + // }) + // $('.jour_guest ul li a.gue_appli').click(function () { + // window.open('gue_cont_gea.html?J_num=' + Jour_num + '&&Gu_num=' + $(this).attr('alt')); + // }) + } else { + ShowDanger("请求失败!"); + } + }, + error: function () { + ShowDanger("error!"); + }, + }); + + // 中下侧Online First文章 + $.ajax({ + type: "post", + url: apiUrl + "api/Journal/getOnlineArticle", + data: { + journal_id: Jour_num, + pageIndex: "1", + pageSize: "4", + }, + success: function (result) { + if (result.code == 0) { + var arr = result.data.articlelist; + var str = ""; + for (var i = 0; i < arr.length; i++) { + if (i == 4) break; + if (arr[i].icon == "") { + var img_i = ""; + } else { + var img_i = + ''; + } + str += + '
  • ' + + img_i + + '
    ' + + arr[i].title + + "
    " + + '
    ' + + arr[i].abbr + + ". | " + + arr[i].stage_year + + "
  • "; + } + $(".online_fr>a").attr( + "href", + "article_list.html?J_num=" + Jour_num + "&o_id=" + Jour_num + ); + $(".online_fr>ul").html(str + '
    '); + 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", + }); + } + } else { + // ShowDanger("请求失败!"); + $(".online_fr").css("display", "none"); + } + }, + error: function () { + ShowDanger("error!"); + }, + }); + + // 下侧分期列表数据 + //$.ajax({ + // type: 'post', url: apiUrl + 'api/Journal/getMainPageStages', + // data: { + // "journal_id": Jour_num + // }, + // success: function (result) { + // if (result.code == 0) { + // + // // 分期信息 + // if (result.data.topic_show_type == 1) { + // var arr_stage = result.data.stages; + // var str = ""; + // for (var i = 0; i < 4; i++) { + // + // if (arr_stage[i].stage_no == '0') { + // var iss_ = '' + // } else { + // var iss_ = ' Issue. ' + arr_stage[i].stage_no + '' + // } + // str += '
  • ' + + // '' + + // '

    ' + arr_stage[i].stage_year + 'Vol. ' + arr_stage[i].stage_vol + '' + // + iss_ + '' + arr_stage[i].stage_pagename +' '+ arr_stage[i].stage_page + '

  • ' + // + // } + // $('.alls_issue>div>ul').html(str); + // $('.alls_issue>a').attr('href', 'stages.html?J_num=' + Jour_num); + // }else{ + // $('.alls_issue').css('display', 'none') + // } + // + // } else { + // ShowDanger("请求失败!"); + // } + // }, + // error: function () { + // ShowDanger("error!"); + // } + //}) + + // 下侧话题列表数据 + $.ajax({ + type: "post", + url: apiUrl + "api/Article/getTopicArticles", + data: { + topic_id: 32, + pageIndex: 1, + pageSize: 10, + }, + success: function (result) { + if (result.code == 0) { + var arr = result.data.articleList; + var str1 = ""; + var str2_1 = ""; + var str2_2 = ""; + var str3 = ""; + var str1_num = 0; + var str2_num_1 = 0; + var str2_num_2 = 0; + var str3_num = 0; + for (var i = 0; i < arr.length; i++) { + if (arr[i].stage_year == 2020 && str1_num < 1) { + str1_num = str1_num + 1; + str1 += + '' + + "
    " + + arr[i].abbr + + ". | " + + arr[i].stage_year + + "" + + '' + + "

    " + + arr[i].title + + "

    "; + } else if (arr[i].stage_year == 2020 && str2_num_1 < 1) { + str2_num_1 = str2_num_1 + 1; + str2_1 += + '
    ' + + "" + + arr[i].abbr + + ". | " + + arr[i].stage_year + + "" + + '

    ' + + arr[i].title + + "

    "; + } else if (arr[i].stage_year == 2020 && str2_num_2 < 1) { + str2_num_2 = str2_num_2 + 1; + str2_2 += + '
    ' + + "" + + arr[i].abbr + + ". | " + + arr[i].stage_year + + "" + + '

    ' + + arr[i].title + + "

    "; + } else if (arr[i].stage_year >= 2020 && str3_num < 3) { + str3_num = str3_num + 1; + str3 += + "
    " + + arr[i].abbr + + ". | " + + arr[i].stage_year + + "" + + '

    ' + + arr[i].title + + "

    "; + } + } + + $(".hua_tpice .tpice_cancar .tpoce_con1").html(str1); + $(".hua_tpice .tpice_cancar .tpoce_con2").html( + str2_1 + str2_2 + '
    ' + ); + $(".hua_tpice .tpice_cancar .tpoce_con3").html(str3); + } + }, + }); + + // $.ajax({ + // type: 'post', url: apiUrl + 'api/Journal/getJournalTopic', + // data: { + // "journal_id": Jour_num + // }, + // success: function (result) { + // if (result.code == 0) { + // // 话题列表 + // var arr_topic = result.data.topicList; + // + // var panduan = '' + // for (var i = 0; i < arr_topic.length; i++) { + // if (arr_topic[i].position == "left") { + // if (panduan == '1') { + // break + // } + // panduan = '1'; + // var st_left = ""; + // $('.hua_tpice>h4').html('Alzheimer Disease'); + // $('.hua_tpice>a').attr('href', 'topic_list.html?J_num=1&t_id=32'); + // $('.hua_tpice .tpice_lies>a').attr('href', 'topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id); + // for (var j = 0; j < arr_topic[i].children.length; j++) { + // if (arr_topic[i].children[j].title != 'Alzheimer Disease') { + // if (j == 4) break; + // var url_href = ''; + // if (arr_topic[i].children[j].is_final == '1') { + // url_href = 'topic_list.html?J_num=' + Jour_num + '&t_id=' + // } else ( + // url_href = 'topic.html?J_num=' + Jour_num + '&t_id=' + // ) + // st_left += '
  • ' + + // '' + + // '
    ' + arr_topic[i].children[j].title + '
  • ' + // } + // } + // $('.hua_tpice ul.tpice_lies').prepend(st_left); + // + // if (st_left == '') { + // $('.jour_sta_tp_left_more').css('display', 'none'); + // } + // } + // } + // if (panduan == '') { + // $('.jour_hauti_pd').css('display', 'none'); + // } + // } else { + // ShowDanger("请求失败!"); + // } + // }, + // error: function () { + // ShowDanger("error!"); + // } + // }) + + // TMR 中下侧News & conmment文章 + if (Jour_num != 1) { $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getOnlineArticle', - data: { - "journal_id": Jour_num, 'pageIndex': '1', 'pageSize': '4' - }, - success: function (result) { - if (result.code == 0) { - - var arr = result.data.articlelist; - var str = ""; - for (var i = 0; i < arr.length; i++) { - if (i == 4) break; - if (arr[i].icon == '') { - var img_i = '' - } else { - var img_i = '' - } - str += '
  • ' + img_i + - '
    ' + arr[i].title + '
    ' + - '
    ' + arr[i].abbr + '. | ' + arr[i].stage_year + '
  • ' - - } - $('.online_fr>a').attr('href', 'article_list.html?J_num=' + Jour_num + '&o_id=' + Jour_num); - $('.online_fr>ul').html(str + '
    '); - 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', - }) - } - + type: "post", + url: apiUrl + "api/Journal/getNewsArticleNew", + data: { + journal_id: Jour_num, + limit: 4, + page: 1, + }, + success: function (result) { + if (result.code == 0) { + var arr = result.data.articlelist; + var str = ""; + for (var i = 0; i < arr.length; i++) { + if (i == 4) break; + if (arr[i].icon == "") { + var img_i = ""; } else { - // ShowDanger("请求失败!"); - $('.online_fr').css('display', 'none') + var img_i = + ''; } - }, - error: function () { - ShowDanger("error!"); + str += + "
  • " + + img_i + + '
    ' + + arr[i].title + + "
    " + + '
    ' + + arr[i].abbr + + ". | " + + arr[i].stage_year + + "
  • "; + } + + $(".ncon_new_coment>a").attr( + "href", + "/article_list.html?J_num=" + Jour_num + "&n_id=" + Jour_num + ); + $(".ncon_new_coment>ul").html(str + '
    '); + if (arr.length > 0) { + $(".ncon_new_coment").css({ + display: "block", + "padding-top": "25px", + "padding-bottom": "0px", + }); + $(".ncon_new_coment .more").css({ + top: "45px", + }); + $(".ncon_new_coment ul").css({ + background: "#fff", + }); + } else { + $(".ncon_new_coment").css("display", "none"); + } + } else { + // ShowDanger("请求失败!"); + $(".ncon_new_coment").css("display", "none"); } - }) + }, + error: function () { + ShowDanger("error!"); + }, + }); + } - - // 下侧分期列表数据 - //$.ajax({ - // type: 'post', url: apiUrl + 'api/Journal/getMainPageStages', - // data: { - // "journal_id": Jour_num - // }, - // success: function (result) { - // if (result.code == 0) { - // - // // 分期信息 - // if (result.data.topic_show_type == 1) { - // var arr_stage = result.data.stages; - // var str = ""; - // for (var i = 0; i < 4; i++) { - // - // if (arr_stage[i].stage_no == '0') { - // var iss_ = '' - // } else { - // var iss_ = ' Issue. ' + arr_stage[i].stage_no + '' - // } - // str += '
  • ' + - // '' + - // '

    ' + arr_stage[i].stage_year + 'Vol. ' + arr_stage[i].stage_vol + '' - // + iss_ + '' + arr_stage[i].stage_pagename +' '+ arr_stage[i].stage_page + '

  • ' - // - // } - // $('.alls_issue>div>ul').html(str); - // $('.alls_issue>a').attr('href', 'stages.html?J_num=' + Jour_num); - // }else{ - // $('.alls_issue').css('display', 'none') - // } - // - // } else { - // ShowDanger("请求失败!"); - // } - // }, - // error: function () { - // ShowDanger("error!"); - // } - //}) - - - // 下侧话题列表数据 - $.ajax({ - type: 'post', url: apiUrl + 'api/Article/getTopicArticles', - data: { - "topic_id": 32, - "pageIndex": 1, - "pageSize": 10 - }, - success: function (result) { - if (result.code == 0) { - - var arr = result.data.articleList; - var str1 = ""; - var str2_1 = ""; - var str2_2 = ""; - var str3 = ""; - var str1_num = 0; - var str2_num_1 = 0; - var str2_num_2 = 0; - var str3_num = 0; - for (var i = 0; i < arr.length; i++) { - if (arr[i].stage_year == 2020 && str1_num < 1) { - str1_num = str1_num + 1 - str1 += '' + - '
    ' + arr[i].abbr + '. | ' + arr[i].stage_year + '' + - '' + - '

    ' + arr[i].title + '

    ' - } else if (arr[i].stage_year == 2020 && str2_num_1 < 1) { - str2_num_1 = str2_num_1 + 1 - str2_1 += '
    ' + - '' + arr[i].abbr + '. | ' + arr[i].stage_year + '' + - '

    ' - + arr[i].title + '

    ' - } else if (arr[i].stage_year == 2020 && str2_num_2 < 1) { - str2_num_2 = str2_num_2 + 1 - str2_2 += '
    ' + - '' + arr[i].abbr + '. | ' + arr[i].stage_year + '' + - '

    ' - + arr[i].title + '

    ' - } else if (arr[i].stage_year >= 2020 && str3_num < 3) { - str3_num = str3_num + 1 - str3 += '
    ' + arr[i].abbr + '. | ' + arr[i].stage_year + '' + - '

    ' - + arr[i].title + '

    ' - } - - } - - $('.hua_tpice .tpice_cancar .tpoce_con1').html(str1); - $('.hua_tpice .tpice_cancar .tpoce_con2').html(str2_1 + str2_2 + '
    '); - $('.hua_tpice .tpice_cancar .tpoce_con3').html(str3); - - } + // 中下侧Highlights文章 + $.ajax({ + type: "post", + url: apiUrl + "api/Journal/getTopArticle", + data: { + journal_id: Jour_num, + pageIndex: "1", + pageSize: "4", + }, + success: function (result) { + if (result.code == 0) { + var arr = result.data.articles; + var str = ""; + for (var i = 0; i < arr.length; i++) { + if (arr[i].icon == "") { + var img_i = ""; + } else { + var img_i = + ''; + } + str += + '
  • ' + + '' + + '' + + '
    ' + + arr[i].title + + "
    " + + '
    ' + + arr[i].abbr + + ". | " + + arr[i].stage_year + + "
  • "; } - }) + $(".ncon_hl>a").attr( + "href", + "article_list.html?J_num=" + Jour_num + "&top_id=" + Jour_num + ); + $(".ncon_hl>ul").html(str + '
    '); + if (arr == "") { + $(".ncon_hl").css("display", "none"); + } + } else { + // ShowDanger("请求失败!"); + $(".ncon_hl").css("display", "none"); + } + }, + error: function () { + ShowDanger("error!"); + }, + }); - // $.ajax({ - // type: 'post', url: apiUrl + 'api/Journal/getJournalTopic', - // data: { - // "journal_id": Jour_num - // }, - // success: function (result) { - // if (result.code == 0) { - // // 话题列表 - // var arr_topic = result.data.topicList; - // - // var panduan = '' - // for (var i = 0; i < arr_topic.length; i++) { - // if (arr_topic[i].position == "left") { - // if (panduan == '1') { - // break - // } - // panduan = '1'; - // var st_left = ""; - // $('.hua_tpice>h4').html('Alzheimer Disease'); - // $('.hua_tpice>a').attr('href', 'topic_list.html?J_num=1&t_id=32'); - // $('.hua_tpice .tpice_lies>a').attr('href', 'topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id); - // for (var j = 0; j < arr_topic[i].children.length; j++) { - // if (arr_topic[i].children[j].title != 'Alzheimer Disease') { - // if (j == 4) break; - // var url_href = ''; - // if (arr_topic[i].children[j].is_final == '1') { - // url_href = 'topic_list.html?J_num=' + Jour_num + '&t_id=' - // } else ( - // url_href = 'topic.html?J_num=' + Jour_num + '&t_id=' - // ) - // st_left += '
  • ' + - // '' + - // '
    ' + arr_topic[i].children[j].title + '
  • ' - // } - // } - // $('.hua_tpice ul.tpice_lies').prepend(st_left); - // - // if (st_left == '') { - // $('.jour_sta_tp_left_more').css('display', 'none'); - // } - // } - // } - // if (panduan == '') { - // $('.jour_hauti_pd').css('display', 'none'); - // } - // } else { - // ShowDanger("请求失败!"); - // } - // }, - // error: function () { - // ShowDanger("error!"); - // } - // }) + // TMR 中下侧Top cited / Top read / Top download文章切换 + $.ajax({ + type: "post", + url: apiUrl + "api/Article/getTopArt", + data: { + journal_id: Jour_num, + type: "cited", + pageIndex: "1", + pageSize: "8", + }, + success: function (result) { + if (result.code == 0) { + var arr = result.data.articleList; + var str = ""; + for (var i = 0; i < arr.length; i++) { + if (arr[i].icon == "") { + var img_i = "img/baiss.png"; + } else { + var img_i = imgarticleUrl + arr[i].icon; + } + str += + '
    ' + + '
    ' + + arr[i].title + + "
    " + + '
    ' + + arr[i].abbr + + ". | " + + arr[i].stage_year + + "
    "; + } - // TMR 中下侧News & conmment文章 - if (Jour_num != 1) { - $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getNewsArticleNew', + $(".ncon_tcrd_tmr>a").attr( + "href", + "article_list.html?J_num=" + Jour_num + "&cite_id=1" + ); + + $(".ncon_tcrd_tmr>ul").html( + '
    • ' + str + "
    " + ); + $("#Marquee_x").jcMarquee({ marquee: "x", speed: 20 }); + + $(".ncon_tcrd_tmr h4 span").click(function () { + var tnm_num = $(".ncon_tcrd_tmr h4 span").index(this) + 1; + $(".ncon_tcrd_tmr h4 span").css("font-weight", "normal"); + $(this).css("font-weight", "600"); + if (tnm_num == "1") { + var tnm_type = "cited"; + $(".ncon_tcrd_tmr>a").attr( + "href", + "article_list.html?J_num=" + Jour_num + "&cite_id=1" + ); + } + if (tnm_num == "2") { + var tnm_type = "read"; + $(".ncon_tcrd_tmr>a").attr( + "href", + "article_list.html?J_num=" + Jour_num + "&read_id=1" + ); + } + if (tnm_num == "3") { + var tnm_type = "download"; + $(".ncon_tcrd_tmr>a").attr( + "href", + "article_list.html?J_num=" + Jour_num + "&down_id=1" + ); + } + $.ajax({ + type: "post", + url: apiUrl + "api/Article/getTopArt", data: { - "journal_id": Jour_num, - "limit": 4, - "page": 1 + journal_id: Jour_num, + type: tnm_type, + pageIndex: "1", + pageSize: "8", }, success: function (result) { - if (result.code == 0) { - var arr = result.data.articlelist; - var str = ""; - - for (var i = 0; i < arr.length; i++) { - - if (i == 4) break; - if (arr[i].icon == '') { - var img_i = '' - } else { - var img_i = '' - } - str += '
  • ' + img_i + - '
    ' + arr[i].title + '
    ' + - '
    ' + arr[i].abbr + '. | ' + arr[i].stage_year + '
  • ' - - } - - $('.ncon_new_coment>a').attr('href', '/article_list.html?J_num=' + Jour_num + '&n_id=' + Jour_num); - $('.ncon_new_coment>ul').html(str + '
    '); - if (arr.length > 0) { - $('.ncon_new_coment').css({ - 'display': 'block', - 'padding-top': '25px', - 'padding-bottom': '0px', - }) - $('.ncon_new_coment .more').css({ - - 'top': '45px', - - }) - $('.ncon_new_coment ul').css({ - 'background': '#fff', - }) - } else { - $('.ncon_new_coment').css('display', 'none') - } - - - } else { - // ShowDanger("请求失败!"); - $('.ncon_new_coment').css('display', 'none') - } - }, - error: function () { - ShowDanger("error!"); - } - }) - } - - - - // 中下侧Highlights文章 - $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getTopArticle', - data: { - "journal_id": Jour_num, - "pageIndex": '1', - "pageSize": '4' - }, - success: function (result) { - if (result.code == 0) { - - var arr = result.data.articles; - var str = ""; - for (var i = 0; i < arr.length; i++) { - if (arr[i].icon == '') { - var img_i = '' - } else { - var img_i = '' - } - str += '
  • ' + - '' + - '' + - '
    ' + arr[i].title + '
    ' + - '
    ' + arr[i].abbr + '. | ' + arr[i].stage_year + '
  • ' - } - $('.ncon_hl>a').attr('href', 'article_list.html?J_num=' + Jour_num + '&top_id=' + Jour_num); - $('.ncon_hl>ul').html(str + '
    '); - if (arr == '') { - $('.ncon_hl').css('display', 'none') - } - - } else { - // ShowDanger("请求失败!"); - $('.ncon_hl').css('display', 'none') - } - }, - error: function () { - ShowDanger("error!"); - } - }) - - - // TMR 中下侧Top cited / Top read / Top download文章切换 - $.ajax({ - type: 'post', url: apiUrl + 'api/Article/getTopArt', - data: { - "journal_id": Jour_num, - "type": 'cited', - "pageIndex": '1', - "pageSize": '8' - }, - success: function (result) { - if (result.code == 0) { - + if (result.code == 0) { var arr = result.data.articleList; var str = ""; + for (var i = 0; i < arr.length; i++) { - if (arr[i].icon == '') { - var img_i = 'img/baiss.png' - } else { - var img_i = imgarticleUrl + arr[i].icon - } - - str += '
    ' + - '
    ' + arr[i].title + '
    ' + - '
    ' + arr[i].abbr + '. | ' + arr[i].stage_year + '
    ' - + if (arr[i].icon == "") { + var img_i = "img/baiss.png"; + } else { + var img_i = imgarticleUrl + arr[i].icon; + } + str += + '
    ' + + '
    ' + + arr[i].title + + "
    " + + '
    ' + + arr[i].abbr + + ". | " + + arr[i].stage_year + + "
    "; } - - $('.ncon_tcrd_tmr>a').attr('href', 'article_list.html?J_num=' + Jour_num + '&cite_id=1'); - - $('.ncon_tcrd_tmr>ul').html('
    • ' + str + '
    '); - $('#Marquee_x').jcMarquee({ 'marquee': 'x', 'speed': 20 }); - - - $('.ncon_tcrd_tmr h4 span').click(function () { - var tnm_num = $(".ncon_tcrd_tmr h4 span").index(this) + 1; - $('.ncon_tcrd_tmr h4 span').css('font-weight', 'normal') - $(this).css('font-weight', '600') - if (tnm_num == '1') { - var tnm_type = 'cited'; - $('.ncon_tcrd_tmr>a').attr('href', 'article_list.html?J_num=' + Jour_num + '&cite_id=1'); - } - if (tnm_num == '2') { - var tnm_type = 'read'; - $('.ncon_tcrd_tmr>a').attr('href', 'article_list.html?J_num=' + Jour_num + '&read_id=1'); - } - if (tnm_num == '3') { - var tnm_type = 'download'; - $('.ncon_tcrd_tmr>a').attr('href', 'article_list.html?J_num=' + Jour_num + '&down_id=1'); - } - $.ajax({ - type: 'post', url: apiUrl + 'api/Article/getTopArt', - data: { - "journal_id": Jour_num, - "type": tnm_type, - "pageIndex": '1', - "pageSize": '8' - }, - success: function (result) { - if (result.code == 0) { - - var arr = result.data.articleList; - var str = ""; - - for (var i = 0; i < arr.length; i++) { - - if (arr[i].icon == '') { - var img_i = 'img/baiss.png' - } else { - var img_i = imgarticleUrl + arr[i].icon - } - str += '
    ' + - '
    ' + arr[i].title + '
    ' + - '
    ' + arr[i].abbr + '. | ' + arr[i].stage_year + '
    ' - - } - $('.ncon_tcrd_tmr>ul').html('
    • ' + str + '
    '); - $('#Marquee_x').jcMarquee({ 'marquee': 'x', 'speed': 20 }); - - } - } - }) - }) - } else { - // ShowDanger("请求失败!"); - $('.ncon_tcrd_tmr').css('display', 'none') - } - }, - error: function () { - ShowDanger("error!"); - } - }) - - - // 下侧Call for Paper文章 - if (Jour_num != 1) { - $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getJournalCfp', - data: { - "journal_id": Jour_num + $(".ncon_tcrd_tmr>ul").html( + '
    • ' + str + "
    " + ); + $("#Marquee_x").jcMarquee({ marquee: "x", speed: 20 }); + } }, - success: function (result) { - if (result.code == 0) { + }); + }); + } else { + // ShowDanger("请求失败!"); + $(".ncon_tcrd_tmr").css("display", "none"); + } + }, + error: function () { + ShowDanger("error!"); + }, + }); - var arr = result.data.cfps; - var str = ""; - for (var i = 0; i < arr.length; i++) { - if (i == 2) break; - - str += '
  • ' + arr[i].showtime + '
    ' + - '' + arr[i].title + '
    ' + - '
    ' + arr[i].content + '
    ' + - '
  • ' - - } - $('.ncon_aper>a').attr('href', '/notice_list.html?J_num=' + Jour_num + '&paper_id=' + Jour_num); - $('.ncon_aper>ul').html(str + '
    '); - - if (arr.length > 0) { - $('.ncon_aper').css({ - 'padding-top': '15px', - 'display': 'block', - }) - $('.ncon_aper .more').css({ - 'top': '35px', - }) - $('.ncon_aper ul li').css({ - 'background': '#fff', - }) - } else { - $('.ncon_aper').css('display', 'none') - } - - - $(".ncon_aper ul .cfp_con").each(function () { - var maxwidth = 150;//显示多少字符 - if ($(this).text().length > maxwidth) { - $(this).text($(this).text().substring(0, maxwidth)); - $(this).text($(this).text().substring(0, maxwidth - $(this).text().split(" ").pop().length)); - $(this).html($(this).html() + '...'); - } - }); - - - } else { - // ShowDanger("请求失败!"); - $('.ncon_aper').css('display', 'none') - } - }, - error: function () { - ShowDanger("error!"); - } - }) - } - - - - // 下面新增加社区内容 + // 下侧Call for Paper文章 + if (Jour_num != 1) { $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getAllTopics', - data: {}, - beforeSend: function () { + type: "post", + url: apiUrl + "api/Journal/getJournalCfp", + data: { + journal_id: Jour_num, + }, + success: function (result) { + if (result.code == 0) { + var arr = result.data.cfps; + var str = ""; + for (var i = 0; i < arr.length; i++) { + if (i == 2) break; - }, + str += + '
  • ' + + arr[i].showtime + + "
    " + + '' + + arr[i].title + + "
    " + + '
    ' + + arr[i].content + + "
    " + + '
  • '; + } + $(".ncon_aper>a").attr( + "href", + "/notice_list.html?J_num=" + Jour_num + "&paper_id=" + Jour_num + ); + $(".ncon_aper>ul").html(str + '
    '); - success: function (result) { - if (result.code == 0) { + if (arr.length > 0) { + $(".ncon_aper").css({ + "padding-top": "15px", + display: "block", + }); + $(".ncon_aper .more").css({ + top: "35px", + }); + $(".ncon_aper ul li").css({ + background: "#fff", + }); + } else { + $(".ncon_aper").css("display", "none"); + } - var old_arry = result.data.topic; - var new_arry = result.data.topic; + $(".ncon_aper ul .cfp_con").each(function () { + var maxwidth = 150; //显示多少字符 + if ($(this).text().length > maxwidth) { + $(this).text($(this).text().substring(0, maxwidth)); + $(this).text( + $(this) + .text() + .substring( + 0, + maxwidth - $(this).text().split(" ").pop().length + ) + ); + $(this).html($(this).html() + "..."); + } + }); + } else { + // ShowDanger("请求失败!"); + $(".ncon_aper").css("display", "none"); + } + }, + error: function () { + ShowDanger("error!"); + }, + }); + } - new_arry = old_arry.map(o => { - return { id: o.base_topic_id, text: o.title } - }) + // 下面新增加社区内容 + $.ajax({ + type: "post", + url: apiUrl + "api/Journal/getAllTopics", + data: {}, + beforeSend: function () {}, - for (var i = 0; i < old_arry.length; i++) { - new_arry[i].children = old_arry[i].children.map(o => { - return { id: o.base_topic_id, text: o.title } - }) - } + success: function (result) { + if (result.code == 0) { + var old_arry = result.data.topic; + var new_arry = result.data.topic; - $('#com_index').selectivity({ - allowClear: true, - items: new_arry, - placeholder: 'Please select a topic' - }) + new_arry = old_arry.map((o) => { + return { id: o.base_topic_id, text: o.title }; + }); - $('.es_serch_btn').click(function () { - $('.es_serch_span').css('display', 'none') - if ($('#com_index').selectivity('val') == null) { - $('.es_serch_span').css('display', 'block') - $('.es_serch_span').text('Please select a topic') - ShowDanger("Request was aborted!"); - } else { - window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val')); - } - }) + for (var i = 0; i < old_arry.length; i++) { + new_arry[i].children = old_arry[i].children.map((o) => { + return { id: o.base_topic_id, text: o.title }; + }); + } - $('.uity_Sub').after(`
    -`) - setTimeout(() => { - if (window.__sharethis__) { - __sharethis__.initialize(); - } - - }, 50) - // 期刊订阅提交 - $(".uity_Sub").click(function () { - $(".spa_su").text(''); - var add_mess = {}; - add_mess.journal_id = localStorage.Journals_num; - add_mess.email = $(".uity_inp").val(); - - var S_Dan = '0'; - var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/ - if ($(".uity_inp").val() == "") { - $(".spa_su").text('Please fill in E-mail'); - S_Dan = '1'; - } else if (!(reg.test($(".uity_inp").val()))) { - $(".spa_su").text('Please fill in properly formatted E-mail'); - S_Dan = '1'; - } - - if (S_Dan == '1') { - ShowDanger("Incomplete information!"); - } else { - $(".uity_Sub").addClass("disable"); - $.ajax({ - type: 'post', url: apiUrl + 'subscribe/Journal/addSubscribeJournal', - data: add_mess, - success: function (result) { - if (result.code == 0) { - $(".suity_for input[type='text']").val(''); - $(".uity_Sub").removeClass("disable"); - $(".jour_ts").fadeIn(); - } else { - ShowDanger(result.msg); - $(".uity_Sub").removeClass("disable"); - } - }, - error: function () { - ShowDanger("error!"); - $(".yue_addw").removeClass("disable"); - } - }) - } - }) - - } else { - ShowDanger("请求失败!"); - } - } - }) - - - // 时间轴 - $.ajax({ - type: 'post', url: apiUrl + 'api/Journal/getJournalLine', - data: { - "journal_id": Jour_num - }, - success: function (result) { - if (result.code == 0) { - var arr = result.data.lines; - var str = ""; - var shr = ""; - var dis_ = 946656000000; - - - for (var i = 0; i < arr.length; i++) { - - - var disx_ = arr[i].dist * 86700000 - dis_ = dis_ + disx_ - - str += '
  • ' + arr[i].time + '
  • ' - - - if (i == arr.length - 1) { - shr += '
  • ' + - '' + - '

    ' + - '>> ' + arr[i].title + '

    ' + - '

    ' + arr[i].intro + '


  • ' - } else { - if (arr[i].time == arr[i + 1].time) { - shr += '
  • ' + - '' + - '

    ' + - '>> ' + arr[i].title + '

    ' + - '

    ' + arr[i].intro + '


    ' + - '' + - '

    ' + - '>> ' + arr[i + 1].title + '

    ' + - '

    ' + arr[i + 1].intro + '


    ' + - '
  • ' - i = i + 1; - } else { - shr += '
  • ' + - '' + - '

    ' + - '>> ' + arr[i].title + '

    ' + - '

    ' + arr[i].intro + '


  • ' - } - } +`); + setTimeout(() => { + if (window.__sharethis__) { + __sharethis__.initialize(); + } + }, 50); + // 期刊订阅提交 + $(".uity_Sub").click(function () { + $(".spa_su").text(""); + var add_mess = {}; + add_mess.journal_id = localStorage.Journals_num; + add_mess.email = $(".uity_inp").val(); + var S_Dan = "0"; + var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/; + if ($(".uity_inp").val() == "") { + $(".spa_su").text("Please fill in E-mail"); + S_Dan = "1"; + } else if (!reg.test($(".uity_inp").val())) { + $(".spa_su").text("Please fill in properly formatted E-mail"); + S_Dan = "1"; + } + if (S_Dan == "1") { + ShowDanger("Incomplete information!"); + } else { + $(".uity_Sub").addClass("disable"); + $.ajax({ + type: "post", + url: apiUrl + "subscribe/Journal/addSubscribeJournal", + data: add_mess, + success: function (result) { + if (result.code == 0) { + $(".suity_for input[type='text']").val(""); + $(".uity_Sub").removeClass("disable"); + $(".jour_ts").fadeIn(); + } else { + ShowDanger(result.msg); + $(".uity_Sub").removeClass("disable"); } + }, + error: function () { + ShowDanger("error!"); + $(".yue_addw").removeClass("disable"); + }, + }); + } + }); + } else { + ShowDanger("请求失败!"); + } + }, + }); - $('.cd-horizontal-timeline').css('display', 'none') + // 时间轴 + $.ajax({ + type: "post", + url: apiUrl + "api/Journal/getJournalLine", + data: { + journal_id: Jour_num, + }, + success: function (result) { + if (result.code == 0) { + var arr = result.data.lines; + var str = ""; + var shr = ""; + var dis_ = 946656000000; - // if(arr==''||arr==undefined){ - // $('.cd-horizontal-timeline').css('display','none') - // $('.wh_timeline').css('display','none') - // }else{ - // $('.events-wrapper ol').html(str); - // $('.events-wrapper ol li:nth-child(1) a').addClass('selected'); - // - // $('.events-content ol').html(shr); - // $('.events-content ol li:nth-child(1)').addClass('selected'); - // - // line_time(); - // } + for (var i = 0; i < arr.length; i++) { + var disx_ = arr[i].dist * 86700000; + dis_ = dis_ + disx_; + str += + '
  • ' + + arr[i].time + + "
  • "; + if (i == arr.length - 1) { + shr += + '
  • ' + + '' + + '

    ' + + '>> ' + + arr[i].title + + "

    " + + "

    " + + arr[i].intro + + '


  • '; + } else { + if (arr[i].time == arr[i + 1].time) { + shr += + '
  • ' + + '' + + '

    ' + + '>> ' + + arr[i].title + + "

    " + + "

    " + + arr[i].intro + + '


    ' + + '' + + '

    ' + + '>> ' + + arr[i + 1].title + + "

    " + + "

    " + + arr[i + 1].intro + + '


    ' + + "
  • "; + i = i + 1; } else { - // ShowDanger("请求失败!"); + shr += + '
  • ' + + '' + + '

    ' + + '>> ' + + arr[i].title + + "

    " + + "

    " + + arr[i].intro + + '


  • '; } + } + } + + $(".cd-horizontal-timeline").css("display", "none"); + + // if(arr==''||arr==undefined){ + // $('.cd-horizontal-timeline').css('display','none') + // $('.wh_timeline').css('display','none') + // }else{ + // $('.events-wrapper ol').html(str); + // $('.events-wrapper ol li:nth-child(1) a').addClass('selected'); + // + // $('.events-content ol').html(shr); + // $('.events-content ol li:nth-child(1)').addClass('selected'); + // + // line_time(); + // } + } else { + // ShowDanger("请求失败!"); + } + }, + error: function () { + ShowDanger("error!"); + }, + }); + + // 底部浮动订阅 + // var flag = true; + // $(window).on('scroll',function(){ + // if(flag) { + // $('.footpanel').css('display','block'); + // } + // flag = false + // }) + $(".footpanel .ftp_close").click(function () { + $(".footpanel").hide(); + }); + $(".footpanel .ftp_paper .fpr_from a").attr("href", "agree.html"); + + // 订阅提交 + $(".yue_addfp").click(function () { + $(".spafp").text(""); + var add_mess = {}; + add_mess.journal_id = localStorage.Journals_num; + add_mess.email = $("#emapfp").val(); + + var S_Dan = "0"; + var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/; + if ($("#emapfp").val() == "") { + $(".spafp").text("Please fill in E-mail"); + S_Dan = "1"; + } else if (!reg.test($("#emapfp").val())) { + $(".spafp").text("Please fill in properly formatted E-mail"); + S_Dan = "1"; + } else if ( + $(".footpanel input:checkbox[name='ment']:checked").val() == undefined + ) { + $(".spafp").text("Please check the agreement"); + S_Dan = "1"; + } + + if (S_Dan == "1") { + ShowDanger("Incomplete information!"); + } else { + $(".yue_add").addClass("disable"); + $.ajax({ + type: "post", + url: apiUrl + "subscribe/Journal/addSubscribeJournal", + data: add_mess, + success: function (result) { + if (result.code == 0) { + $(".fpr_from input[type='text']").val(""); + $(".yue_addfp").removeClass("disable"); + $(".jour_ts").fadeIn(); + } else { + ShowDanger(result.msg); + $(".yue_addfp").removeClass("disable"); + } }, error: function () { - ShowDanger("error!"); - } - }) + ShowDanger("error!"); + $(".yue_addfp").removeClass("disable"); + }, + }); + } + }); - - - - - // 底部浮动订阅 - // var flag = true; - // $(window).on('scroll',function(){ - // if(flag) { - // $('.footpanel').css('display','block'); - // } - // flag = false - // }) - $(".footpanel .ftp_close").click(function () { - $(".footpanel").hide(); - }); - $('.footpanel .ftp_paper .fpr_from a').attr('href', 'agree.html'); - - // 订阅提交 - $(".yue_addfp").click(function () { - $(".spafp").text(''); - var add_mess = {}; - add_mess.journal_id = localStorage.Journals_num; - add_mess.email = $('#emapfp').val(); - - var S_Dan = '0'; - var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/ - if ($("#emapfp").val() == "") { - $(".spafp").text('Please fill in E-mail'); - S_Dan = '1'; - } else if (!(reg.test($("#emapfp").val()))) { - $(".spafp").text('Please fill in properly formatted E-mail'); - S_Dan = '1'; - } else if ($(".footpanel input:checkbox[name='ment']:checked").val() == undefined) { - $(".spafp").text('Please check the agreement'); - S_Dan = '1' - } - - - if (S_Dan == '1') { - ShowDanger("Incomplete information!"); - } else { - $(".yue_add").addClass("disable"); - $.ajax({ - type: 'post', url: apiUrl + 'subscribe/Journal/addSubscribeJournal', - data: add_mess, - success: function (result) { - if (result.code == 0) { - $(".fpr_from input[type='text']").val(''); - $(".yue_addfp").removeClass("disable"); - $(".jour_ts").fadeIn(); - } else { - ShowDanger(result.msg); - $(".yue_addfp").removeClass("disable"); - } - }, - error: function () { - ShowDanger("error!"); - $(".yue_addfp").removeClass("disable"); - } - }) - } - }) - - - //搜索 - $('.ment_sousuo_kuang .soukuang_btn').click(function () { - window.open("jour_search.html?J_num=" + Jour_num + "&se_ch=" + $(".ment_sousuo_kuang .soukuang_inp").val()); - }) + //搜索 + $(".ment_sousuo_kuang .soukuang_btn").click(function () { + window.open( + "jour_search.html?J_num=" + + Jour_num + + "&se_ch=" + + $(".ment_sousuo_kuang .soukuang_inp").val() + ); + }); } function getCiteList(a_ID) { - $('.cite_box .export_cite').html('
    '); - var journalCiteStr = '' - $.ajax({ - type: 'post', url: apiUrl + 'api/Article/getArticleCites', - data: { - "article_id": a_ID - }, - success: function (result) { - if (result.code == 0) { - - var arr = result.data.list - for (let i in arr) { - journalCiteStr += ` -

    ${Number(i) + 1}.

    + $(".cite_box .export_cite").html('
    '); + var journalCiteStr = ""; + $.ajax({ + type: "post", + url: apiUrl + "api/Article/getArticleCites", + data: { + article_id: a_ID, + }, + success: function (result) { + if (result.code == 0) { + var arr = result.data.list; + for (let i in arr) { + journalCiteStr += ` +

    ${Number(i) + 1}.

    + href="${arr[i].doi ? "https://doi.org/" + arr[i].doi : ""}"> ${arr[i].article_name}

    ${arr[i].author ? `${arr[i].author},` : ''} ${arr[i].journal_name}${arr[i].vol ? `${arr[i].vol},` : ''} + font-size: 13px;">${arr[i].author ? `${arr[i].author},` : ""} ${ + arr[i].journal_name + }${arr[i].vol ? `${arr[i].vol},` : ""}

    -
    ` - } - journalCiteStr += `
    ` - - $('.cite_box .export_cite').html(journalCiteStr); - - - - - - } +
    `; } - }) + journalCiteStr += `
    `; + + $(".cite_box .export_cite").html(journalCiteStr); + } + }, + }); } function processAuthors(authors) { - var authorArray = authors.split(","); // 将作者按逗号分割为数组 - if (authorArray.length > 6) { - return authorArray.slice(0, 3).join(", ") + ", et al"; // 如果超过6个作者,显示前三个并加上 "et al." - } else { - return authorArray.join(", "); // 如果6个或更少作者,直接显示所有 - } + var authorArray = authors.split(","); // 将作者按逗号分割为数组 + if (authorArray.length > 6) { + return authorArray.slice(0, 3).join(", ") + ", et al"; // 如果超过6个作者,显示前三个并加上 "et al." + } else { + return authorArray.join(", "); // 如果6个或更少作者,直接显示所有 + } } function initJournalBaseInfo(result) { - //头部左侧期刊信息(issn+img) - var arr_jour = result.data.journal; - console.log('arr_jour at line 1409:', arr_jour) - var ImpactFactor = '' - var CiteScore = '' - // 出版周期匹配 - switch (arr_jour.cycle) { - case 1: - arr_jour.cycle_ = 'Monthly'; - break; - case 2: - arr_jour.cycle_ = 'Bi-monthly'; - break; - case 3: - arr_jour.cycle_ = 'Quarterly'; - break; - default: - arr_jour.cycle_ = 'Unknown'; // 默认情况,可以根据需要调整 - break; - } - switch (Number(Jour_num)) { - //tmr - case 1: - ImpactFactor = '1.3' - CiteScore = '2.2' - break; - //bmec - case 25: + //头部左侧期刊信息(issn+img) + var arr_jour = result.data.journal; + const style = document.createElement("style"); + style.innerHTML = ` + .apc-link:hover { + + color: ${arr_jour.system_color}; + }`; + document.head.appendChild(style); + console.log("arr_jour at line 1409:", arr_jour); + var ImpactFactor = ""; + var CiteScore = ""; + var apcUrl = ``; - CiteScore = '1.7' - break; - //mdm + // 出版周期匹配 + switch (arr_jour.cycle) { + case 1: + arr_jour.cycle_ = "Monthly"; + break; + case 2: + arr_jour.cycle_ = "Bi-monthly"; + break; + case 3: + arr_jour.cycle_ = "Quarterly"; + break; + default: + arr_jour.cycle_ = "Unknown"; // 默认情况,可以根据需要调整 + break; + } + switch (Number(Jour_num)) { + //tmr + case 1: + ImpactFactor = "1.3"; + CiteScore = "2.5"; + break; + //bmec + case 25: + CiteScore = "1.8"; + apcUrl = `https://www.tmrjournals.com/bmec/apc`; + break; + //mdm - case 11: + case 11: + CiteScore = "0.4"; + apcUrl = `https://www.tmrjournals.com/mdm/apc`; + break; + case 14: + CiteScore = "0.8"; + break; + case 2: + case 17: + case 18: + arr_jour.cycle_ = "Continuities"; + break; + } - CiteScore = '0.4' - break; - case 14: - - CiteScore = '0.7' - break; - case 2: - case 17: - case 18: - arr_jour.cycle_ = 'Continuities'; - break; - - } - - - - var ImpactFactorStr = Jour_num == 1 ? - `
    + var ImpactFactorStr = + Jour_num == 1 + ? `
    Impact Factor ${ImpactFactor}
    ` - : '' - var CiteScoreStr = `
    CiteScore ${CiteScore} -
    ` - $('#top_bar .rgb_color_background h1').css({ 'position': 'relative' }) - if (ImpactFactor || CiteScore) { - $('#top_bar .rgb_color_background h1 a').after(`
    ${ImpactFactorStr}${CiteScoreStr}
    `) - } - if (Jour_num == 1) { - // $('.nav_ban h2').html(''); - $('.nav_ban h2').html(''); - } else if (Jour_num == 2) { - //cancer - $('.nav_ban h2').html(''); - - } else if (Jour_num == 11) { - //mdm - $('.nav_ban h2').html(''); - } - else if (Jour_num == 25) { - //bmec - $('.nav_ban h2').html(''); - } - else if (Jour_num == 14) { - //lr - $('.nav_ban h2').html(''); - } - - // 外链信息 - var arr_Abc = result.data.journalAbs.filter(e => e.is_show == 1); - var AbstractingStr = ""; - for (var i = 0; i < arr_Abc.length; i++) { - // if (arr_Abc[i].is_show == 1) { - AbstractingStr += `
  • » ${arr_Abc[i].title}
  • ` - // } - } - - - - var apcStr = ``; - if ([1, 25, 11].includes(Number(Jour_num))) { - - if (arr_jour.apc == '$600') { - apcStr = ` ${arr_jour.apc}` - } else { - apcStr = arr_jour.apc - } +
    `; + $("#top_bar .rgb_color_background h1").css({ position: "relative" }); + if (ImpactFactor || CiteScore) { + $("#top_bar .rgb_color_background h1 a").after( + `
    ${ImpactFactorStr}${CiteScoreStr}
    ` + ); + } + if (Jour_num == 1) { + // $('.nav_ban h2').html(''); + $(".nav_ban h2").html( + '' + ); + } else if (Jour_num == 2) { + //cancer + $(".nav_ban h2").html( + '' + ); + } else if (Jour_num == 11) { + //mdm + $(".nav_ban h2").html( + '' + ); + } else if (Jour_num == 25) { + //bmec + $(".nav_ban h2").html( + '' + ); + } else if (Jour_num == 14) { + //lr + $(".nav_ban h2").html( + '' + ); + + } else if (Jour_num == 4) { + //lr + $(".nav_ban h2").html( + '' + ); + } + // 外链信息 + var arr_Abc = result.data.journalAbs.filter((e) => e.is_show == 1); + var AbstractingStr = ""; + for (var i = 0; i < arr_Abc.length; i++) { + // if (arr_Abc[i].is_show == 1) { + AbstractingStr += `
  • » ${ + arr_Abc[i].title + }
  • `; + // } + } + var apcStr = ``; + if ([1, 25, 11].includes(Number(Jour_num))) { + if (arr_jour.apc == "$600") { + apcStr = ` ${arr_jour.apc}`; } else { - apcStr = arr_jour.apc + `( 2025–2026 )`; + apcStr = arr_jour.apc; } - //是否显示地图 - var isShowAuthorship = 0; - if ([1, 14, 8].includes(Number(Jour_num))) { - isShowAuthorship = 1 - } - var ISSNDirection = 'left'; - var ISSNColor = '#7a2702'; - var ISSNBottom = '6px'; - if ([14, 11, 17].includes(Number(Jour_num))) { - ISSNDirection = 'right' - ISSNColor = '#e9e9e9' + } else { + apcStr = + arr_jour.apc + + `( 2025–2026 )`; + } + //是否显示地图 + var isShowAuthorship = 0; + if ([1, 14, 8].includes(Number(Jour_num))) { + isShowAuthorship = 1; + } + var ISSNDirection = "left"; + var ISSNColor = "#7a2702"; + var ISSNBottom = "6px"; + if ([14, 11, 17].includes(Number(Jour_num))) { + ISSNDirection = "right"; + ISSNColor = "#e9e9e9"; + } else if ([18].includes(Number(Jour_num))) { + ISSNDirection = "right"; + ISSNColor = "#fff"; + } + //hpm + else if ([8].includes(Number(Jour_num))) { + ISSNDirection = "right"; + ISSNColor = "#333"; + ISSNBottom = "4px"; + } else if ([2].includes(Number(Jour_num))) { + ISSNColor = "#e9e9e9"; + } else if ([4].includes(Number(Jour_num))) { + ISSNColor = "#fff"; + } + //

    ISSN: ${arr_jour.issn}

    - } - else if ([18].includes(Number(Jour_num))) { - ISSNDirection = 'right' - ISSNColor = '#fff' - - } - - else - //hpm - if ([8].includes(Number(Jour_num))) { - ISSNDirection = 'right' - ISSNColor = '#333' - ISSNBottom = '4px' - - } else if ([2].includes(Number(Jour_num))) { - - ISSNColor = '#e9e9e9' - - } else if ([4].includes(Number(Jour_num))) { - - ISSNColor = '#fff' - - } - //

    ISSN: ${arr_jour.issn}

    - - var leftStr = ` + var leftStr = ` - ` - $('.jour_base_info .jour_base_info_center .jour_base_info_center_left').html(leftStr); - //

    Impact Factor (Clarivate): ${ImpactFactor}

    - //

    CiteScore (Scopus): ${CiteScore}

    + `; + $(".jour_base_info .jour_base_info_center .jour_base_info_center_left").html( + leftStr + ); + //

    Impact Factor (Clarivate): ${ImpactFactor}

    + //

    CiteScore (Scopus): ${CiteScore}

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

    Editor-in-Chief

    ${arr_jour.editorinchief}

    + style="display: inline-block;vertical-align: top;margin: 0px;">${ + arr_jour.editorinchief + }

    @@ -1980,10 +2521,24 @@ function initJournalBaseInfo(result) {

    -

    Acceptance: ${arr_jour.acceptance}

    -

    Final Decision: ${arr_jour.finaldecision}

    -

    APC: ${apcStr} - Acceptance: ${ + arr_jour.acceptance + }

    +

    Final Decision: ${ + arr_jour.finaldecision + }

    +

    APC: + ${ + Jour_num == 25 || Jour_num == 11 + ? `${apcStr}` + : apcStr + } + + Free application

    -

    Frequency: ${arr_jour.cycle_}

    +

    Frequency: ${ + arr_jour.cycle_ + }

    E-Mail: ${arr_jour.email}

    -

    ISSN: ${arr_jour.issn}

    + style="color: ${Journals_color}">${ + arr_jour.email + }

    +

    ISSN: ${ + arr_jour.issn + }

  • - ` - // - var otherStr2 = ` + `; + // + var otherStr2 = `
  • Content

    Current Issue

    -

    +

    Online First

    Archiving

    -

    Special Issues

    +

    Special Issues

    +

    Highlights

    -

    News & Comment

    +

    News & Comment

    Topics

    + -
  • ` - var otherStr3 = ` + `; + var otherStr3 = `
  • Publish

    Abstracting & Indexing

    About Journal

    -
    +

    Authorship

    -
    +
    The Past Three Years
    +
      @@ -2037,135 +2612,159 @@ function initJournalBaseInfo(result) {

      Peer-review process

      Ethics and Malpractice Statement

      -

      Special Issue Proposal

      -

      Submission System

      +

      Special Issue Proposal

      +

      Submission System

    • - ` + `; - let pCount = 0; + let pCount = 0; - // 一定会显示的

      (About Journal、Guide for Authors、Peer-review、Submission、Ethics、Contact) - pCount += 6; + // 一定会显示的

      (About Journal、Guide for Authors、Peer-review、Submission、Ethics、Contact) + pCount += 6; - // 判断 Authorship 是否显示 - if (isShowAuthorship) { - pCount += 1; + // 判断 Authorship 是否显示 + if (isShowAuthorship) { + pCount += 1; + } + + // 判断 Special Issue Proposal 是否显示 + if (Jour_num == 1 || Jour_num == 25) { + pCount += 1; + } + + var normalLength = pCount - 1; + // var otherStr4 = ` + //

    • + //
      Abstracting & Indexing
      + //
        ${AbstractingStr} + // ${arr_Abc.length > normalLength ? `more ` : ''} + //
      + //
    • + // ` + $(".jour_base_info .jour_base_info_center .mes_all .mes_all_section").html( + otherStr1 + otherStr2 + otherStr3 + ); + if (Jour_num == 1) { + $.ajax({ + type: "post", + url: apiUrl + "api/Supplementary/getSpecialIssue", + data: { + journal_id: Jour_num, + }, + success: function (result) { + if (result.status == 1 && result.data && result.data.length > 0) { + $("#ongoing-link").show(); + } + }, + }); + } + + $(`.mes_Abs li:gt(${normalLength - 1})`).hide(); + $(".Abstracting").bind("click", function (e) { + var Abstractingcontent = `
        + ${arr_Abc + .map((item, i) => { + return `
      • » ${item.title}
      • `; + }) + .join("")} +
      `; + document + .querySelector("#common-popup .common-popup-content") + .classList.add("whitebg"); + showPopup( + `Abstracting & Indexing`, + Abstractingcontent + ); + + // e.stopPropagation(); + // // f4fafd + // $('.mes_Abs').css({ + // 'background': '#fff' + // }) + // if ($(".wl_click").html() == 'more ') { + // $('.mes_Abs li:gt(14)').hide(); + // $('.wl_click').html('more '); + // } else { + // $('.mes_Abs li:gt(14)').show(); + // $('.wl_click').html('more '); + // $('.mes_Abs').css({ + // 'background': '#f4fafd' + // }) + // } + }); + $(".wl_click").css("color", arr_jour.system_color); + + renderMap(160, function () { + console.log("Operation after renderMap"); + $(".AuthorshipInfo").css("width", "0px"); + }); + $( + ".jour_base_info .jour_base_info_center .mes_all .mes_all_section .mes_all_section_other .Authorship .Authorship_text" + ).click(function (e) { + // 阻止事件冒泡,避免触发文档点击事件 + e.stopPropagation(); + // 获取 .AuthorshipInfo 元素 + var $exportMenu = $(".AuthorshipInfo"); + // 如果元素的透明度为 0(即不可见),就将其显示(设置透明度为 1) + if ($exportMenu.css("opacity") == 0) { + $exportMenu.stop().animate({ opacity: 1 }, 200); // 渐变显示 + $exportMenu.css("width", "270px"); // Set z-index to 11 when visible + } else { + $exportMenu.stop().animate({ opacity: 0 }, 200); // 渐变隐藏 + $exportMenu.css("width", "0px"); // Set z-index to 11 when visible + } + }); + // 点击其他地方时隐藏 .AuthorshipInfo + $(document).click(function (e) { + if ( + !$(e.target).closest( + ".jour_base_info .jour_base_info_center .mes_all .mes_all_section .mes_all_section_other .Authorship .Authorship_text" + ).length && + !$(e.target).closest(".AuthorshipInfo").length + ) { + $(".AuthorshipInfo").stop().animate({ opacity: 0 }, 200); // 点击其他地方时渐变隐藏 + $(".AuthorshipInfo").css("width", "0px"); } - // 判断 Special Issue Proposal 是否显示 - if (Jour_num == 1 || Jour_num == 25) { - pCount += 1; + const isExpanded = $(".wl_click").html().includes("arrow-up"); + if (isExpanded) { + $(".mes_Abs li:gt(14)").hide(); + $(".wl_click").html('more '); + $(".mes_Abs").css({ + background: "#fff", + }); } - - - var normalLength = pCount - 1 - // var otherStr4 = ` - //
    • - //
      Abstracting & Indexing
      - //
        ${AbstractingStr} - // ${arr_Abc.length > normalLength ? `more ` : ''} - //
      - //
    • - // ` - $('.jour_base_info .jour_base_info_center .mes_all .mes_all_section').html(otherStr1 + otherStr2 + otherStr3); - - - - - $(`.mes_Abs li:gt(${normalLength - 1})`).hide(); - $(".Abstracting").bind('click', function (e) { - var Abstractingcontent = `
        - ${arr_Abc.map((item, i) => { - return `
      • » ${item.title}
      • `; - }).join('')} -
      ` - document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); - showPopup(`Abstracting & Indexing`, Abstractingcontent) - - // e.stopPropagation(); - // // f4fafd - // $('.mes_Abs').css({ - // 'background': '#fff' - // }) - // if ($(".wl_click").html() == 'more ') { - // $('.mes_Abs li:gt(14)').hide(); - // $('.wl_click').html('more '); - // } else { - // $('.mes_Abs li:gt(14)').show(); - // $('.wl_click').html('more '); - // $('.mes_Abs').css({ - // 'background': '#f4fafd' - // }) - // } - }); - $(".wl_click").css('color', arr_jour.system_color); - - renderMap(160, function () { - console.log('Operation after renderMap'); - $(".AuthorshipInfo").css("width", '0px') - }); - $(".jour_base_info .jour_base_info_center .mes_all .mes_all_section .mes_all_section_other .Authorship .Authorship_text").click(function (e) { - // 阻止事件冒泡,避免触发文档点击事件 - e.stopPropagation(); - // 获取 .AuthorshipInfo 元素 - var $exportMenu = $(".AuthorshipInfo"); - // 如果元素的透明度为 0(即不可见),就将其显示(设置透明度为 1) - if ($exportMenu.css("opacity") == 0) { - $exportMenu.stop().animate({ opacity: 1 }, 200); // 渐变显示 - $exportMenu.css("width", '270px'); // Set z-index to 11 when visible - } else { - $exportMenu.stop().animate({ opacity: 0 }, 200); // 渐变隐藏 - $exportMenu.css("width", '0px'); // Set z-index to 11 when visible - } - }); - // 点击其他地方时隐藏 .AuthorshipInfo - $(document).click(function (e) { - if (!$(e.target).closest(".jour_base_info .jour_base_info_center .mes_all .mes_all_section .mes_all_section_other .Authorship .Authorship_text").length - && !$(e.target).closest(".AuthorshipInfo").length) { - $(".AuthorshipInfo").stop().animate({ opacity: 0 }, 200); // 点击其他地方时渐变隐藏 - $(".AuthorshipInfo").css("width", '0px') - } - - const isExpanded = $('.wl_click').html().includes('arrow-up'); - if (isExpanded) { - $('.mes_Abs li:gt(14)').hide(); - $('.wl_click').html('more '); - $('.mes_Abs').css({ - 'background': '#fff' - }) - } - - - }); - $('#st-2 .st-btn > img').css({ - 'top': '0 !important' - }) - + }); + $("#st-2 .st-btn > img").css({ + top: "0 !important", + }); } // window.onload = function() { // setTimeout(showPopup, 3000); // }; function showPopup(title, content) { - $('#common-popup .common-popup-title').html(title) - $('#common-popup .common-popup-content').html(content) - document.getElementById('common-overlay').style.display = 'block'; - document.getElementById('common-popup').style.opacity = '1'; - document.getElementById('common-popup').style.zIndex = '101'; + $("#common-popup .common-popup-title").html(title); + $("#common-popup .common-popup-content").html(content); + document.getElementById("common-overlay").style.display = "block"; + document.getElementById("common-popup").style.opacity = "1"; + document.getElementById("common-popup").style.zIndex = "101"; - - // 5秒后自动关闭 - // setTimeout(closePopup, 5000); + // 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); + 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); } - diff --git a/journals_ghr1.html b/journals_ghr1.html index 4cbe762..3fd9c4f 100644 --- a/journals_ghr1.html +++ b/journals_ghr1.html @@ -12,15 +12,7 @@ - @@ -30,59 +22,60 @@
      - -
      -
      -
      +
      +
      +
      +
      +
      + + + + + + Since June 2025, Gastroenterology & Hepatology + Research has been published by Xia & He Publishing Inc. The new journal + homepage is available at: + https://www.xiahepublishing.com/journals/ghr + . + + + + +
      +
      +
      +
      - -
      -
      - - - -
      - -
      -
      - -
      - + + - -
      - -
      -

      Coming soon!

      -
      -
      -
      -
      -
      -
      -

      Online First

      - More -
        - -
      -
      -
      - - - - +
      --> +
      - + diff --git a/js/article.js b/js/article.js index 0035c89..f8b406a 100644 --- a/js/article.js +++ b/js/article.js @@ -2,7 +2,103 @@ var commonSupColor = 'rgb(0,112,192)'//上角标颜色 var commonTableTitleColor = 'rgb(210,90,90)'//上角标颜色 var commonSupFontColor = 'color:rgb(0,112,192);'//上角标字体颜色 +const style = document.createElement('style'); +style.innerHTML = ` +wmath[data-wrap="inline"] { + display: inline-block !important; + width: auto !important; + +} +.outiline-item-h1,.outiline-item-h1 *{ + font-weight: bold; +} +.wen_rong .content-box .conthtmn .Ptitle *{ + font-weight: bold !important; + font-style: normal !important; +} +.Subtitle,.Subtitle *{ + font-weight: bold; +} +.mb_aform{ + display:none; +} +.pos_ter{ + padding:10px; +} +.pos_ter>div:nth-child(1) { + width: 25%; +} +.htmlImageNote blue{ + color :#0082AA !important; +} +.htmlImageNote blue *{ + color :#0082AA !important; +} +.wenzhang .wen_jian h4 i{ + + font-weight: 500; + font-weight: bold; + +} +mytable,mytable *,myfigure,myfigure *{ + color :#0082AA !important; + cursor: pointer; +} +myh3,myh3 *{ + font-weight: bold !important; +} +.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; + +} +.footer .daohang ul:nth-child(4) { + width: 12% !important; + } +.conthtmn_right_html .newHtml2 .pMain b *{ + font-weight: bold; +} +.MaxPicture,.table_Box { + scroll-margin-top: 100px; +} +` + +document.head.appendChild(style); function loadMathJax(callback) { const script = document.createElement('script'); @@ -24,11 +120,11 @@ function loadMathJax(callback) { loadMathJax() var script = document.createElement('script'); -script.src = '/js/not_map.js'; +script.src = '/js/not_map.js'; var script1 = document.createElement('script'); -script1.src = '/echarts-master/echarts.min.js'; +script1.src = '/echarts-master/echarts.min.js'; var script2 = document.createElement('script'); -script2.src = '/echarts-master/world.js'; +script2.src = '/echarts-master/world.js'; document.head.appendChild(script1); document.head.appendChild(script2); @@ -36,7 +132,7 @@ document.head.appendChild(script); // 列表 function at_list() { - + function adjustNavHeight() { var windowHeight = window.innerHeight; // 获取页面高度 $(".anchor-nav").css("height", windowHeight + "px"); // 设置导航栏高度为页面高度 @@ -7076,8 +7172,8 @@ function getCitations(doi, a_ID) { success: function (result) { if (result.code == 0) { var str1 = `
      ${result.data.list && result.data.list.length > 0 ? result.data.list.length : 0}
      ` - - $('.Wos .quote-content1').html(str1) + + $('.Wos .quote-content1').html(str1) var journalCiteStr = "" var arr = result.data.list for (let i in arr) { @@ -7186,9 +7282,9 @@ function getCitations(doi, a_ID) { success: function (result) { if (result.code == 0) { var str1 = `
      ${result.data && result.data.length > 0 ? result.data.length : 0}
      ` - + $('.Crossref .quote-content1').html(str1) - var arr = result.data + var arr = result.data var journalCiteStr = "" for (let i in arr) { journalCiteStr += `

      ${Number(i) + 1}.

      @@ -7249,7 +7345,7 @@ function getCitations(doi, a_ID) { // 文章内容 function article_con() { - + var newBox = document.querySelector('.newBox'); var commonPopupStr = ` @@ -7281,24 +7377,24 @@ function article_con() { var a_ID = getQueryString('a_id'); //文章 var htm_ID = getQueryString('s_htm'); //目前显示html const isPre = getQueryString('preview'); - if(!isPre){ - initArticleNavList(a_ID) + if (!isPre) { + initArticleNavList(a_ID) } - + // 增加访问次数 if (Jour_num == 1 || Jour_num == 11 || Jour_num == 25) { var CiteScoreStr = '' var marginLeft = 20 if (Jour_num == 1) { - CiteScoreStr = '2.2'; + CiteScoreStr = '2.5'; marginLeft = 10 } else if (Jour_num == 11) { CiteScoreStr = '0.4'; } else if (Jour_num == 25) { - CiteScoreStr = '1.7'; + CiteScoreStr = '1.8'; } if (Jour_num == 1) { // $('#top_bar .nav_ban h2 img').css('zoom','0.75') @@ -8672,7 +8768,7 @@ function addRowIdToData(content) { data[i][j].rowId = rowId; } } - console.log('每行data数据111:', JSON.parse(JSON.stringify(data))) + const seenIds = []; @@ -8746,9 +8842,9 @@ function initArticleHtmlFun(arr, result, html_type) { const { header, content } = splitTable(tableList); - console.log('content at line 8641:', content); // 打印深拷贝的内容 + // 打印深拷贝的内容 var { rowData, rowIds } = addRowIdToData(JSON.parse(JSON.stringify(content))) - console.log('content at line 8542:', rowIds, rowData) + // console.log('contentList at line 8571:', contentList) contentHtml = ` @@ -8830,8 +8926,8 @@ text-align:left;color:#333;" >${item.table.note ? item.table.note : '' }).join(''); htmlContent = `
      ${htmlContent}
      ` $('.wen_rong .content-box .conthtmn').html(htmlContent); - - + + if (result.data.refers.length > 0) { // 如果有引用数据 var refs = ''; var xuhao = 0; @@ -8960,6 +9056,10 @@ function initArticleHtml(htmlData, refs, type) { $('.wen_rong .content-box .conthtmn sup').each(function () { var textContent = $(this).text().trim(); // 获取并清理文本内容 + // 如果包含 + 或 - (离子的特征),直接跳过,不执行后面的标蓝逻辑 + if (/[+\-]/.test(textContent)) { + return; // 结束当前循环,进入下一个 sup + } // 判断文本是否是纯数字 if (/^\d+$/.test(textContent)) { this.style.setProperty('color', commonSupColor, 'important'); @@ -8987,6 +9087,7 @@ function initArticleHtml(htmlData, refs, type) { }); + $('.wen_rong .content-box .conthtmn b i').each(function () { this.style.setProperty('font-weight', 'bold', 'important'); @@ -9018,6 +9119,8 @@ function initArticleHtml(htmlData, refs, type) { htmlData.forEach((item, index) => { + + let sectionId = 'section-' + index; // 生成唯一的 ID if (type == 0) { @@ -9036,13 +9139,14 @@ function initArticleHtml(htmlData, refs, type) { } else { // 判断是否是图片 if (item.type == 1) { + var picsrc = 'https://submission.tmrjournals.com/public/articleImage/' + item.image.url; var textContentimg = $('
      ').html(item.note).text(); // 提取纯文本 - navLinks.image.push({ sectionId: sectionId, type: 'image', text: textContentimg || 'Image ' + (index + 1), href: '#' + sectionId, url: picsrc }); + navLinks.image.push({ sectionId: sectionId, data_id: item.ami_id, type: 'image', text: textContentimg || 'Image ' + (index + 1), href: '#' + sectionId, url: picsrc }); } else if (item.type == 2) { var textContentTable = $('
      ').html(item.table.title).text(); // 提取纯文本 - navLinks.table.push({ sectionId: sectionId, type: 'table', text: textContentTable || 'Table ' + (index + 1), href: '#' + sectionId }); + navLinks.table.push({ sectionId: sectionId, data_id: item.amt_id, type: 'table', text: textContentTable || 'Table ' + (index + 1), href: '#' + sectionId }); } else { var textContent = $('
      ').html(item.content).text(); // 提取纯文本 @@ -9074,7 +9178,7 @@ function initArticleHtml(htmlData, refs, type) { // 使用 map 来遍历并返回 HTML 字符串 navHtml += navLinks.image.map((link, linkIndex) => { - return ` + return `

      Figure${linkIndex + 1} @@ -9100,7 +9204,7 @@ function initArticleHtml(htmlData, refs, type) { console.log(link.text, '99999') } - return ` { + e.preventDefault(); + + if (targetSectionId) { + // 5. 查找最终跳转的目标段落 (假设 data-section 的值就是元素的 ID) + const finalTarget = document.getElementById(targetSectionId); + + if (finalTarget) { + console.log(`正在跳转至: #${targetSectionId}`); + + finalTarget.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + + // 可选:添加临时高亮提示用户 + // highlightElement(finalTarget); + } else { + console.warn(`未找到 ID 为 "${targetSectionId}" 的目标元素`); + } + } else { + console.warn(`元素 [nav-data-id="${dataIndex}"] 上未找到 data-section 属性`); + } + }); + } + } }); }); @@ -9275,8 +9421,7 @@ function splitTable(tableList) { } }); // - console.log('header:', header); // 打印头部行数据 - console.log('table打印内容行数据:', content); // 打印内容行数据 + return { header, content }; } @@ -9361,8 +9506,8 @@ function initArticleNavList(a_ID) { isShowAuthorship = 1 } // if (a_ID == 4477) { - const style = document.createElement('style'); - style.innerHTML = `/* 遮罩层 */ + const style = document.createElement('style'); + style.innerHTML = `/* 遮罩层 */ .article_dropbtn:hover { color: ${Journals_color}; @@ -9375,12 +9520,12 @@ function initArticleNavList(a_ID) { } `; - document.head.appendChild(style); - + document.head.appendChild(style); - // 获取 id 为 top_bar 的元素 - var topBar = document.getElementById("top_bar"); - var otherStr1 = ` + + // 获取 id 为 top_bar 的元素 + var topBar = document.getElementById("top_bar"); + var otherStr1 = `

      Current Issue

      Online First

      @@ -9390,15 +9535,15 @@ function initArticleNavList(a_ID) {

      Highlights

      ` - var otherStr2 = `

      Journal Information

      + var otherStr2 = `

      Journal Information

      Guide for Authors

      Abstracting & Indexing

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

      Peer-review process

      Submission System

      Ethics and Malpractice Statement

      @@ -9408,7 +9553,7 @@ function initArticleNavList(a_ID) {

      Authorship

      ` - var str = `
      + var str = `
      Articles & Issues
      @@ -9428,13 +9573,13 @@ function initArticleNavList(a_ID) {
      ` - // 使用 insertAdjacentHTML 在 top_bar 后插入新元素 - if(topBar){ - topBar.insertAdjacentHTML('afterend', str); - } - + // 使用 insertAdjacentHTML 在 top_bar 后插入新元素 + if (topBar) { + topBar.insertAdjacentHTML('afterend', str); + } - // JavaScript to handle dropdown toggle on button click + + // JavaScript to handle dropdown toggle on button click @@ -9482,8 +9627,8 @@ function openAuthorship(Jour_num, Journals_color) { 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'; + + document.getElementById('common-overlay').style.display = 'block'; if (type == 'Authorship') { document.getElementById('common-popup').style.width = 'auto'; renderMap(190) @@ -9491,7 +9636,7 @@ function showPopup(title, content, type) { document.getElementById('common-popup').style.opacity = '1'; document.getElementById('common-popup').style.zIndex = '101'; - + // 5秒后自动关闭 // setTimeout(closePopup, 5000); } diff --git a/js/articleJS/article_y.js b/js/articleJS/article_y.js index 6291492..a20cd52 100644 --- a/js/articleJS/article_y.js +++ b/js/articleJS/article_y.js @@ -5,6 +5,11 @@ function initArticleY() { // 分期时间的文章列表 // 分期时间的文章列表 if (y_ID != null) { + if(J_ID==13){ + $('.footer').hide(); + }else{ + $('.footer').show(); + } // 分期时间 localStorage.setItem("Journals_num", J_ID); commonInit() diff --git a/js/articleJS/index.js b/js/articleJS/index.js index e6d7a8f..f287e79 100644 --- a/js/articleJS/index.js +++ b/js/articleJS/index.js @@ -31,13 +31,27 @@ function commonInit() { } function commonGetItemHtml(doc) { - + const style = document.createElement("style"); + style.innerHTML = ` + + .tradition-content i,.tradition-content i *{ + font-weight: 300 !important; + } + .tradition-content blue,.tradition-content blue *{ + color: rgb(0, 112, 192) !important; + } + .tradition-content b,.tradition-content b *{ + font-weight: bold !important; + } + + `; + document.head.appendChild(style); var data = doc.data; var i = doc.i; var img_i = doc.img_i; var c_t_a = doc.c_t_a; var tong_geogle = doc.tong_geogle; - console.log('img_i at line 31:', img_i) + var baseInfo = { doi_: !data.doi ? '' : `https://doi.org/${data.doi}`, npp_: data.npp == '' || data.npp == ' ' ? '' : `: ${data.npp}.  `, @@ -123,7 +137,7 @@ function commonGetItemHtml(doc) { baseInfo.trad_tion = '
      ' + data.abstract?data.abstract:'' + '
      ' } } else { - baseInfo.trad_tion = '

      ' + data.tradition_tag + '

      ' + data.tradition + '

      ' + baseInfo.trad_tion = '

      ' + data.tradition_tag + '

      ' + data.tradition + '
      ' } if (data.topic && data.topic.length > 0) { diff --git a/js/article_v2.js b/js/article_v2.js index d871735..a0a18b3 100644 --- a/js/article_v2.js +++ b/js/article_v2.js @@ -3,6 +3,21 @@ var commonTableTitleColor = 'rgb(210,90,90)'//上角标颜色 var commonSupFontColor = 'color:rgb(0,112,192);'//上角标字体颜色 const style = document.createElement('style'); style.innerHTML = ` +wmath[data-wrap="inline"] { + display: inline-block !important; + width: auto !important; + +} +.outiline-item-h1,.outiline-item-h1 *{ + font-weight: bold; +} +.wen_rong .content-box .conthtmn .Ptitle *{ + font-weight: bold !important; + font-style: normal !important; +} +.Subtitle,.Subtitle *{ + font-weight: bold; +} .mb_aform{ display:none; } @@ -15,12 +30,22 @@ style.innerHTML = ` .htmlImageNote blue{ color :#0082AA !important; } +.htmlImageNote blue *{ + color :#0082AA !important; +} .wenzhang .wen_jian h4 i{ font-weight: 500; font-weight: bold; +} +mytable,mytable *,myfigure,myfigure *{ + color :#0082AA !important; + cursor: pointer; +} +myh3,myh3 *{ + font-weight: bold !important; } .v4-art-top #st-2 .st-btn > img{ @@ -61,7 +86,12 @@ margin-left: calc((100% - 190px - 65px)/2) !important; width: 26% !important; } - +.conthtmn_right_html .newHtml2 .pMain b *{ + font-weight: bold; +} +.MaxPicture,.table_Box { + scroll-margin-top: 100px; +} ` document.head.appendChild(style); @@ -227,7 +257,7 @@ function fetchCitationsData(doi, a_ID, callback) { }); } function renderCitations(citations, doi) { - + let wosHtml = ''; citations.wos.forEach((item, i) => { @@ -460,7 +490,7 @@ function article_con() { // 将弹窗插入到页面中 newBox.insertAdjacentHTML('beforeend', commonPopupStr); - + // 获取地址栏信息 function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); @@ -522,7 +552,7 @@ function article_con() { success: function (result) { // initArticleNavList(a_ID) - + $('.wenzhang .wen_rong .left').css({ 'background-color': '#f4fafd', @@ -536,6 +566,8 @@ function article_con() { 'background-color': '#fff' }) if (result.code == 0) { + localStorage.setItem("Journals_usx", result.data.journalInfo.usx); + $('.nav_ban h1 a').attr('href', '/' + result.data.journalInfo.usx); var html_type = result.data.articleInfo.html_type var has_html = result.data.articleInfo.has_html initMoreButtonTopList(result.data, a_ID) @@ -820,7 +852,7 @@ function article_con() { } else { var picsrc = 'https://submission.tmrjournals.com/public/mainimg/' + arr[i].content; var fun = "picPreview('" + picsrc + "');" - + str += `
      ` + "

      ` + arr[i].note + "

      " } @@ -881,7 +913,7 @@ function article_con() { }) } else if (html_type == 1) { - + var str = '' if (Jour_num == 1) { j_artc.abstract = j_artc.abstract.replace(new RegExp("0, 102, 204", "g"), "0,102,153") @@ -913,7 +945,7 @@ function article_con() { }, ] - + for (var i = 0; i < arr.length; i++) { let sectionId = 'section-' + i; // 生成唯一的 ID @@ -961,7 +993,7 @@ function article_con() { } - + if (j_artc.file_html == '') { $('.wen_rong #tablist .tarfihml').css('display', 'none'); // $('.wen_rong .rong_box .contfhml').css('display','none'); @@ -969,7 +1001,7 @@ function article_con() { $('.wen_rong #tablist .tarfihml').html('HTML'); $('.wen_rong .rong_box .contfhml ul').html(' HTML'); } - + if (j_artc.mhoo == '' || j_artc.mhoo == null) { $('.wen_rong #tablist .tarmho').css('display', 'none'); $('.wen_rong .content-box .contemho').css('display', 'none'); @@ -1097,13 +1129,13 @@ function article_con() { }, error: function (jqXHR, textStatus, errorThrown) { ShowDanger("error!"); - 细的错误信息 + 细的错误信息 } }) }); } catch (error) { - + } } @@ -1248,7 +1280,7 @@ function shouldColor(rowIndex, cellIndex, row) { return false; } function addRowIdToData(content) { - + var data = JSON.parse(JSON.stringify(content)) const rowIdMap = {}; const usedRows = new Set(); @@ -1284,7 +1316,7 @@ function addRowIdToData(content) { data[i][j].rowId = rowId; } } - + const seenIds = []; @@ -1411,25 +1443,20 @@ function initTopics(a_ID) { } function initArticleHtmlFun(arr, result, html_type, ArticleData) { - - var refersContent = ''; var htmlContent = '' htmlContent += arr.map((item, index) => { - //批注 + let contentHtml = ''; let sectionId = 'section-' + index; // 生成唯一的 ID // 判断是否是图片 if (item.type == 1) { - var picsrc = 'https://submission.tmrjournals.com/public/articleImage/' + item.image.url; var fun = "picPreview('" + picsrc + "');" - contentHtml = `

      -

      ]*src=["']data:image\//i.test(content); + + // 2. 判断是否是服务器特定的图片路径 (用于拼接域名) + const isServerPathImage = /src=["']\/public\/articleTableImage/i.test(content); + + let finalContent = content; + + if (isBase64Image) { + // 处理 Base64:注入点击预览 picPreview + finalContent = content.replace( /]*?)src=["'](data:image\/[^"']+)["']([^>]*)>/gi, (match, preAttrs, src, postAttrs) => { const safeSrc = src.replace(/'/g, "\\'"); - return ``; + return ``; } - ) - : content; + ); + } else if (isServerPathImage) { + // 处理特定路径:拼接域名 https://submission.tmrjournals.com + finalContent = content.replace( + /]*?)src=["'](\/public\/articleTableImage[^"']+)["']([^>]*)>/gi, + (match, preAttrs, src, postAttrs) => { + const fullUrl = `https://submission.tmrjournals.com${src}`; + // 建议这里也加上 max-width 兼容性更好 + return ``; + } + ); + } return ` @@ -1525,7 +1570,11 @@ text-align:left;color:#333;" >${item.table.note ? item.table.note : ''

      `; } else { - contentHtml = `

      ${item.content}

      `; + contentHtml = `

      ${item.content}

      `; } @@ -1579,9 +1628,9 @@ text-align:left;color:#333;" >${item.table.note ? item.table.note : '' initContentHtml({ html: htmlContent, refers: refersContent }, arr, result.data.refers, html_type, { ...ArticleData }) } async function initContentHtml(content, arr, refers, html_type, ArticleData) { - + var j_artc = ArticleData.data.articleInfo - + var pdf_list = '' var pdfStr = '' if (j_artc.file_sub && j_artc.file_sub != '') { @@ -1625,7 +1674,12 @@ async function initContentHtml(content, arr, refers, html_type, ArticleData) { '
      Supplementary Material for doi: ' + j_artc.doi + 'Download
      '; } - if (pdf_list != '') { + if (j_artc.file_sub_table && j_artc.file_sub_table != '') { + pdf_list += '
    • ' + + + '
      Supplementary Material for doi: ' + j_artc.doi + 'Download
    • '; + } + if (pdf_list != '') { pdfStr = `

      Supplementary Material

      ${pdf_list}
      ` } @@ -1809,9 +1863,9 @@ async function initContentHtml(content, arr, refers, html_type, ArticleData) { await initArticleHtml(arr, refers, html_type, { OriginalDataStr: OriginalDataStr, pdfStr: pdfStr, trackStr: trackStr, mhooStr: mhooStr }) await initRelatedArticles(ArticleData.a_ID) await initTopics(ArticleData.a_ID) - + await fetchCitationsData(j_artc.doi, ArticleData.a_ID, async function (data) { - + citationCache = data; // 存好结果,稍后再使用 await renderCitations(citationCache, j_artc.doi); // 传入上一步保存的数据 }); @@ -1819,7 +1873,7 @@ async function initContentHtml(content, arr, refers, html_type, ArticleData) { } function initArticleHtml(htmlData, refs, type, otherList) { - + document.querySelectorAll('wmath').forEach(el => { const latex = el.getAttribute('data-latex'); if (latex) { @@ -1880,7 +1934,7 @@ function initArticleHtml(htmlData, refs, type, otherList) { } if (text === 'citation') { citationEndIndex = index; - + } }); @@ -1903,6 +1957,10 @@ function initArticleHtml(htmlData, refs, type, otherList) { $('.wen_rong .content-box .conthtmn sup').each(function () { var textContent = $(this).text().trim(); // 获取并清理文本内容 + // 如果包含 + 或 - (离子的特征),直接跳过,不执行后面的标蓝逻辑 + if (/[+\-]/.test(textContent)) { + return; // 结束当前循环,进入下一个 sup + } // 判断文本是否是纯数字 if (/^\d+$/.test(textContent)) { this.style.setProperty('color', commonSupColor, 'important'); @@ -1982,10 +2040,10 @@ function initArticleHtml(htmlData, refs, type, otherList) { var picsrc = 'https://submission.tmrjournals.com/public/articleImage/' + item.image.url; var textContentimg = $('
      ').html(item.note).text(); // 提取纯文本 - navLinks.image.push({ sectionId: sectionId, type: 'image', text: textContentimg || 'Image ' + (index + 1), href: '#' + sectionId, url: picsrc }); + navLinks.image.push({ sectionId: sectionId, data_id: item.ami_id, type: 'image', text: textContentimg || 'Image ' + (index + 1), href: '#' + sectionId, url: picsrc }); } else if (item.type == 2) { var textContentTable = $('
      ').html(item.table.title).text(); // 提取纯文本 - navLinks.table.push({ sectionId: sectionId, type: 'table', text: textContentTable || 'Table ' + (index + 1), href: '#' + sectionId }); + navLinks.table.push({ sectionId: sectionId, data_id: item.amt_id, type: 'table', text: textContentTable || 'Table ' + (index + 1), href: '#' + sectionId }); } else { var textContent = $('
      ').html(item.content).text(); // 提取纯文本 @@ -2001,7 +2059,7 @@ function initArticleHtml(htmlData, refs, type, otherList) { }) } - + // 引用 var navHtml = `
      @@ -2026,7 +2084,7 @@ function initArticleHtml(htmlData, refs, type, otherList) { navHtml += navLinks.image.map((link, linkIndex) => { const isHidden = linkIndex >= 3 ? 'style="display:none;" class="extra-figure"' : ''; - return ` + return `

      `; @@ -2084,7 +2142,7 @@ function initArticleHtml(htmlData, refs, type, otherList) { // } const isHidden = linkIndex >= 1 ? 'style="display:none;" class="extra-table"' : `` - return ` { + e.preventDefault(); + + if (targetSectionId) { + // 5. 查找最终跳转的目标段落 (假设 data-section 的值就是元素的 ID) + const finalTarget = document.getElementById(targetSectionId); + + if (finalTarget) { + console.log(`正在跳转至: #${targetSectionId}`); + + finalTarget.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + + // 可选:添加临时高亮提示用户 + // highlightElement(finalTarget); + } else { + console.warn(`未找到 ID 为 "${targetSectionId}" 的目标元素`); + } + } else { + console.warn(`元素 [nav-data-id="${dataIndex}"] 上未找到 data-section 属性`); + } + }); + } + } + }); - }); + } @@ -2343,16 +2443,16 @@ function splitTable(tableList) { } }); // - - - - + + + + return { header, content }; } // 图片预览 function picPreview(src) { - + $('.PicPreview img').attr('src', src) $('.PicPreview').show() } @@ -2373,8 +2473,24 @@ function showComments(num) { /// ,btn: ['close'] , btnAlign: 'c' , moveType: 1 //拖拽模式,0或者1 - , content: shenCode[num] + , content: shenCode[num], + success: function(layero, index) { + // success 会在弹窗 DOM 准备就绪后立即触发 + const wmathElements = layero[0].querySelectorAll('wmath'); + wmathElements.forEach(el => { + const latex = el.getAttribute('data-latex'); + if (latex) { + el.innerHTML = latex; + } + }); + + // 批量渲染该弹窗内的公式 + if (window.MathJax && MathJax.typesetPromise) { + MathJax.typesetPromise([layero[0]]).catch((err) => console.log(err)); + } + } }); + } function getCiteList(a_ID) { $('.cite_box .export_cite').html('
      '); @@ -2424,8 +2540,8 @@ function getCiteList(a_ID) { function initArticleNavList(a_ID) { 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; @@ -2532,7 +2648,7 @@ function openPdf(url, j_artc, Jour_num) { window.open(url); } function initMoreButtonTopList(articleInfo, a_ID) { - + var j_artc = articleInfo.articleInfo var Journals_color = localStorage.getItem('Journals_color') var journalStageID = localStorage.getItem('journalStageID') @@ -2619,7 +2735,7 @@ function openAbstracting(Jour_num, Journals_color) { } function openCite(Jour_num, Journals_color, a_ID, j_artc, data) { - + var GoogleScholar = '' if ((Math.round(Date.parse(new Date()) / 1000) - j_artc.ctime) / 86400 >= 21) { GoogleScholar = @@ -2723,7 +2839,7 @@ function openAuthorship(Jour_num, Journals_color) {
      ` document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); - showPopup(`Abstracting & Indexing`, Abstractingcontent, 'Authorship') + showPopup(`The Past Three Years`, Abstractingcontent, 'Authorship') } diff --git a/js/common/commonJS.js b/js/common/commonJS.js new file mode 100644 index 0000000..35318a7 --- /dev/null +++ b/js/common/commonJS.js @@ -0,0 +1,147 @@ +(function($) { + // --- 1. 万能参数获取函数 --- + var mySmartGetQuery = function(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; + }; + + if (!window.getQueryString) { + Object.defineProperty(window, 'getQueryString', { + value: mySmartGetQuery, + writable: false, + configurable: false + }); + } + + $(function() { + var path = window.location.pathname; + var segments = path.split('/').filter(Boolean); + + // --- 2. 识别逻辑 --- + var journalCode = null; + var pageKey = null; + var specialJournals = ['bmec', 'tmr', 'cancer', 'hpm', 'ia', 'in', 'lr', 'mdm']; + + if (segments.indexOf('journals') !== -1) { + var jIndex = segments.indexOf('journals'); + journalCode = segments[jIndex + 1]; + pageKey = segments[segments.length - 1]; + } else if (specialJournals.includes(segments[0])) { + journalCode = segments[0]; + pageKey = segments[segments.length - 1]; + } else { + pageKey = segments[0]; + journalCode = null; + } + + // --- 3. 增强版映射表 (支持多参数 + 多接口) --- + var routeMap = { + // 模式 A:纯静态页面,多参数传递 + 'peer-review-process1': { + oldPage: 'afoor_text.html', + params: { footer_id: 37, sid: 37 } + }, + 'editorial-workflow1': { + oldPage: 'afoor_text.html', + params: { footer_id: 76, sid: 76 } + }, + 'for-authors1': { + oldPage: 'afoor_text.html', + params: { footer_id: 74, sid: 74 } + }, + 'open-access1': { + oldPage: 'afoor_text.html', + params: { footer_id: 70, sid: 70 } + }, + 'for-librarians1': { + oldPage: 'afoor_text.html', + params: { footer_id: 77, sid: 77 } + }, + 'for-conference-organizers1': { + oldPage: 'afoor_text.html', + params: { footer_id: 78, sid: 78 } + }, + + // 模式 B:动态页面,指定不同接口 + 'author-guidelines': { + oldPage: 'common_for_author.html', + apiUrl: '/api/Supplementary/getJournalDetail', // 指定接口A + dynamicKey: 'J_num', // 接口返回的ID对应的URL参数名 + params: { sid: 1, } // 其他固定携带参数 + }, + 'editorial-board': { + oldPage: 'journal_members.html', + apiUrl: '/api/Journal/getMembers', // 指定接口B + dynamicKey: 'j_id', + params: { sid: 0, view: 'list' } + } + }; + + var config = routeMap[pageKey]; + if (!config) return; + + var $frame = $('frame[name="main"]'); + if ($frame.length > 0) { + // 如果配置了 apiUrl 且有期刊代码,则发起 Ajax + if (config.apiUrl && journalCode) { + $.ajax({ + type: 'post', + url: config.apiUrl, + data: { usx: journalCode }, + dataType: 'json', + success: function(res) { + // 尝试从返回数据中获取 ID (假设字段为 journal_id 或 id) + var remoteId = res.data ? (res.data.journal_id || res.data.id) : null; + var finalId = remoteId || config.params.sid; + var title = (res.data && res.data.title) || pageKey; + renderFrame(finalId, title); + }, + error: function() { + renderFrame(config.params.sid, pageKey); + } + }); + } else { + // 静态模式:直接取参数中的第一个或特定 ID + var staticId = config.params.footer_id || config.params.sid; + renderFrame(staticId, pageKey); + } + } + + /** + * 渲染函数:拼装所有参数 + */ + function renderFrame(mainId, title) { + if (title) document.title = title; + + var url = "/" + config.oldPage + "?"; + + // 1. 处理动态 ID (如果有) + if (config.dynamicKey) { + url += config.dynamicKey + "=" + mainId + "&"; + } + + // 2. 遍历 params 对象,拼入所有参数 + for (var key in config.params) { + // 如果这个 key 已经在 dynamicKey 里处理过了,可以视情况跳过或覆盖 + if (key === config.dynamicKey) continue; + url += key + "=" + config.params[key] + "&"; + } + + var finalSrc = url + "id_updated=true"; + $frame.attr('src', finalSrc); + console.log("🚀 跳转路径:", finalSrc); + } + + // --- 子页面注入 --- + $frame.on('load', function() { + try { + var childWin = this.contentWindow; + if (childWin && !childWin.getQueryString) { + childWin.getQueryString = mySmartGetQuery; + } + } catch (e) {} + }); + }); +})(jQuery); \ No newline at end of file diff --git a/js/common/commonJS1.js b/js/common/commonJS1.js new file mode 100644 index 0000000..22deb63 --- /dev/null +++ b/js/common/commonJS1.js @@ -0,0 +1,171 @@ +(function ($) { + // --- 1. 获取 URL 参数的工具函数 --- + var mySmartGetQuery = function (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; + }; + + if (!window.getQueryString) { + Object.defineProperty(window, 'getQueryString', { + value: mySmartGetQuery, + writable: false, + configurable: false + }); + } + + // --- 2. 公共方法:主题匹配逻辑 --- + var topicListHandler = function (res, currentCode) { + if (res && res.data && Array.isArray(res.data.topic)) { + var match = res.data.topic.find(function (item) { + var normalizedTitle = (item.title || "").toLowerCase().replace(/[\s-]/g, ''); + var normalizedCode = (currentCode || "").toLowerCase().replace(/[\s-]/g, ''); + return normalizedTitle === normalizedCode || (normalizedTitle + "1") === normalizedCode; + }); + if (match) { + return { id: match.base_topic_id, title: 'TMR' }; + } + } + return null; + }; + + // --- 3. 静态 ID 映射表:解决“一个页面不同 ID”的问题 --- + // 以后增加新页面只需要在这里加一行,不用建文件夹 + var footerMap = { + 'peer-review-process1': 37, + 'editorial-workflow1': 76, + 'for-authors1': 74, + 'open-access1': 70, + 'for-librarians1': 77, + 'for-conference-organizers1': 78, + // 如果有更多,继续往这里塞... + }; + + $(function () { + var path = window.location.pathname; + var segments = path.split('/').filter(Boolean); + var journalCode = null; + var pageKey = null; + var specialJournals = ['bmec', 'tmr', 'cancer', 'hpm', 'ia', 'in', 'lr', 'mdm']; + + // 解析当前页面的 journalCode 和 pageKey + if (segments.indexOf('journals') !== -1) { + var jIndex = segments.indexOf('journals'); + journalCode = segments[jIndex + 1]; + pageKey = segments[segments.length - 1]; + } else if (specialJournals.includes(segments[0])) { + journalCode = segments[0]; + pageKey = segments[segments.length - 1]; + } else if (segments.indexOf('collection') !== -1) { + var CIndex = segments.indexOf('collection'); + journalCode = segments[CIndex + 1]; + pageKey = segments[segments.length - 1]; + } else { + pageKey = segments[0]; + journalCode = null; + } + + // --- 4. 配置表重构 --- + var routeMap = { + // 学科类页面:统统指向 topicListHandler + 'covid-191': { oldPage: 'artihom_list_baseid.html', apiUrl: '/api/Journal/getAllTopics', dynamicKey: 'base_id', params: { J_num: 1 }, handler: topicListHandler }, + 'clinical-medicine1': { oldPage: 'artihom_list_baseid.html', apiUrl: '/api/Journal/getAllTopics', dynamicKey: 'base_id', params: { J_num: 1 }, handler: topicListHandler }, + 'oncology1': { oldPage: 'artihom_list_baseid.html', apiUrl: '/api/Journal/getAllTopics', dynamicKey: 'base_id', params: { J_num: 1 }, handler: topicListHandler }, + 'food1': { oldPage: 'artihom_list_baseid.html', apiUrl: '/api/Journal/getAllTopics', dynamicKey: 'base_id', params: { J_num: 1 }, handler: topicListHandler }, + 'nutriology1': { oldPage: 'artihom_list_baseid.html', apiUrl: '/api/Journal/getAllTopics', dynamicKey: 'base_id', params: { J_num: 1 }, handler: topicListHandler }, + 'pharmacology1': { oldPage: 'artihom_list_baseid.html', apiUrl: '/api/Journal/getAllTopics', dynamicKey: 'base_id', params: { J_num: 1 }, handler: topicListHandler }, + 'immunology1': { oldPage: 'artihom_list_baseid.html', apiUrl: '/api/Journal/getAllTopics', dynamicKey: 'base_id', params: { J_num: 1 }, handler: topicListHandler }, + + 'author-guidelines': { + oldPage: 'common_for_author.html', + apiUrl: '/api/Supplementary/getJournalDetail', + dynamicKey: 'J_num', + handler: function (res) { + if (res.data) return { id: res.data.journal_id || res.data.id, title: res.data.title }; + return null; + } + }, + + // 固定结构的静态页面 + 'online-first1': { oldPage: 'artihom_list_oid.html', params: { J_num: 1, o_id: 1 } }, + 'top-cited1': { oldPage: 'artihom_list_cite.html', params: { J_num: 1, cite_id: 1 } }, + 'new-papers1': { oldPage: 'artihom_list_pid.html', params: { J_num: 1, p_id: 1 } }, + }; + + // --- 5. 动态匹配逻辑:自动处理 footer 系列页面 --- + var config = routeMap[pageKey]; + + if (!config && footerMap[pageKey]) { + // 如果在映射表里找到了,自动指向 afoor_text.html + config = { + oldPage: 'afoor_text.html', + params: { footer_id: footerMap[pageKey] } + }; + } + + // 终极保底:如果页面以 1 结尾且符合学科逻辑,但没在 map 里(比如新加的学科) + if (!config && pageKey && pageKey.slice(-1) === '1') { + config = { + oldPage: 'artihom_list_baseid.html', + apiUrl: '/api/Journal/getAllTopics', + dynamicKey: 'base_id', + params: { J_num: 1 }, + handler: topicListHandler + }; + } + + if (!config) return; + + var $frame = $('frame[name="main"]'); + if ($frame.length > 0) { + if (config.apiUrl && journalCode) { + var postData = config.getCustomParams ? config.getCustomParams(journalCode) : { usx: journalCode }; + + $.ajax({ + type: 'post', + url: config.apiUrl, + data: postData, + dataType: 'json', + success: function (res) { + var result = (typeof config.handler === 'function') ? config.handler(res, journalCode) : null; + var finalId = (result && result.id) || (config.params && (config.params.sid || config.params.footer_id || config.params.J_num)); + var finalTitle = (result && result.title) || pageKey; + renderFrame(finalId || 1, finalTitle); + }, + error: function () { + renderFrame((config.params && (config.params.sid || config.params.J_num)) || 1, pageKey); + } + }); + } else { + // 静态模式:直接取 footer_id 等参数 + var staticId = config.params.footer_id || config.params.sid || config.params.J_num; + renderFrame(staticId, pageKey); + } + } + + function renderFrame(mainId, title) { + if (title) document.title = title; + var url = "/" + config.oldPage + "?"; + if (config.dynamicKey && mainId) url += config.dynamicKey + "=" + mainId + "&"; + for (var key in config.params) { + if (key === config.dynamicKey) continue; + url += key + "=" + config.params[key] + "&"; + } + $frame.attr('src', url + "id_updated=true"); + } + + // 保持原有的子页面交互逻辑... + $frame.on('load', function () { + try { + var $header = $('#index_top'); + $header.find('[onclick*="window.location"]').each(function () { + var cmd = $(this).attr('onclick'); + $(this).attr('onclick', cmd.replace('window.location', 'top.location')); + }); + var childWin = this.contentWindow; + if (childWin && !childWin.getQueryString) childWin.getQueryString = mySmartGetQuery; + } catch (e) { } + }); + }); +})(jQuery); \ No newline at end of file diff --git a/js/commonHomePage.js b/js/commonHomePage.js index 0cdfca5..5e7ff26 100644 --- a/js/commonHomePage.js +++ b/js/commonHomePage.js @@ -1,17 +1,24 @@ function commonHomePage() { const style = document.createElement('style'); style.innerHTML = ` - -#index_top{ - margin-bottom: 0 !important; -} -.exten_sion{ - background-color: #e7f4ff5c !important; - width: 100% !important; - margin: 0 !important; - padding-bottom:40px !important; - padding-top:40px !important; -} + .apc-link { + text-decoration: none; + } + + .apc-link:hover { + text-decoration: underline !important; + color: #006699 ; + } + #index_top{ + margin-bottom: 0 !important; + } + .exten_sion{ + background-color: #e7f4ff5c !important; + width: 100% !important; + margin: 0 !important; + padding-bottom:40px !important; + padding-top:40px !important; + } .es_jour{ width: 1300px !important; margin-left: 0 !important; @@ -154,27 +161,22 @@ function commonHomePage() { cursor: pointer; } - ` document.head.appendChild(style); - // var SubmissionStr = ` - //
    • - // Submission System
    • - //
      ` - // $('#index_top .nav .clear').prepend(SubmissionStr); $.ajax({ type: 'get', url: apiUrl + 'api/Journal/getJournalList', data: {}, success: function (result) { if (result.code == 0) { - var arr = result.data.journalList; var str = ""; for (let i = 0; i < arr.length; i++) { var apcStr = ``; + var apcUrl = `` if ([1, 25, 11, 17].includes(Number(arr[i].journal_id))) { apcStr = arr[i].apc - } else { + } + else { apcStr = arr[i].apc + `( 2025–2026 )`; } // 获取当前期刊独有的journalAbs数据(假设通过journal_id关联) @@ -187,16 +189,18 @@ function commonHomePage() { case 1: ImpactFactor = '1.3' Published = '2016' - CiteScore = '2.2' + CiteScore = '2.5' break; //bmec case 25: Published = '2022' - CiteScore = '1.7' + CiteScore = '1.8' + apcUrl = `https://www.tmrjournals.com/bmec/apc` break; //mdm case 11: CiteScore = '0.4' + apcUrl = `https://www.tmrjournals.com/mdm/apc` break; case 2: @@ -216,7 +220,7 @@ function commonHomePage() { break; case 14: - CiteScore = '0.7' + CiteScore = '0.8' Published = '2018' break; case 11: @@ -253,7 +257,11 @@ function commonHomePage() {

      Final Decision: ${arr[i].finaldecision}

      CiteScore: ${CiteScore}

      Impact Factor: ${ImpactFactor}

      -

      APC: ${apcStr}

      +

      APC: + ${arr[i].journal_id == 25 || arr[i].journal_id == 11 ? + `${apcStr}` : apcStr + } +

      Indexing

      @@ -279,11 +287,11 @@ function commonHomePage() { // 使用当前期刊独有的journalAbs数据 var Abstractingcontent = `
        ${journalAbc.map((item, i) => { - return `
      • + return `
      • »  ${item.title}
      • `; - }).join('')} + }).join('')}
      `; document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); showPopup(`Indexing`, Abstractingcontent); diff --git a/js/forAuthor.js b/js/forAuthor.js index b1f536f..6b3fa00 100644 --- a/js/forAuthor.js +++ b/js/forAuthor.js @@ -127,6 +127,7 @@ function initArticleNavList() { var Journals_color = localStorage.getItem('Journals_color') var Journals_usx = localStorage.getItem('Journals_usx') $('.nav_ban h1 a').attr('href', '/' + Journals_usx); + $('.nav_ban h1 a').attr('target', '_top'); var journalStageID = localStorage.getItem('journalStageID') //是否显示地图 var isShowAuthorship = 0; @@ -240,7 +241,7 @@ function openAuthorship(Jour_num, Journals_color) {
      ` document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); - showPopup(`Abstracting & Indexing`, Abstractingcontent, 'Authorship') + showPopup(`The Past Three Years`, Abstractingcontent, 'Authorship') } @@ -273,11 +274,39 @@ function closePopup() { } function initForAuthor(Jour_num, arr_jour) { + const style = document.createElement('style'); + style.innerHTML = `.apc-link { + text-decoration: none; + } + + .apc-link:hover { + text-decoration: underline !important; + color: ${arr_jour.system_color}; + }` + document.head.appendChild(style); + var apcUrl = `` var apcStr = ``; - if ([1, 25, 11].includes(Number(Jour_num))) { + switch (Number(Jour_num)) { + //bmec + case 25: + apcUrl = `https://www.tmrjournals.com/bmec/apc` + break; + //mdm + case 11: + apcUrl = `https://www.tmrjournals.com/mdm/apc` + break; + + + } + if ([1].includes(Number(Jour_num))) { apcStr = arr_jour.apc - } else { + } + else if ([25, 11].includes(Number(Jour_num))) { + //bmec mdm + apcStr = `${arr_jour.apc}` + } + else { apcStr = arr_jour.apc + `( 2025–2026 )`; } diff --git a/js/gue_cont_v1.js b/js/gue_cont_v1.js index 1589947..eb51e79 100644 --- a/js/gue_cont_v1.js +++ b/js/gue_cont_v1.js @@ -5,6 +5,10 @@ var commonTableTitleColor = 'rgb(210,90,90)'//上角标颜色 var commonSupFontColor = 'color:rgb(0,112,192);'//上角标字体颜色 const style = document.createElement('style'); style.innerHTML = ` +.home_logo img{ + position: absolute; + top: 20px; +} .article{ padding-top:0 !important; } @@ -445,8 +449,8 @@ function guest_title() { - - $('.guest_content_info').html(` +if(str!=''){ + $('.guest_content_info').html(`

      ${Jour_num == '22' ? '客座编辑' : 'Guest Editor'}

      @@ -454,6 +458,8 @@ function guest_title() {
      ${str}
      `); +} + $('.author-name').click(function () { @@ -627,7 +633,7 @@ function guest_title() { trad_tion = `
      -
      ${arr[i].tradition_tag}: ${traditionText}
      +
      ${arr[i].tradition_tag}:
      ${traditionText}
      `; setTimeout(() => { @@ -658,7 +664,7 @@ function guest_title() { trad_tion = `
      -
      ${textContent}
      +
      ${textContent}
      `; } diff --git a/js/journal.js b/js/journal.js index a0ee0d3..490e523 100644 --- a/js/journal.js +++ b/js/journal.js @@ -277,7 +277,7 @@ function bf_list() { var maxHeight = 240; // 最大高度 trad_tion1 = `
      -
      ${textContent}
      +
      ${textContent}
      `; @@ -1044,8 +1044,7 @@ if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) { ShowDanger("error!"); } }) - - +if(Jour_num != 13){ // 相关期刊,过往分期 $.ajax({ type: 'post', url: apiUrl + 'api/Journal/getJournal', @@ -1053,6 +1052,7 @@ if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) { "journal_id": Jour_num }, success: function (result) { + if (result.code == 0) { var arr_stage = result.data.journalStage; var str = ""; @@ -1143,6 +1143,9 @@ if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) { ShowDanger("error!"); } }) +} + + // 下面新增加社区内容 diff --git a/js/js.js b/js/js.js index d88c263..f016459 100644 --- a/js/js.js +++ b/js/js.js @@ -216,7 +216,23 @@ Date.prototype.format = function (format) { // 头部 $('#top_bar').load('header.html') -$('#index_top').load('header_in.html') +$('#index_top').load('header_in.html', function() { + // 1. 找到所有带有跳转逻辑的 a 标签 + var $logo = $(this).find('.home_logo'); + + // 2. 获取原有的 onclick 字符串 + var oldClick = $logo.attr('onclick'); + + if (oldClick && oldClick.indexOf('window.location') !== -1) { + // 3. 直接将字符串里的 window 替换为 top + var newClick = oldClick.replace('window.location', 'top.location'); + + // 4. 重新赋值回去 + $logo.attr('onclick', newClick); + + console.log("✅ 已将触发方式修改为 top:", newClick); + } +}); // 高度一致 diff --git a/js/notice_v1.js b/js/notice_v1.js index a2b726d..a125017 100644 --- a/js/notice_v1.js +++ b/js/notice_v1.js @@ -148,7 +148,7 @@ function notice_con() { //footer if (footer_ID != null) { notice_con_footer(footer_ID) - + } } @@ -1127,12 +1127,15 @@ function guest_title_gea() { }) +} +function initProEditor() { + } // 消息、cfp、footer 内容 function notice_con_footer(footer_ID) { - + const style = document.createElement('style'); style.innerHTML = ` #top_bar{ @@ -1204,32 +1207,48 @@ function notice_con_footer(footer_ID) { width: 26% !important; } + .editor-container { + display: flex; + flex-wrap: wrap; /* 允许换行 */ + width: 100%; /* 根据父容器宽度调整 */ + max-width: 100%; /* 参考图片宽度 */ + } + .editor-item { + color: #0a3088a6; + min-width: 18%; + margin-bottom: 10px; + margin-right: 2%; + + } + .Editor_title{ + font-size: 19px !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'); @@ -1249,7 +1268,7 @@ function notice_con_footer(footer_ID) { // 将弹窗插入到页面中 newBox.insertAdjacentHTML('beforeend', commonPopupStr); // 获取地址栏信息 - + //footer if (footer_ID != null) { initArticleNavList() @@ -1304,7 +1323,7 @@ function notice_con_footer(footer_ID) { if (arg.main == undefined) { str += '' } else { - str += 'Editor-in-Chief

      ' + str += 'Editor-in-Chief

      ' for (var i = 0; i < arg.main.length; i++) { if (arg.main[i].icon == '') { var icon_img = '' @@ -1332,7 +1351,7 @@ function notice_con_footer(footer_ID) { if (arg.remain == undefined) { str += '' } else { - str += 'Vice Editor-in-Chief

      ' + str += 'Vice Editor-in-Chief

      ' for (var i = 0; i < arg.remain.length; i++) { if (arg.remain[i].icon == '') { var icon_img = '' @@ -1361,7 +1380,7 @@ function notice_con_footer(footer_ID) { if (arg.member == undefined) { str += '' } else { - str += 'Editorial Board Members

      ' + str += 'Editorial Board Members

      ' // 未分组 $.each(arg.member, function (key, value) { //遍历键值对 if ($.isArray(arg.member[key]) == true) { @@ -1437,18 +1456,18 @@ function notice_con_footer(footer_ID) { } else { if (arg.member[key][j].website != '') { // Nagwa El-Badri - if(Jour_num==25&&arg.member[key][j].realname == '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{ + '' + 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 + '


    • ' + '' + 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. ' @@ -1495,7 +1514,7 @@ function notice_con_footer(footer_ID) { // 期刊编辑 if (editors && editors.length > 0) { - str += 'Editors & Staff

      ' + str += 'Editors & Staff

      ' for (var i = 0; i < editors.length; i++) { if (editors[i].icon == '') { var icon_img = '' @@ -1514,11 +1533,67 @@ function notice_con_footer(footer_ID) { + icon_img + '
    • ' } } - str += '
    • '; + + } else { str += '' } + // 1. 定义配置映射表 (以后增加新杂志只需在这里加一行) + const journalEditorsMap = { + 25: [ + "Jing-Yi Wang", "Peng-Huai Jia", "Yu-Tong Liu", "Jing-Wei Ma", + "Xin-Yue Zhang", "Si-Chen Liu", "Xiao-Xiao Liu", "Xin-Yun Zhang", + "Jian Jia", "Lei Cao", "Feng Wang", "Jing Yin", "Meng-Meng Song" + ], + 11: [ + "Feng Wang", "Xin-Yun Zhang", "Lei Cao", "Jing-Wei Ma", + "Jian Jia", "Ming-Hao Wang", "Meng-Meng Song" + ], + 14: [ + "Chen-Hui Dong", "Meng-Meng Song", + "Jian Jia", + "Lei Cao", + + "Si-Chen Liu", + "Xin-Yun Zhang", + "Xiu-Jin Wei", + "Yu-Tong Liu" + ], + 8: [ + "Huai-Peng Jia", "Xin-Yue Zhang", "Meng-Meng Song", "Jing Yin", + "Xiu-Jin Wei", "Chen-Hui Dong", "Hao-Chen Zhang", "Jing-Yi Wang", + "Zi-Yao Feng", "Qian-Nan Xie", "Man-Jin Tian", "Na Liu" + ], + 18: [ // 护理 + "Xin-Yue Zhang", "Xiu-Jin Wei", "Lei Cao", "Si-Chen Liu", + "Yu-Tong Liu", "Na Liu", "Jing-Yi Wang", "Chen-Hui Dong", + "Guang-Ze Ma", "Zi-Yao Feng", "Chun Ling", "Nuo-Xi Pi", "Jin-Feng Liu" + ], + 1: [ + "Jing-Yi Wang", "Huai-Peng Jia", "Jian Jia", "Meng-Meng Song", + "Jing Yin", "Xiao-Han Li", "Na Liu", "Xin-Yi Yang", "Xin-Yue Zhang" + ] + }; + + // 2. 逻辑判断 + if (journalEditorsMap[Jour_num]) { + const editors = journalEditorsMap[Jour_num]; + + // 生成 HTML 列表 + const editorItems = editors.map(name => `
      ${name}
      `).join(''); + + // 3. 拼接到字符串 + str += ` + Executive editor / Production Editor +
    • +
      + ${editorItems} +
      +
    • +`; + } + str += '
    • '; $('.topics>div').append('
        ' + str + '
      '); @@ -1661,7 +1736,7 @@ function notice_con_footer(footer_ID) { } - + } function initArticleNavList() { var Journals_color = localStorage.getItem('Journals_color') @@ -1673,7 +1748,7 @@ function initArticleNavList() { if ([1, 14, 8].includes(Number(Jour_num))) { isShowAuthorship = 1 } - + const style = document.createElement('style'); style.innerHTML = `/* 遮罩层 */ .article_dropbtn:hover { @@ -1780,7 +1855,7 @@ function openAuthorship(Jour_num, Journals_color) {
    • ` document.querySelector('#common-popup .common-popup-content').classList.add('whitebg'); - showPopup(`Abstracting & Indexing`, Abstractingcontent, 'Authorship') + showPopup(`The Past Three Years`, Abstractingcontent, 'Authorship') } diff --git a/js/ongoing_v1.js b/js/ongoing_v1.js new file mode 100644 index 0000000..071d099 --- /dev/null +++ b/js/ongoing_v1.js @@ -0,0 +1,508 @@ + +var Journals_color = '#006699' +var commonSupColor = 'rgb(0,112,192)'//上角标颜色 +var commonTableTitleColor = 'rgb(210,90,90)'//上角标颜色 +var commonSupFontColor = 'color:rgb(0,112,192);'//上角标字体颜色 +const style = document.createElement('style'); +style.innerHTML = ` +.home_logo img{ + position: absolute; + top: 20px; +} +.specials_container{ + min-height: calc(48vh + 6px); +} +.oae_header_tit{ + line-height: 22px; + margin-bottom: 0px; + + padding-top: 12px; + font-family: "Helvetica Neue", Helvetica, Georgia, sans-serif; + font-size: 20px; + color: #006699; + font-weight: bold; + padding-bottom: 10px; + border-bottom: 1px solid #ddd; + margin-bottom: 20px; +} + +.special-topic-item { + width:49%; + margin-bottom: 30px; + display: inline-flex; + vertical-align: top; + // margin-right: 2%; + box-sizing: border-box; + background: #fff; + padding: 10px; + align-items: flex-start; +} + + +.special-topic-item:nth-child(2n) { + margin-right: 0; +} + +/* 左侧图片盒子 */ +.special-img-box { + width: 160px; + height: 210px; + flex-shrink: 0; + margin-right: 15px; + overflow: hidden; +} + +.topic-poster { + width: 100%; + height: 100%; + object-fit: cover; + border-radius: 4px; + box-shadow: 0 2px 8px rgba(0,0,0,0.1); + display: block; +} + + +.special-info-box { + flex: 1; + text-align: left; +} + + + + .topic-title:hover { + text-decoration: underline !important; + + } +.topic-title { + font-size: 16px; + font-weight: bold; + color: #333; + line-height: 1.4; + margin-bottom: 4px; + text-decoration: none; + + display: -webkit-box; + // -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + // overflow: hidden; +} + +.special-topic-item .special-info-box .topic-editors { + font-style: italic; + color: #888; + font-family: OpenSans; + font-size: 14px; + line-height: 20px; + margin-bottom: 8px !important; + padding-left: 0px !important; +} + +.info-row { + font-size: 13px; + margin-bottom: 5px; + line-height: 1.4; +} + +.info-label { + color: #7a2702; + font-weight: bold; +} + +.info-value { + color: #444; +} + +/* 链接与按钮 */ +.upload-link { + margin-left: 5px; +} + +.action-row { + margin-top: 10px; +} + +.submit-btn { + font-size: 13px; + text-decoration: none; + transition: opacity 0.2s; +} + +.submit-btn:hover { + opacity: 0.8; + text-decoration: underline; +} + + +.article{ + padding-top:0 !important; +} +.whitebg>div p{ + margin-bottom:0px !important; +} +.article .art_main{ + width: 100%; +} +.guest_content{ + padding:0; +} +.gue_content{ + width: 100%; + margin-left:0; +} +.jour_base_info{ + padding:10px !important; + border:none !important; + background-color: #f4fafd; + padding-bottom: 0px !important; + +} +.gue_title{ + color: #222; + font-weight: bold; + font-family: "Helvetica Neue", Helvetica, Georgia, sans-serif; + font-size: 20px; +} +.short-content-1 { + max-height: 120px; + display: -webkit-box; + -webkit-line-clamp: 5; /* 设置显示的行数 */ + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + +} +.short-content-2 { + max-height: 174px; + display: -webkit-box; + -webkit-line-clamp: 7; /* 设置显示的行数 */ + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + +} +.guest_content h3{ + margin-top: 0 !important; +} +.jour_base_info .guest_content{ + width: calc(100% - 230px); + padding-left: 20px !important; + +} +.jour_base_info .gue_content{ + + margin-bottom:0px !important; +} +.back_fff .guest_content{ +padding:15px 10px !important; +padding-top:0 !important; +} +.Submission_information span:hover{ + text-decoration: underline; + cursor: pointer; +} +.jour_base_info_center{ + margin: 0 !important; + padding: 10px !important; + background-color: #fff; + align-items: flex-start; + display: block; + +} +.whitebg .qk_img{ + width:230px !important; + height:290px !important; + margin-bottom: 0px !important; +} + + +.mb_aform{ + display:none; +} +.pos_ter{ + padding:10px; +} +.pos_ter>div:nth-child(1) { + width: 25%; +} +.pos_ter>a { +width: 23%; +} +.pos_ter>div:nth-child(3) { +width: 23%; +} + +.pos_ter>div:nth-child(4) { + width: 23%; + +} +.whitebg #abstract-content p{ +padding-left:0 !important; +} +.footer .daohang ul{ + width: 26% !important; + +} + +` + +document.head.appendChild(style); +function loadMathJax(callback) { + const script = document.createElement('script'); + + // 可选:配置 MathJax(必须在加载 script 前设置) + window.MathJax = { + tex: { + inlineMath: [['$', '$'], ['\\(', '\\)']], + displayMath: [['$$', '$$'], ['\\[', '\\]']] + }, + startup: { + typeset: false // 不自动 typeset,手动触发更灵活 + } + }; + + script.src = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'; + script.onload = callback; + document.head.appendChild(script); +} +loadMathJax() +var script = document.createElement('script'); +script.src = '/js/not_map.js'; +var script1 = document.createElement('script'); +script1.src = '/echarts-master/echarts.min.js'; +var script2 = document.createElement('script'); +script2.src = '/echarts-master/world.js'; + +document.head.appendChild(script1); +document.head.appendChild(script2); +document.head.appendChild(script); + +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); + } + + +} +function guest_title() { + var special_id = ''; + + // 获取地址栏信息 + 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 Gu_Num = getQueryString('Gu_num'); //客座信息 + var Jour_num = getQueryString('J_num'); // + + + // 相关期刊,过往分期 + $.ajax({ + type: 'post', url: apiUrl + 'api/Journal/getJournal', + data: { + "journal_id": Jour_num + }, + success: function (result) { + + + + if (result.code == 0) { + + Journals_color = result.data.journal.system_color + $('.border_title').css({ + 'border-bottom': `1px solid ${Journals_color}`, + }) + $('.border_title_top').css({ + 'border-top': `3px solid ${Journals_color}`, + }) + $('.article_info_box .tradition-box .tradition-text .article_info_Highlights').css({ + 'color': `${Journals_color} !important`, + + }) + // + + // initJournalBaseInfo(result) + } + } + }) + + $.ajax({ + type: 'post', url: apiUrl + 'api/Supplementary/getSpecialIssue', + data: { + 'journal_id': Jour_num, + + }, + success: function (result) { + console.log('result at line 194:', result) + + if (result.status !== 1) return ShowDanger("请求失败!"); + + var specialsList = result.data; + var str = ` +

      Ongoing Special Topics

      + `; + const monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; + + specialsList.forEach(function(spe) { + // 1. 处理日期 + var day = spe.deadline.substring(8, 10); + var monthIdx = parseInt(spe.deadline.substring(5, 7)) - 1; + var year = spe.deadline.substring(0, 4); + var formattedDate = `${day} ${monthNames[monthIdx]} ${year}`; + + // 2. 处理编辑信息 + var editorsStr = spe.editor?spe.editor: ''; + + // 3. 判断是否需要隐藏投稿图标 (2022年以前) + var isExpired = parseInt(year) < 2022; + var displayStyle = isExpired ? 'display:none;' : ''; + var targetPage = ($.cookie("username") && $.cookie("user_id")) ? 'contribu_list.html' : 'contribu_login.html'; + // 4. 拼接字符串 + str += ` +
      +
      + + ${spe.title} + +
      + +
      +

      + ${spe.title} +

      +

      ${editorsStr}

      + +
      + Submission deadline: + ${formattedDate} +
      + +
      + Submission information: + +
      + + +
      +
      `; + }); + + + $('.specials_container').html(str); + + + // $('.specials_container').off('click', '.Submission_information').on('click', '.Submission_information', function () { + // var sId = $(this).data('id'); + // var targetPage = ($.cookie("username") && $.cookie("user_id")) ? 'contribu_list.html' : 'contribu_login.html'; + // window.open(`${targetPage}?J_num=${Jour_num}&special_id=${sId}`); + // }); + + + + + + }, + error: function () { + ShowDanger("error!"); + } + }) + + + + +} + +function initJournalBaseInfo(result) { + //头部左侧期刊信息(issn+img) + var arr_jour = result.data.journal; + console.log('arr_jour at line 1409:', arr_jour) + + + +} +// 列表 + +let citationCache = null; // 你可以存在全局变量、Vue data 或其他位置 + + +// 时间戳格式化 + +function timestampToTime(str) { + //str = str * 1000 + var oDate = new Date(str * 1000), + oYear = oDate.getFullYear(), + oMonth = oDate.getMonth() + 1, + oDay = oDate.getDate(), + oHour = oDate.getHours(), + oMin = oDate.getMinutes(), + oSen = oDate.getSeconds(), + oTime = oYear + '-' + getzf(oMonth) + '-' + getzf(oDay) + ' ' + getzf(oHour) + ':' + + getzf(oMin) + ':' + getzf(oSen);//最后拼接时间 + return oTime; +}; +//补0操作 +function getzf(num) { + if (parseInt(num) < 10) { + num = '0' + num; + } + return num; +} + + + +function picPreview(src) { + console.log(src) + $('.PicPreview img').attr('src', src) + $('.PicPreview').show() +} +$('.PicPreview').on('click', function () { + $('.PicPreview').hide() +}) + + +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); +} \ No newline at end of file diff --git a/js/scientist/index.js b/js/scientist/index.js index 4cf04b2..c4a2ce9 100644 --- a/js/scientist/index.js +++ b/js/scientist/index.js @@ -34,12 +34,12 @@ function commonInit() { function commonGetItemHtml(doc, maxwidth) { var data = doc.data; var journal_id = doc.data.journal_id ? doc.data.journal_id : Jour_num; - console.log('journal_id at line 36:', journal_id) + var i = doc.i; var img_i = doc.img_i; var c_t_a = doc.c_t_a; var tong_geogle = doc.tong_geogle; - console.log('img_i at line 31:', img_i) + var baseInfo = { doi_: !data.doi ? '' : `https://doi.org/${data.doi}`, npp_: data.npp == '' || data.npp == ' ' ? '' : `: ${data.npp}.  `, diff --git a/js/side.js b/js/side.js index 280df33..642af97 100644 --- a/js/side.js +++ b/js/side.js @@ -36,6 +36,14 @@ targetImgs.forEach(img => { }); // 期刊基础信息 var arr_jour = result.data.journal; + localStorage.setItem("Journals_title", arr_jour.title); + localStorage.setItem("submission_url", arr_jour.submission_url); + localStorage.setItem("journalAbs", JSON.stringify(result.data.journalAbs)); + localStorage.setItem("journalStageID", result.data.journalStage[0].journal_stage_id); + localStorage.setItem("Journals_issn", arr_jour.issn); + localStorage.setItem("Journals_color", arr_jour.system_color); + localStorage.setItem("Journals_usx", arr_jour.usx); + $('h4.rgb_color').css('color', arr_jour.system_color); $('.home_logo>span').css('color', arr_jour.system_color); $('.whitebg h4').css('color', arr_jour.system_color); @@ -268,13 +276,7 @@ targetImgs.forEach(img => { $('.press-button > div >a').css('height', '32px') } - localStorage.setItem("Journals_title", arr_jour.title); - localStorage.setItem("submission_url", arr_jour.submission_url); - localStorage.setItem("journalAbs", JSON.stringify(result.data.journalAbs)); - localStorage.setItem("journalStageID", result.data.journalStage[0].journal_stage_id); - localStorage.setItem("Journals_issn", arr_jour.issn); - localStorage.setItem("Journals_color", arr_jour.system_color); - localStorage.setItem("Journals_usx", arr_jour.usx); + //几个按钮的链接 if (Jour_num == 1 || Jour_num == 25) { @@ -294,7 +296,7 @@ targetImgs.forEach(img => { } //bmec if (Jour_num == 25) { - $('.edit_board_tmr').after('

      CiteScore (Scopus): 1.7

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

      CiteScore (Scopus): 1.8

      '); } //$('.edit_board_tmr>a').attr('href', 'notice.html?J_num=' + Jour_num + '&footer_id=' + arr_jour.board_url); diff --git a/jstmr/journal.js b/jstmr/journal.js index 1866117..813db99 100644 --- a/jstmr/journal.js +++ b/jstmr/journal.js @@ -288,7 +288,7 @@ function bf_list() { var maxTradHeight = 220; // 设置最大高度 trad_tion = `
      -
      ${arr[i].tradition_tag}: ${traditionText}
      +
      ${arr[i].tradition_tag}:
      ${traditionText}
      `; setTimeout(() => { diff --git a/jstmr/side.js b/jstmr/side.js index 12d9791..3cb32b6 100644 --- a/jstmr/side.js +++ b/jstmr/side.js @@ -164,7 +164,7 @@ targetImgs.forEach(img => { $('.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.2

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

      CiteScore (Scopus): 2.5

      '); $('.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/mdm/apc/index.html b/mdm/apc/index.html new file mode 100644 index 0000000..3ad9709 --- /dev/null +++ b/mdm/apc/index.html @@ -0,0 +1,16 @@ + + + + + Medical Data Mining + + + + + + + + + + + \ No newline at end of file diff --git a/ongoing_v1.html b/ongoing_v1.html new file mode 100644 index 0000000..d557779 --- /dev/null +++ b/ongoing_v1.html @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + +
      +
      +
      +
      + +
      +
      +
      + +
      + +
      + + +
      +
      + + + + + + + + + + + + + \ No newline at end of file diff --git a/style/commonOngoing_v1.css b/style/commonOngoing_v1.css new file mode 100644 index 0000000..a554b94 --- /dev/null +++ b/style/commonOngoing_v1.css @@ -0,0 +1,1002 @@ +@font-face { + font-family: 'Merri_weather'; + /*为引入的字体命名*/ + src: url(/style/Merriweather.ttf); + /*定义要引入字体文件的路径*/ +} + +@font-face { + font-family: 'Helvetica Neue For Number'; + src: url(/style/Charisb.ttf); + unicode-range: U+30-39; +} + +* { + /*box-sizing: border-box;*/ + margin: 0; + padding: 0; + font-weight: 300; + outline: none; +} + +strong { + font-weight: 600; +} + +body { + /*font-family: "Helvetica Neue", Helvetica, Georgia, sans-serif;*/ + /*font-family: "Helvetica Neue For Number", "Merri_weather", Helvetica, serif;*/ + font-family: "Helvetica Neue", Helvetica, Georgia, sans-serif; + color: #444; + height: 100%; + font-size: 14px; + line-height: 1.42857143; + background-color: #fff; +} + +a { + color: #444; + text-decoration: none; +} + +a { + transition: all .5s; +} + +b { + font-weight: bold; +} + +li { + list-style: none; +} + +img { + border: 0; +} + +input.disable { + pointer-events: none; +} + +.rgb_color { + color: #024393; + +} + +.rgb_color_background { + box-sizing: border-box; + /*background-color: #024393;*/ +} + + + + + + + + + +.article .art_main .new_art>h4, +.article .art_main .high_light h4, +.news_ment h4, +.topics h4 { + font-size: 18px; + font-weight: bold; + /*color: #024393;*/ + line-height: 30px; + padding: 8px 4px 4px 6px; + overflow: hidden; + margin-top: 10px; +} + +.article .art_main .new_art h4 span { + font-size: 16px; + color: #555; + margin-left: 30px; + font-weight: bold; +} + +.article .art_main .new_art ul {} + +.article .art_main .new_art ul li { + /*border-bottom: 1px solid #dcdcdc;*/ + background-color: #fff; + border-top: 0; + padding: 10px 20px; +} + +.article .art_main .new_art ul li:last-child { + margin-bottom: 0; + /* padding-bottom: 45px !important; */ +} + +.article .art_main .new_art ul li .dbt_header { + color: #7f0202; + font-weight: bold; + border-bottom: 1px solid #f1f1f1; + margin-bottom: 8px; +} + +.article .art_main .new_art ul li .txt_biaoti, +.article .art_main .high_light ul li .txt_biaoti { + color: #222; + font-weight: bold; + font-family: "Helvetica Neue", Helvetica, Georgia, sans-serif; +} + +.article .art_main .new_art ul li .txt_biaoti>span.otStat { + margin: 0 5px 0 0; + background: #e32b2b; + border-radius: 5px; + padding: 1px 4px; + color: #fff; +} + +.article .art_main .new_art ul li i, +.wenzhang .wen_jian h4 i { + font-weight: bold; +} + +.article .art_main .new_art ul li .txt_biaoti:hover { + color: #ff3300; + text-decoration: underline; +} + +.article .art_main .new_art ul li .url_top { + margin: 3px 0 8px 10px; + display: inline-block; +} + +.article .art_main .new_art ul li .url_top a { + margin-right: 10px; + /*background-color: #4f5671;*/ + padding: 3px 5px; + /*color: #fff;*/ + font-family: Calibri; + font-size: 15px; +} + +.article .art_main .new_art ul li .url_top a:hover { + /*color: #23527c;*/ + text-decoration: underline; +} + +.article .art_main .new_art ul li .authorList, +.article .art_main .high_light ul li .authorList { + /*margin-top: 5px;*/ + color: #444; + font-size: 14px; + line-height: 24px; + /*font-family: "Helvetica Neue", Helvetica, Georgia, sans-serif;*/ +} + +.article .art_main .new_art ul li .authorList a:hover, +.article .art_main .high_light ul li .authorList a:focus { + text-decoration: underline; + color: #23527c; +} + +.art_main .tradition-box .tradition-text { + line-height: 24px; + margin-top: 10px; + height: 120px; + /* 限制高度 */ + overflow: hidden; + /* 隐藏超出部分 */ + text-overflow: ellipsis; + /* 显示省略号 */ + display: -webkit-box; + -webkit-line-clamp: 6; + /* 显示前5行 */ + -webkit-box-orient: vertical; +} + +.article .art_main .new_art ul li .links_, +.article .art_main .high_light ul li .links_ { + /*line-height: 24px;*/ + font-size: 14px; + margin: 3px 0; + /*text-align: justify;*/ + font-family: "Helvetica Neue", Helvetica, Georgia, sans-serif; +} + +.article .art_main .new_art ul li .links_ img, +.article .art_main .high_light ul li .links_ img { + vertical-align: middle; + margin-right: 5px; +} + +.article .art_main .new_art ul li .links_ a, +.article .art_main .high_light ul li .links_ a { + color: #7a2702; + cursor: pointer; +} + +.article .art_main .new_art ul li .links_ a:hover, +.article .art_main .high_light ul li.links_ a:hover { + color: #024393; + TEXT-DECORATION: underline; +} + +.article .art_main .new_art ul li .links_ button { + background: #006699; + color: #fff; + border: none !important; + padding: 0 15px; + line-height: 22px; + cursor: pointer; + margin-left: 10px; + font-family: Calibri; + font-size: 16px; +} + +.article .art_main .new_art>ul li .apwrap { + margin-top: 10px; +} + +.article .art_main .new_art>ul li .apwrap>a { + float: left; + width: 45%; +} + +.article .art_main .new_art>ul li .apwrap>a>img { + width: 350px; +} + +.article .art_main .new_art>ul li .apwrap>div { + float: right; + width: 100%; + padding: 0 10px; + +} + +.art_main_con .new_art>ul li .apwrap>div>div { + text-align: justify; + font-family: Calibri; + font-size: 16px; + /*word-break: break-all;*/ + /*text-overflow: ellipsis;*/ + /*display: -webkit-box; !** 将对象作为伸缩盒子模型显示 **!*/ + /*-webkit-box-orient: vertical; !** 设置或检索伸缩盒对象的子元素的排列方式 **!*/ + /*-webkit-line-clamp: 6; !** 显示的行数 **!*/ + /*overflow: hidden; !** 隐藏超出的内容 **!*/ +} + +.art_main_con .new_art>ul>div>li .apwrap>div>div { + -webkit-line-clamp: 3 !important; + /** 显示的行数 **/ +} + +.article .art_main .new_art>ul li .apwrap>div>div>font { + font-weight: bold; + font-size: 14px; + color: #006699; + display: inline; +} + +.article .art_main .new_art>ul li .apwrap>div p { + color: #888; + line-height: 20px; + /*display: inline;*/ +} + +.art_main_con .new_art>ul li .apwrap>div>b { + color: #006699; + font-size: 12px; + cursor: pointer; +} + +.art_main_con .new_art>ul>div>li .apwrap>div p {} + +.art_main_con .new_art>ul>li { + border-top: 0 !important; + padding: 15px 4px 20px 4px !important; +} + +.art_main_con .new_art>ul>li .dbt_header { + color: #7f0202; + font-weight: bold; + border-bottom: 1px solid #f1f1f1; + margin-bottom: 10px; +} + +.article .art_main .high_light, +.article .art_main .news_ment { + margin-top: 15px; + +} + +.article .art_main .high_light h4 {} + +.article .art_main .high_light ul {} + +.article .art_main .high_light>ul>li { + padding: 15px 5px; +} + +.article .art_main .high_light ul li .txt_biaoti:hover { + color: #23527c; + text-decoration: underline; +} + +.article .art_main .high_light ul li>div { + float: left; + width: 524px; + margin-top: 7px; +} + +.article .art_main .high_light ul li>img { + width: 200px; + height: 130px; + float: right; +} + +.ncon_tcrd_tmr h4 span { + cursor: pointer; +} + +.ncon_tcrd_tmr h4 span:nth-child(1) { + font-weight: 600; +} + +.ncon_fr_tmr h4 span { + cursor: pointer; +} + +.ncon_fr_tmr h4 span:nth-child(1) { + font-weight: 600; +} + +.news_ment>ul { + margin: 15px 0 0 0; + display: flex; +} + +.news_ment>ul>li { + /*display: inline-block;*/ + float: left; + width: 23%; + margin-right: 15.5px; + /*background-color: #fff;*/ + padding: 5px 12px 10px 12px; + /*box-shadow: 0 0 10px #bdbdbd;*/ +} + +.news_ment>ul>li:nth-child(4) { + margin-right: 0; +} + +.news_ment ul li>a>img { + width: 100%; + height: 130px; + border: 1px solid #ddd; + margin: 8px 0 10px; + object-fit: fill; + object-fit: contain; + object-fit: scale-down; +} + +.news_ment ul li h5 { + margin: 10px 0; +} + +.news_ment ul li h5 a { + font-size: 16px; + color: #069; + line-height: 22px; + font-weight: bold; +} + +.news_ment ul li h6 { + margin-bottom: 8px; +} + +.news_ment ul li h6 a { + font-size: 16px; + color: #069; + line-height: 22px; +} + +.news_ment ul li h6 a>i { + font-weight: bold; +} + +.news_ment ul li h5 a:hover, +.news_ment ul li h5 a:focus, +.news_ment ul li h6 a:hover, +.news_ment ul li h6 a:focus { + color: #23527c; + text-decoration: underline; +} + +.news_ment { + position: relative; +} + +.lis_topic { + border-bottom: 2px solid #dcdcdc; + padding: 5px 20px 15px 20px; +} + +.news_ment a.more, +.topics a.more { + position: absolute; + font-weight: normal; + font-size: 14px; + color: #024393; + top: 64px; + right: 20px; + +} + +.news_ment a.more:hover, +.topics a.more:hover { + color: #024393; + text-decoration: underline; +} + +.news_ment>ul>li div.fo_fam { + font-family: Calibri; + font-size: 16px; + line-height: 20px; +} + +.article .art_main .new_art>ul>li .authorList span.fo_fam { + font-family: Calibri; + font-size: 16px; + line-height: 20px; + width: 100%; + display: inline-block; +} + +.sy_hlgt h4, +.sy_nct h4, +.sy_fr h4, +.sy_tcrd h4 { + /*padding-left: 20px;*/ + margin-top: 8px; +} + +.sy_hlgt ul, +.sy_nct ul, +.sy_fr ul, +.sy_tcrd ul { + /*padding: 0 5px;*/ + margin: 10px 0 0 0 !important; +} + +.sy_hlgt ul li { + /*display: inline-block;*/ + width: 31.8% !important; + border: 0; +} + +.sy_nct ul li { + width: 24% !important; + border: 0; + border-bottom: 2px solid #dcdcdc; +} + +.sy_hlgt ul li:nth-child(3) { + margin-right: 0; +} + +.sy_nct ul li:nth-child(4) { + margin-right: 0; +} + +.tmr_article>.bng_topic_bei { + /* background: url(../img/home_2.jpg) #f4fbff; */ + background-blend-mode: multiply; +} + +.tmr_article>.bng_topic_bei>.art_main_con_topic>div { + width: 1100px; + margin: 0 auto; + background-color: #fff; +} + + + +.wenz_list li .links_ button { + position: relative; +} + +.wenz_list li .links_ button .export { + position: absolute; + left: 117px; + top: 0; + background-color: #fff; + width: 200px; + padding: 5px 10px; + box-shadow: 2px 2px 5px #ccc; +} + +.wenz_list li .links_ button .export li { + color: #444; + text-align: left; + line-height: 26px; +} + +.wenz_list li .links_ button .export li:hover { + text-decoration: underline; +} + + +.whitebg { + + /* background-color: #fff; */ + /*margin-bottom: 15px;*/ + /* border-bottom: 1px solid #dcdcdc; */ +} + +.whitebg .qk_img { + width: 190px; + height: 245px; + margin-bottom: 5px; + display: inline-block; +} + +.whitebg .qk_img img { + width: 100%; + height: 100%; +} + +.whitebg .qk_img img:hover { + transform: translateY(-5px); + box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); + border-color: rgba(44, 110, 73, 0.1); +} + +.whitebg>div { + /* margin: 0 10px; */ + /*border-bottom: 1px solid #ddd;*/ + padding-bottom: 20px; +} + + + +.whitebg h4 { + margin-top: 10px; + color: #006699; + padding: 0 10px; +} + + + +.whitebg ul li { + margin-bottom: 5px; +} + +.whitebg ul li a:hover, +.whitebg ul li a:focus { + color: #23527c; + text-decoration: underline; +} + +.whitebg .btn_system { + width: 240px; + height: 54px; + margin: 0 auto; + line-height: 54px; + padding: 0 !important; +} + +.whitebg .more { + float: right; + margin-top: -20px; + margin-right: 10px; +} + + +.jour_base_info { + height: auto; + padding: 25px 20px; + /* background-color: #fff; */ +} + +.jour_base_info_center { + width: 100%; + height: auto; + padding: 0 !important; + margin: 0 auto; + display: flex; + align-items: center; + justify-content: space-between; + box-sizing: border-box; +} + +.mes_issn_box { + width: auto; + font-size: 14px; + color: #7a2702; + /* margin-top: 10px; */ + text-align: center; + font-weight: bold !important; + position: absolute; + bottom: 6px; + left: 6px; +} + +.mes_issn_box span { + font-weight: bold !important; + +} + +.jour_base_info_center_left { + height: 100%; + position: relative; + /* width: 300px; */ + +} + +.whitebg .mes_all { + + width: calc(100% - 180px); + white-space: nowrap; + height: 100%; + padding-left: 20px; + /* padding-top: 10px; */ +} + +.mes_all_section { + list-style: none; + padding: 0; + /* margin: 0 20px; */ + color: #5a4632; + display: flex; + justify-content: space-between; +} + +.mes_all_section .mes_all_section_other:nth-child(1) { + width: 200px; + /* padding-top: 20px; */ +} + +/* .mes_all_section .mes_all_section_other:nth-child(2) { + width: 120px; + padding-top: 42px; +} */ +.mes_all_section .mes_all_section_other:nth-child(4) { + width: 200px; + +} + + +.mes_all_section .mes_all_title { + font-size: 18px; + line-height: 36px; + font-weight: bold; + margin-bottom: 10px; + +} + +.mes_all_section li:nth-child(1) .mes_all_title { + padding-left: 20px; + border-radius: 4px; + letter-spacing: 1px; +} + +.mes_all_section p { + margin: 0 0 5px; +} + +.mes_all_section li:nth-child(1) p { + /* padding-left: 20px; */ +} + +.mes_all_section li:nth-child(1) .share_tmrtb { + /* padding-left: 20px; */ +} + +.mes_all_section p b { + color: #333; + font-weight: 600; + cursor: pointer; +} + +.mes_all_section .mes_all_section_other { + color: #555; +} + +.mes_all_section .mes_all_section_other .mes_all_title { + border-bottom: 1px solid; + color: #7a2702; + +} + +.mes_all_section .mes_all_section_other p { + font-size: 14px; + +} + +.jour_ption { + padding: 10px; + position: relative; +} + +.jour_ption p { + margin-bottom: 5px; +} + +.jour_ption input[type="submit"] { + top: 45px; + left: 310px; + height: 30px; + padding: 0 35px 0 10px; + border: 1px solid #ccc; + cursor: pointer; + border-radius: 5px; + color: #fff; + width: 233px; + font-size: 18px; +} + +.jour_ption .icon { + /*background-image: url(../img/shoushi.png);*/ + background-repeat: no-repeat; + background-size: contain; + height: 26px; + width: 50px; + position: absolute; + bottom: 2px; + right: 12px; + z-index: 10; + cursor: pointer; +} + +.jour_ption input[type="text"] { + background-color: #fff; + border-style: solid; + border-width: 1px; + border-color: #ccc; + line-height: 28px; + border-radius: 5px; + padding-left: 10px; + margin: 5px 0 6px 0; + width: 220px; +} + +.jour_ption .spa { + /*margin-left: 75px;*/ + font-size: 12px; + color: #e91c1c; +} + +.jour_stage .jour_sta_wail li { + line-height: 28px; +} + +.jour_stage .All_Issues { + padding-left: 25px; + display: block; + font-weight: 600; + margin-bottom: 10px; +} + +.jour_stage .All_Issues:hover { + text-decoration: underline; +} + + + + + +.current_list { + /*border-bottom: 2px solid #dcdcdc;*/ +} + +.border_title { + /* border-top: 5px solid #fff; */ + border-bottom: 1px solid #fff; +} + +.border_title_top { + + border-top: 5px solid #fff; +} + +.rgb_color_h4 { + /* padding-left: 18px !important; */ + padding-top: 15px !important; + padding-bottom: 15px !important; + /* margin-top: -5px !important; */ + font-size: 26px !important; + +} + +.current_list .links_ img { + margin-right: 5px; +} + +.current_list .links_>div { + display: none; + margin: 8px 0 0 0; + line-height: 26px; +} + +.current_list li .links_ button { + position: relative; +} + +.current_list li .links_ button .export { + position: absolute; + left: 117px; + top: 0; + background-color: #fff; + width: 220px; + padding: 5px 10px; + box-shadow: 2px 2px 5px #ccc; + z-index: 1; +} + +.current_list li .links_ button .export li { + color: #444; + text-align: left; + line-height: 26px; + padding: 0; + margin-bottom: 0 !important; + border-bottom: 0; +} + +.current_list li .links_ button .export li:hover { + text-decoration: underline; +} + +.current_list li .cite_box { + position: relative; + display: inline-block; + cursor: pointer; + padding-left: 5px; +} + +.pai_two .current_list li .cite_box { + padding-left: 0px; +} + +.current_list li .cite_box .export_cite { + position: absolute; + left: 5px; + top: 35px; + background-color: #fff; + width: 500px; + padding: 5px 10px; + box-shadow: 2px 2px 5px #ccc; + z-index: 100; +} + + + +.current_list li .cite_box .export_cite li { + color: #444; + text-align: left; + line-height: 26px; +} + +.current_list li .cite_box .export_cite li:hover { + text-decoration: underline; +} + +.wenz_list li .links_ button { + position: relative; +} + +.wenz_list li .links_ button .export { + position: absolute; + left: 117px; + top: 0; + background-color: #fff; + width: 200px; + padding: 5px 10px; + box-shadow: 2px 2px 5px #ccc; +} + +.wenz_list li .links_ button .export li { + color: #444; + text-align: left; + line-height: 26px; +} + +.wenz_list li .links_ button .export li:hover { + text-decoration: underline; +} + +.sy_actic .links_>div { + display: none; +} + +.sy_actic li .links_ button { + position: relative; +} + +.sy_actic li .links_ button .export { + position: absolute; + left: 117px; + top: 0; + background-color: #fff; + width: 200px; + padding: 5px 10px; + box-shadow: 2px 2px 5px #ccc; +} + +.sy_actic li .links_ button .export li { + color: #444; + text-align: left; + line-height: 26px; +} + +.sy_actic li .links_ button .export li:hover { + text-decoration: underline; +} + +.links_ button .export li i { + font-weight: normal !important; + font-size: 12px !important; + margin-right: 5px !important; +} + +.triangle { + width: 0; + height: 0; + border-top: 8px solid transparent; + border-bottom: 8px solid transparent; + border-right: 8px solid #fff; + position: absolute; + top: 2px; + left: -8px; +} + +.current_list>ul .ab_tad b, +.current_list>ul .ab_yin b { + cursor: pointer; +} + +.current_list>ul .ab_yin { + display: none; +} + +/*图片放大*/ +#bigimg { + position: fixed; + background: rgba(0, 0, 0, .3); + top: 0; + bottom: 0; + left: 0; + right: 0; + z-index: 500; + display: none; +} + +#bigimg>img { + max-width: 80%; + position: fixed; + left: 0; + right: 0; + top: 50%; + cursor: pointer; + background-color: #fff; + margin: 0 auto; +} + + +/*TMR样式*/ +/*.overall_tmr {*/ +/* background-color: #ffffff;*/ +/*}*/ + +/*.overall_tmr #col-content {*/ +/* width: 100%;*/ +/*}*/ + +/*.overall_tmr #top_bar {*/ +/* background-color: #006699;*/ +/*}*/ + + +.rgb_color_show_more { + display: flex; + align-items: center; + justify-content: space-between; +} +