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('
+
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.
-
Please choose topics!
+
Please select a topic!
Search
diff --git a/journals.html b/journals.html
index 2ee8dff..119a25f 100644
--- a/journals.html
+++ b/journals.html
@@ -193,7 +193,7 @@
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 @@
+
-
+
+

+
+
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 += ''
+ }
+ }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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+