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