From 40a469f8fd81d3ab43221677ae263a4f82a25edf Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Wed, 28 Jun 2023 15:20:18 +0800 Subject: [PATCH 01/12] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jstmr/side.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jstmr/side.js b/jstmr/side.js index 7dfdc3e..90292e1 100644 --- a/jstmr/side.js +++ b/jstmr/side.js @@ -122,7 +122,7 @@ function side_list() { $('.Ins_authors').attr('href', 'for_author.html?J_num=' + Jour_num); $('.Join_Bord').attr('href', 'z_f6-1.html?J_num=' + Jour_num); $('.edit_board_tmr>a').attr('href', arr_jour.board_url); - $('.edit_board_tmr').after('

Impact Factor: Coming soon

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

Impact Factor: 1.3

'); //$('.edit_board_tmr>a').attr('href', 'notice.html?J_num=' + Jour_num + '&footer_id=' + arr_jour.board_url); From 37150dbd79e5a4ab6052ff8c5f1376816523284c Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Mon, 3 Jul 2023 15:39:10 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E5=A4=8D=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- article.html | 2 +- index.html | 2 +- journals.html | 2 +- journals_tmr.html | 2 +- js/article.js | 17 +++++++++++++++++ js/journal.js | 3 ++- js/scientist.js | 6 +++--- jsb/jsp.js | 2 +- jss/jsp.js | 2 +- jstmr/journal.js | 3 ++- 10 files changed, 30 insertions(+), 11 deletions(-) diff --git a/article.html b/article.html index 9638278..af5d511 100644 --- a/article.html +++ b/article.html @@ -169,7 +169,7 @@ -
+
diff --git a/index.html b/index.html index 1d17268..3083d28 100644 --- a/index.html +++ b/index.html @@ -62,7 +62,7 @@

Too many journals to choose? Please select the topic of your manuscript.

- + Search
diff --git a/journals.html b/journals.html index 2ee8dff..119a25f 100644 --- a/journals.html +++ b/journals.html @@ -193,7 +193,7 @@ Search + style="display: none;font-size: 12px;color: #e91c1c;margin-left: 5px;">Please select a topic!
diff --git a/journals_tmr.html b/journals_tmr.html index cf4adb0..aa6640d 100644 --- a/journals_tmr.html +++ b/journals_tmr.html @@ -226,7 +226,7 @@ Search + style="display: none;font-size: 12px;color: #e91c1c;margin-left: 5px;">Please select a topic!
diff --git a/js/article.js b/js/article.js index fb37d25..0a96794 100644 --- a/js/article.js +++ b/js/article.js @@ -6862,6 +6862,23 @@ function article_con() { } } $('.wen_rong .content-box .conthtmn').html(str); + if(result.data.refers.length > 0){ + var refs = '' + var xuhao = 0 + for(var rr = 0; rr < result.data.refers.length; rr++){ + + if(result.data.refers[rr].author == ''){ // 如果格式不正确,或者信息不全 + continue; + }else{ + xuhao ++ + let item = "

"+ xuhao + '.' + result.data.refers[rr].author + result.data.refers[rr].title + "" + result.data.refers[rr].joura +"" + result.data.refers[rr].dateno + ". Available at:"+ result.data.refers[rr].doilink +"

" + refs += item + } + + } + // console.log(refs) + $('.wen_rong .content-box .conthtmn').append('

References

'+ refs +'
') + } } diff --git a/js/journal.js b/js/journal.js index 838069c..9e4ff68 100644 --- a/js/journal.js +++ b/js/journal.js @@ -1085,13 +1085,14 @@ function bf_list() { $('#com_index').selectivity({ allowClear: true, items: new_arry, - placeholder: 'Please choose topics' + placeholder: 'Please select a topic' }) $('.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')); diff --git a/js/scientist.js b/js/scientist.js index 88f4b25..1276caa 100644 --- a/js/scientist.js +++ b/js/scientist.js @@ -68,7 +68,7 @@ function sy_index() { $('#com_index').selectivity({ allowClear: true, items: new_arry, - placeholder: 'Please choose topics' + placeholder: 'Please select a topic' }) $('.es_serch_btn').click(function () { @@ -8136,7 +8136,7 @@ function art_wisdom() { $('#com_index').selectivity({ allowClear: true, items: new_arry, - placeholder: 'Please choose topics' + placeholder: 'Please select a topic' }) $('.es_serch_btn').click(function () { @@ -8372,7 +8372,7 @@ function rev_ver() { $('#com_index').selectivity({ allowClear: true, items: new_arry, - placeholder: 'Please choose topics' + placeholder: 'Please select a topic' }) $('.es_serch_btn').click(function () { diff --git a/jsb/jsp.js b/jsb/jsp.js index 26fe867..ffb7038 100644 --- a/jsb/jsp.js +++ b/jsb/jsp.js @@ -321,7 +321,7 @@ $.ajax({ $('#com_index').selectivity({ allowClear: true, items: new_arry, - placeholder: 'Please choose topics' + placeholder: 'Please select a topic' }) $('.es_serch_btn').click(function () { diff --git a/jss/jsp.js b/jss/jsp.js index d32360e..d551add 100644 --- a/jss/jsp.js +++ b/jss/jsp.js @@ -428,7 +428,7 @@ $.ajax({ $('#com_index').selectivity({ allowClear: true, items: new_arry, - placeholder: 'Please choose topics' + placeholder: 'Please select a topic' }) $('.es_serch_btn').click(function () { diff --git a/jstmr/journal.js b/jstmr/journal.js index 935ca61..fedb186 100644 --- a/jstmr/journal.js +++ b/jstmr/journal.js @@ -1002,13 +1002,14 @@ function bf_list() { $('#com_index').selectivity({ allowClear: true, items: new_arry, - placeholder: 'Please choose topics' + placeholder: 'Please select a topic' }) $('.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')); From 465c99ac98c15ba6dca6cd03dd83b3c5d380171e Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Mon, 3 Jul 2023 16:48:01 +0800 Subject: [PATCH 03/12] . --- atr_wisdom.html | 2 +- js/scientist.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/atr_wisdom.html b/atr_wisdom.html index f23833b..2bd19f4 100644 --- a/atr_wisdom.html +++ b/atr_wisdom.html @@ -98,7 +98,7 @@

Too many journals to choose?
Please select the topic of your manuscript.

- + diff --git a/js/scientist.js b/js/scientist.js index 1276caa..c58eb03 100644 --- a/js/scientist.js +++ b/js/scientist.js @@ -75,6 +75,7 @@ function sy_index() { $('.es_serch_span').css('display', 'none') if ($('#com_index').selectivity('val') == null) { $('.es_serch_span').css('display', 'block') + ShowDanger("Request was aborted!"); } else { window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val')); @@ -8143,6 +8144,7 @@ function art_wisdom() { $('.es_serch_span').css('display', 'none') if ($('#com_index').selectivity('val') == null) { $('.es_serch_span').css('display', 'inline') + $('.es_serch_span').text('Please select a topic') ShowDanger("Request was aborted!"); } else { window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val')); @@ -8378,7 +8380,7 @@ function rev_ver() { $('.es_serch_btn').click(function () { $('.es_serch_span').css('display', 'none') if ($('#com_index').selectivity('val') == null) { - $('.es_serch_span').css('display', 'inline') + $('.es_serch_span').css('display', 'inline') ShowDanger("Request was aborted!"); } else { window.open("atr_wisdom.html?&wis_dom=" + $('#com_index').selectivity('val')); From 09deb8248bc8e54df932f07084856d29e5c265c9 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Mon, 17 Jul 2023 10:29:30 +0800 Subject: [PATCH 04/12] =?UTF-8?q?=E6=96=87=E7=AB=A0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9Ahtml=20=E7=A8=BF=E4=BB=B6=E8=BF=BD?= =?UTF-8?q?=E8=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- article.html | 2 + js/article.js | 155 +++++++++++++++++++++++++++++++++++++++++++++--- style/style.css | 22 +++++++ 3 files changed, 171 insertions(+), 8 deletions(-) diff --git a/article.html b/article.html index af5d511..5b76371 100644 --- a/article.html +++ b/article.html @@ -134,6 +134,7 @@
PDF
HTML
  • Supplementary Material
  • +
  • Manuscript processing
  • @@ -193,6 +194,7 @@
    +
    diff --git a/js/article.js b/js/article.js index 0a96794..9644862 100644 --- a/js/article.js +++ b/js/article.js @@ -6501,6 +6501,29 @@ function at_list() { } +// 时间戳格式化 + +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 article_con() { // 获取地址栏信息 @@ -6866,21 +6889,112 @@ function article_con() { var refs = '' var xuhao = 0 for(var rr = 0; rr < result.data.refers.length; rr++){ - - if(result.data.refers[rr].author == ''){ // 如果格式不正确,或者信息不全 - continue; - }else{ + // 如果格式不正确,或者信息不全 + let item= '' + if(result.data.refers[rr].refer_type=='journal' && result.data.refers[rr].doilink != '' ){ + // journal xuhao ++ - let item = "

    "+ xuhao + '.' + result.data.refers[rr].author + result.data.refers[rr].title + "" + result.data.refers[rr].joura +"" + result.data.refers[rr].dateno + ". Available at:"+ result.data.refers[rr].doilink +"

    " + item = "

    "+ xuhao + '.' + result.data.refers[rr].author + result.data.refers[rr].title + "" + result.data.refers[rr].joura +"" + result.data.refers[rr].dateno + ".
    Available at:"+ result.data.refers[rr].doilink +"

    " refs += item - } - + }else if(result.data.refers[rr].refer_type=='book' && result.data.refers[rr].isbn != ''){ + // book + xuhao ++ + item = "

    "+ xuhao + '.' + result.data.refers[rr].author + result.data.refers[rr].title + result.data.refers[rr].dateno + ".
    Available at:

    " + refs += item + + }else if(result.data.refers[rr].refer_type=='other' && result.data.refers[rr].refer_frag != '' && result.data.refers[rr].refer_frag.length > 15){ + // other + xuhao ++ + item = "

    "+ xuhao + '.' + result.data.refers[rr].refer_frag +"

    " + refs += item + }else{ + continue; + } } // console.log(refs) $('.wen_rong .content-box .conthtmn').append('

    References

    '+ refs +'
    ') } } + // 稿件跟踪 + var lis = '' + + if(result.data.track && result.data.track.length > 0 ){ + // console.log(result.data.track.length,33) + // $('.wen_rong #tablist .tarrecord').css('display', 'block'); + // $('.wen_rong .content-box .conterecord').text(333) + for(var tt = 0; tt 0){ + for(var er=0; er < result.data.track[tt].reviewers.length; er++){ + var neiTag = '' + var reviewerState = '' + var reviewerItem = '' + var time1 = '' // 创建时间 + var time2 = '' // 回应时间 + switch (result.data.track[tt].reviewers[er].state) { + case (1): + reviewerState = 'Accept with major revision' + break; + case (2): + reviewerState = 'Reject' + break; + case (3): + reviewerState = 'Accept with minor revision' + break; + } + time1 = timestampToTime(result.data.track[tt].reviewers[er].ctime) + time2 = timestampToTime(result.data.track[tt].reviewers[er].qtime) + reviewerItem = "
    Invitation time:
    "+time1+"
    "+reviewerState+"Score: "+result.data.track[tt].reviewers[er].rated+"reviewer: "+result.data.track[tt].reviewers[er].reviewer_name+"Review comments received: "+time2+"
    " + reviewers += reviewerItem + } + } + // 获得时间 + ttime = timestampToTime(result.data.track[tt].time) + + li = "
    "+ttime+"
    " + ttypeName + ""+reviewers+"
    " + lis += li + } + $('.wen_rong .content-box .conterecord').html(lis) + + }else{ + // console.log(result.data.track.length) + + $('.wen_rong #tablist .tarrecord').css('display', 'none'); + } if (j_artc.file_pdf == '') { $('.wen_rong #tablist .tarfipdf').css('display', 'none'); @@ -6922,7 +7036,32 @@ function article_con() { var pdf_list = '' if (j_artc.file_sub != '') { - pdf_list += '
  • PDF
    ' + + var fileType = '' + var imgLink = '' + var fileTypeArr = j_artc.file_sub.split('.') + fileType = fileTypeArr[fileTypeArr.length -1] + // console.log(fileType) + switch (fileType) { + case 'xlsx': + imgLink = 'img/xlsx.png' + break; + case 'zip': + imgLink = 'img/zip.png' + break; + case 'rar': + imgLink = 'img/zip.png' + break; + case 'docx': + imgLink = 'img/link_1.png' + break; + case 'pdf': + imgLink = 'img/link_3.jpg' + break; + default: + imgLink = 'img/otherfile.png' + break; + } + pdf_list += '
  • ' + fileType + '
    ' + '

    Supplementary Material for doi: ' + j_artc.doi + '----Download

  • '; } if (j_artc.file_sub2 != '') { diff --git a/style/style.css b/style/style.css index 4a730dc..956f112 100644 --- a/style/style.css +++ b/style/style.css @@ -4906,3 +4906,25 @@ ul li .ab_tad { display: block; } +/* 稿件跟踪 */ +.conterecord{position: relative; overflow: hidden; margin: 20px 0;} +.conterecord:after{ + position: absolute; left: 123px; top:0; content: ''; width:2px; height: 100%; background-color: #2894ef; z-index: 0; +} +.trackItem .time{display: inline-block;width: 90px; text-align: right; padding-right: 30px; position: relative; color: #7b869f; } +.trackItem .time:after{position: absolute; right: 0; top: 14px; content: ''; width: 9px; height: 9px; border: 2px solid #2894ef; border-radius: 20px; z-index: 1; background-color: #FFF;} +.trackItem .type{display: inline-block; padding-left: 30px; vertical-align: top; padding: 10px; color: #888; width: 534px; + border: 1px solid #2894ef; margin-bottom: 15px; transition: all 0.5s; + margin-left: 23px; + border-radius: 7px;} +.trackItem .title{ font-size: 16px; background: #dfeefb; font-weight: bold; + display: inline-block !important; + padding: 5px; + border-radius: 5px;} +.trackItem .type:hover{ box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);margin-top: -2px; } +.reviewerBox{font-size: 14px; position: relative; } +.reviewerBox .time{width: 124px;} +.reviewerBox .box{display: inline-block; padding: 10px;} +.reviewerBox .box span{display: block; margin-bottom: 5px;} +.reviewerBox:after{position: absolute; left: 145px; top:0; content: ''; width:2px; height: 100%; border-right: 2px dashed #2894ef; z-index: 0;} +.trackItem .reviewerBox:first-child{padding-top: 15px;} \ No newline at end of file From 034476a695a1ebcc5879d0b062575742d82e82e9 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Mon, 24 Jul 2023 09:00:35 +0800 Subject: [PATCH 05/12] =?UTF-8?q?=E7=B4=A2=E5=BC=95=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E5=BD=A2=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- article.html | 6 +++++- js/article.js | 36 ++++++++++++++++++++++++++++++------ style/style.css | 24 +++++++++++++++++++++++- 3 files changed, 58 insertions(+), 8 deletions(-) diff --git a/article.html b/article.html index 5b76371..4717d92 100644 --- a/article.html +++ b/article.html @@ -76,6 +76,7 @@ +
    @@ -317,12 +318,15 @@
    - +
    + +
    + diff --git a/js/article.js b/js/article.js index 9644862..f47a367 100644 --- a/js/article.js +++ b/js/article.js @@ -6878,10 +6878,25 @@ function article_con() { var str = ''; for (var i = 0; i < arr.length; i++) { if (arr[i].width == 0) { - str += '

    ' + arr[i].content + '

    ' + if(arr[i].is_title == 1){ + if(arr[i].content.indexOf("

    ") >= 0){ + str += "

    "+arr[i].content+"
    " + }else{ + str += '

    ' + arr[i].content + '

    ' + } + }else{ + if(arr[i].content.indexOf("

    ") >= 0){ + str += arr[i].content + }else{ + str += '

    ' + arr[i].content + '

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

    ' + arr[i].note + '

    ' + var picsrc = 'https://submission.tmrjournals.com/public/mainimg/' + arr[i].content; + var fun = "picPreview('"+ picsrc +"');" + // console.log(fun) + str += "

    " + arr[i].note + "

    " } } $('.wen_rong .content-box .conthtmn').html(str); @@ -6894,18 +6909,18 @@ function article_con() { if(result.data.refers[rr].refer_type=='journal' && result.data.refers[rr].doilink != '' ){ // journal xuhao ++ - item = "

    "+ xuhao + '.' + result.data.refers[rr].author + result.data.refers[rr].title + "" + result.data.refers[rr].joura +"" + result.data.refers[rr].dateno + ".
    Available at:"+ result.data.refers[rr].doilink +"

    " + item = "

    "+ xuhao + '.' + result.data.refers[rr].author + result.data.refers[rr].title + "." + result.data.refers[rr].joura +"" + result.data.refers[rr].dateno + ".
    Available at:"+ result.data.refers[rr].doilink +"

    " refs += item }else if(result.data.refers[rr].refer_type=='book' && result.data.refers[rr].isbn != ''){ // book xuhao ++ - item = "

    "+ xuhao + '.' + result.data.refers[rr].author + result.data.refers[rr].title + result.data.refers[rr].dateno + ".
    Available at:

    " + item = "

    "+ xuhao + '.' + result.data.refers[rr].author + result.data.refers[rr].title+"." + result.data.refers[rr].dateno + ".
    Available at:

    " refs += item }else if(result.data.refers[rr].refer_type=='other' && result.data.refers[rr].refer_frag != '' && result.data.refers[rr].refer_frag.length > 15){ // other xuhao ++ - item = "

    "+ xuhao + '.' + result.data.refers[rr].refer_frag +"

    " + item = "

    "+ xuhao + '.' + result.data.refers[rr].refer_frag +".

    " refs += item }else{ continue; @@ -7369,3 +7384,12 @@ function article_con() { }) } +// 图片预览 +function picPreview(src){ + console.log(src) + $('.PicPreview img').attr('src', src) + $('.PicPreview').show() +} +$('.PicPreview').on('click', function () { + $('.PicPreview').hide() + }) diff --git a/style/style.css b/style/style.css index 956f112..5f357bc 100644 --- a/style/style.css +++ b/style/style.css @@ -4927,4 +4927,26 @@ ul li .ab_tad { .reviewerBox .box{display: inline-block; padding: 10px;} .reviewerBox .box span{display: block; margin-bottom: 5px;} .reviewerBox:after{position: absolute; left: 145px; top:0; content: ''; width:2px; height: 100%; border-right: 2px dashed #2894ef; z-index: 0;} -.trackItem .reviewerBox:first-child{padding-top: 15px;} \ No newline at end of file +.trackItem .reviewerBox:first-child{padding-top: 15px;} + +/* 图片预览 */ +.PicPreview{display: none; + position: absolute; z-index: 100; + top: 0; + left:0; + width: 100%; + height: 100vh; overflow-y: scroll; + background: rgba(0, 0, 0, 0.5);} +.PicPreview img { + background-color: #fff; + max-width:900px; + position: absolute; + top: 50%; + transform: translate(-50%, -50%); + left: 50%; +} +.newBox{height: 100vh; overflow-y: scroll;} +.Ptitle{background: rgb(23, 138, 184); + padding: 4px; margin: 15px 0;} +.Ptitle p{margin-bottom: 0 !important; font-weight: bold; color: #fff !important; font-style: italic;} +#html88 strong{font-weight: bold !important;} \ No newline at end of file From 2013b00766ff3464a13b9f94d768539b2f95d183 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Tue, 15 Aug 2023 14:07:36 +0800 Subject: [PATCH 06/12] =?UTF-8?q?=E5=85=AC=E5=BC=80=E5=AE=A1=E7=A8=BF?= =?UTF-8?q?=E4=BA=BA=E6=84=8F=E8=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- article.html | 2 ++ img/otherfile.png | Bin 0 -> 230 bytes img/xlsx.png | Bin 0 -> 485 bytes img/zip.png | Bin 0 -> 522 bytes js/article.js | 51 ++++++++++++++++++++++++++++++++++++++++------ js/journal.js | 2 +- js/layui.js | 1 + jstmr/journal.js | 2 +- jstmr/side.js | 2 +- style/layui.css | 1 + style/style.css | 9 ++++++-- 11 files changed, 59 insertions(+), 11 deletions(-) create mode 100644 img/otherfile.png create mode 100644 img/xlsx.png create mode 100644 img/zip.png create mode 100644 js/layui.js create mode 100644 style/layui.css diff --git a/article.html b/article.html index 4717d92..3adbe18 100644 --- a/article.html +++ b/article.html @@ -8,6 +8,7 @@ + @@ -334,6 +335,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/js/article.js b/js/article.js index 346ddbf..5992f86 100644 --- a/js/article.js +++ b/js/article.js @@ -6945,6 +6945,7 @@ function article_con() { var ttypeName = '' var li = "" var ttime = '' + var typeClass = '' switch (result.data.track[tt].type) { case (0): ttypeName = 'Received' @@ -6990,8 +6991,7 @@ function article_con() { var chushenContent = '' var timess = '' // 进入页面前清空 - if(result.data.track[tt].type == 2 && result.data.track[tt].reviewers[er].question.comments !== ''){ - + if(result.data.track[tt].type == 2 && result.data.track[tt].reviewers[er].question != null){ chushenContent = '' timess = '' chushenContent = result.data.track[tt].reviewers[er].question.comments @@ -7022,8 +7022,22 @@ function article_con() { // 获得时间 ttime = timestampToTime(result.data.track[tt].time) - li = "
    "+ttime+"
    " + ttypeName + ""+reviewers+"
    " - lis += li + var Revitag = '' + if(result.data.track[tt].type == 4 && result.data.track[tt].response){ + var title = '

    Response to reviewers:  

    ' + var lisss = '' + for(var s = 0; s < result.data.track[tt].response.length; s++){ + var xuhao = s+1 + var Revfile_url = '' + // var tptime = timestampToTime(result.data.track[tt].time) + Revfile_url = '
    '+xuhao+'. Download' + //Revitag += + lisss += Revfile_url + } + Revitag = '
    '+ title + lisss + '
    ' + } + li = "
    "+ttime+"
    " + ttypeName + ""+reviewers+ Revitag +"
    " + lis += li } $('.wen_rong .content-box .conterecord').html(lis) @@ -7033,6 +7047,15 @@ function article_con() { $('.wen_rong #tablist .tarrecord').css('display', 'none'); } + // Original data 附加文件 + if (j_artc.file_original == '') { + // console.log('--------------') + $('.wen_rong #tablist .OriginalData').css('display', 'none'); + $('.wen_rong #tablist .Original').css('display', 'none'); + } else { + $('#OriginalData').html('

    Original data:----Download

    '); + } + if (j_artc.file_pdf == '') { $('.wen_rong #tablist .tarfipdf').css('display', 'none'); // $('.wen_rong .rong_box .contfdf').css('display','none'); diff --git a/js/journal.js b/js/journal.js index 569004b..5038064 100644 --- a/js/journal.js +++ b/js/journal.js @@ -287,6 +287,8 @@ function bf_list() { if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) { $('.current_list>h4').html('Current Volume' + time_ + ''); + } else if(Jour_num == 7){ // pmr期刊 + $('.current_list>h4').html('Latest Issue' + time_ + ''); } else { $('.current_list>h4').html('Current Issue' + time_ + ''); } @@ -993,6 +995,25 @@ function bf_list() { var str = ""; for (var i = 0; i < result.data.journalStage.length; i++) { + if(Jour_num == 7){ + // 合并(替换)期刊 + // console.log('这是一本合并期刊') + 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 + '

  • ' + } + }else{ + // 常规期刊 if (arr_stage[i].stage_no == '0') { var iss_ = '' } else { @@ -1009,6 +1030,7 @@ function bf_list() { '

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

    ' } + } } diff --git a/js/side.js b/js/side.js index 7e86750..ee80d40 100644 --- a/js/side.js +++ b/js/side.js @@ -4,6 +4,12 @@ $('.art_side').load('./side.html'); // 底部 $('.footer').load('./footer.html') +$( document ).ready(function() { + // console.log( "document loaded" ); + $('#kezuoB').hide(); + // console.log( $('#kezuoB') ); +}); + // 期刊基础、外链、分期、话题信息加载 function side_list() { diff --git a/jstmr/side.js b/jstmr/side.js index 0deae0b..e25db88 100644 --- a/jstmr/side.js +++ b/jstmr/side.js @@ -113,6 +113,11 @@ function side_list() { $('.nav_ban h2').css('display', 'inline-block') + $('.Gue_special').css('display', 'none') + $('#kezuoB').css('display', 'block'); + $('.Gue_special').css('display', 'block') + console.log($('.Gue_special').length) + localStorage.setItem("Journals_title", arr_jour.title); localStorage.setItem("Journals_issn", arr_jour.issn); diff --git a/pmr/index.html b/pmr/index.html index 66297d0..797d959 100644 --- a/pmr/index.html +++ b/pmr/index.html @@ -5,7 +5,7 @@ Precision Medicine Research - + diff --git a/side.html b/side.html index 3c8bf8d..9e06f2d 100644 --- a/side.html +++ b/side.html @@ -98,8 +98,8 @@
    - Special Issue Proposal Application +

    Archiving

    - More -
    -
    -
    + + More
    - + -->
    diff --git a/js/journal.js b/js/journal.js index a6063f8..44ad673 100644 --- a/js/journal.js +++ b/js/journal.js @@ -287,7 +287,7 @@ function bf_list() { if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) { $('.current_list>h4').html('Current Volume' + time_ + ''); - } else if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20){ // pmr期刊 + } else if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9){ // 合并期刊 $('.current_list>h4').html('Latest Issue' + time_ + ''); } else { $('.current_list>h4').html('Current Issue' + time_ + ''); @@ -995,7 +995,7 @@ function bf_list() { var str = ""; for (var i = 0; i < result.data.journalStage.length; i++) { - if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20){ + if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9){ // 合并(替换)期刊 if(i==0){str +=''+arr_stage[i].stage_year+'
    '} diff --git a/js/scientist.js b/js/scientist.js index dc0b284..af26896 100644 --- a/js/scientist.js +++ b/js/scientist.js @@ -112,8 +112,8 @@ function sy_index() { 'Submit Article' + '

    ' } - $('.sy_splis>div>a').attr('href', 'artihom_list.html?J_num=' + Jour_num + '&issu_id=' + Jour_num); - $('.sy_splis>div>ul.sy_spls_list').html(str + '
    '); + // $('.sy_splis>div>a').attr('href', 'artihom_list.html?J_num=' + Jour_num + '&issu_id=' + Jour_num); + // $('.sy_splis>div>ul.sy_spls_list').html(str + '
    '); } else { diff --git a/mmr/index.html b/mmr/index.html index db8d9c6..7dea16b 100644 --- a/mmr/index.html +++ b/mmr/index.html @@ -5,7 +5,7 @@ Microenvironment & Microecology Research - + From 12d7ba3bf880b05640cad844b2003dadc809ba71 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Tue, 21 Nov 2023 13:13:09 +0800 Subject: [PATCH 12/12] 20231121 --- js/article.js | 2 +- js/journal.js | 4 ++-- th/index.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/article.js b/js/article.js index e0b0635..87b8336 100644 --- a/js/article.js +++ b/js/article.js @@ -5646,7 +5646,7 @@ function at_list() { $('.wenz_list>h4').html('Highlights'); } - totalPage = result.data.count % top_top.pageSize; + totalPage = result.data.count % top_top.pageSize == 0 ? (result.data.count / top_top.pageSize) : (Math.ceil(result.data.count / top_top.pageSize)); totalRecords = result.data.count; $('.wenz_list .tioashu').html(result.data.count); diff --git a/js/journal.js b/js/journal.js index 44ad673..bf455e7 100644 --- a/js/journal.js +++ b/js/journal.js @@ -287,7 +287,7 @@ function bf_list() { if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) { $('.current_list>h4').html('Current Volume' + time_ + ''); - } else if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9){ // 合并期刊 + } else if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21){ // 合并期刊 $('.current_list>h4').html('Latest Issue' + time_ + ''); } else { $('.current_list>h4').html('Current Issue' + time_ + ''); @@ -995,7 +995,7 @@ function bf_list() { var str = ""; for (var i = 0; i < result.data.journalStage.length; i++) { - if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9){ + if(Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21){ // 合并(替换)期刊 if(i==0){str +=''+arr_stage[i].stage_year+'
    '} diff --git a/th/index.html b/th/index.html index 2e00641..d7fe0eb 100644 --- a/th/index.html +++ b/th/index.html @@ -5,7 +5,7 @@ Medical Theory and Hypothesis - +