This commit is contained in:
2025-07-17 11:18:49 +08:00
parent 3bbf6675dd
commit c676a88c69
40 changed files with 1255 additions and 484 deletions

View File

@@ -702,10 +702,13 @@
</div> </div>
</body> </body>
<script src="js/jquery.min.js"></script> <script src="js/jquery.min.js"></script>
<script src="echarts-master/echarts.min.js"></script>
<script src="echarts-master/world.js"></script>
<script src="js/return-top.js"></script> <script src="js/return-top.js"></script>
<script src="js/layer/layer.js"></script> <script src="js/layer/layer.js"></script>
<script src="js/js.js"></script> <script src="js/js.js"></script>
<script src="js/side.js"></script> <script src="js/side.js"></script>
<script src="js/not_map.js"></script>
<script src="js/article.js"></script> <script src="js/article.js"></script>
<script src="js/articleJS/index.js"></script> <script src="js/articleJS/index.js"></script>
<script src="js/articleJS/article_y.js"></script> <script src="js/articleJS/article_y.js"></script>

View File

@@ -5,7 +5,7 @@
<title>Traditional Medicine Research</title> <title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" /> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v21.html?J_num=14" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v28.html?J_num=25" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

View File

@@ -5,7 +5,7 @@
<title>Biomedical Engineering Communications</title> <title>Biomedical Engineering Communications</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/>
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals.html?J_num=25" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=25" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

View File

@@ -5,7 +5,7 @@
<title>Cancer Advances</title> <title>Cancer Advances</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/>
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals.html?J_num=2" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=2" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

View File

@@ -140,6 +140,7 @@
initForAuthor(Jour_num,arr_jour)//临时改的 合刊在删 放开 initForAuthor(Jour_num,arr_jour)//临时改的 合刊在删 放开
initForAuthorHtml(Jour_num)
// $('.for_mess div .fr_APC').html(apcStr); // $('.for_mess div .fr_APC').html(apcStr);
$('.for_mess div .fr_board').attr('href', arr_jour.board_url); // 编委会 $('.for_mess div .fr_board').attr('href', arr_jour.board_url); // 编委会
$('.for_mess div a.fr_subtem').attr('href', arr_jour.submission_url);//投稿 $('.for_mess div a.fr_subtem').attr('href', arr_jour.submission_url);//投稿
@@ -191,40 +192,40 @@
}); });
$.ajax({ // $.ajax({
type: 'post', url: apiUrl + 'api/Journal/getForAuthors', // type: 'post', url: apiUrl + 'api/Journal/getForAuthors',
data: { 'journal_id': getQueryString('J_num') }, // data: { 'journal_id': getQueryString('J_num') },
success: function (result) { // success: function (result) {
if (result.code == 0) { // if (result.code == 0) {
var arr = result.data.forAuthors; // var arr = result.data.forAuthors;
var str = ""; // var str = "";
var sgl = ""; // var sgl = "";
for (var i in arr) { // for (var i in arr) {
str += '<li><a href="javascript:;" class="snf-nav"><b>' + arr[i].jfa_title + '</b></a></li>' // str += '<li><a href="javascript:;" class="snf-nav"><b>' + arr[i].jfa_title + '</b></a></li>'
sgl += '<div class="snf-page"><h3 class="big">' + arr[i].jfa_title + '</h3></div>' // sgl += '<div class="snf-page"><h3 class="big">' + arr[i].jfa_title + '</h3></div>'
for (var j = 0; j < arr[i].children.length; j++) { // for (var j = 0; j < arr[i].children.length; j++) {
str += '<li><a href="javascript:;" class="snf-nav"><b>·</b>' + arr[i].children[j].jfa_title + '</a></li>' // str += '<li><a href="javascript:;" class="snf-nav"><b>·</b>' + arr[i].children[j].jfa_title + '</a></li>'
sgl += '<div class="snf-page"><h3><b>·</b>' + arr[i].children[j].jfa_title + '</h3>' + arr[i].children[j].content + '</div>' // sgl += '<div class="snf-page"><h3><b>·</b>' + arr[i].children[j].jfa_title + '</h3>' + arr[i].children[j].content + '</div>'
} // }
} // }
$('#for_nag').html(str); // $('#for_nag').html(str);
$('#for_nag li:nth-child(1) a').addClass('active'); // $('#for_nag li:nth-child(1) a').addClass('active');
$('#for_main').html(sgl); // $('#for_main').html(sgl);
//以window为顶设置离顶和回调 // //以window为顶设置离顶和回调
var snf = simpleNavFollow({ // var snf = simpleNavFollow({
leaveTop: 10, // leaveTop: 10,
}); // });
} else { // } else {
ShowDanger(result.msg); // ShowDanger(result.msg);
} // }
}, // },
error: function () { // error: function () {
ShowDanger("error"); // ShowDanger("error");
} // }
}) // })
// var snf = simpleNavFollow({ // var snf = simpleNavFollow({
// parentElement: "#main",//内容类的父元素 // parentElement: "#main",//内容类的父元素

View File

@@ -5,7 +5,7 @@
<title>History and Philosophy of Medicine</title> <title>History and Philosophy of Medicine</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/>
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals.html?J_num=8" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=8" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

View File

@@ -5,7 +5,7 @@
<title>Infectious Diseases Research</title> <title>Infectious Diseases Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/>
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals.html?J_num=4" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=4" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

View File

@@ -5,7 +5,7 @@
<title>Integrative Medicine Discovery</title> <title>Integrative Medicine Discovery</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/>
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals.html?J_num=17" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=17" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

BIN
img/h2bmec2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
img/h2bmec3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
img/h2cancer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
img/h2cancer2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
img/h2cancer3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
img/h2mdm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

BIN
img/h2mdm3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

BIN
img/h2open.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
img/h2tmr5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
img/h2tmr6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -5,7 +5,7 @@
<title>Nursing Communications</title> <title>Nursing Communications</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/>
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals.html?J_num=18" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=18" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

16
journalIndex/bmec3.html Normal file
View File

@@ -0,0 +1,16 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v1.html?J_num=25" scrolling="auto" noresize>
</frameset>
</head>
<body>
</body>
</html>

View File

@@ -5,7 +5,7 @@
<title>Traditional Medicine Research</title> <title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" /> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v21.html" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=2" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

16
journalIndex/hpm3.html Normal file
View File

@@ -0,0 +1,16 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v1.html?J_num=8" scrolling="auto" noresize>
</frameset>
</head>
<body>
</body>
</html>

16
journalIndex/idr3.html Normal file
View File

@@ -0,0 +1,16 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v1.html?J_num=4" scrolling="auto" noresize>
</frameset>
</head>
<body>
</body>
</html>

16
journalIndex/im3.html Normal file
View File

@@ -0,0 +1,16 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v1.html?J_num=17" scrolling="auto" noresize>
</frameset>
</head>
<body>
</body>
</html>

16
journalIndex/in3.html Normal file
View File

@@ -0,0 +1,16 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v1.html?J_num=18" scrolling="auto" noresize>
</frameset>
</head>
<body>
</body>
</html>

View File

@@ -1,18 +1,9 @@
// 期刊基础、外链、分期、话题信息加载 // 期刊基础、外链、分期、话题信息加载
var Journals_color = localStorage.getItem('Journals_color') var Journals_color = '#006699'
function bf_list() { function bf_list() {
$('.border_title').css({
'border-bottom': `1px solid ${Journals_color}`,
})
$('.border_title_top').css({
'border-top': `5px solid ${Journals_color}`,
})
$('.article_info_box .tradition-box .tradition-text .article_info_Highlights').css({
'color': `${Journals_color} !important`,
})
$('.article_ .bgv_san .alls_issue').css({ $('.article_ .bgv_san .alls_issue').css({
'background': 'none' 'background': 'none'
}) })
@@ -23,8 +14,21 @@ function bf_list() {
"journal_id": Jour_num "journal_id": Jour_num
}, },
success: function (result) { success: function (result) {
if (result.code == 0) { 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': `5px solid ${Journals_color}`,
})
$('.article_info_box .tradition-box .tradition-text .article_info_Highlights').css({
'color': `${Journals_color} !important`,
})
initJournalBaseInfo(result) initJournalBaseInfo(result)
var arr_stage = result.data.journalStage; var arr_stage = result.data.journalStage;
var str = ""; var str = "";
for (var i = 0; i < result.data.journalStage.length; i++) { for (var i = 0; i < result.data.journalStage.length; i++) {
@@ -75,232 +79,6 @@ function bf_list() {
ShowDanger("error"); 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");
}
});
// 上侧话题列表数据
$.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 = "";
var forLength = arr_topic[i].title == "Diseases" ? 10 : 5
if (wh_number == '1') {
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 += '<li><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' +
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' +
'<h3>' + arr_topic[i].children[j].title + '</h3></a></li>'
}
} else {
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 += '<li><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' +
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' +
'<h3>' + arr_topic[i].children[j].title + '</h3></a></li>'
}
}
if (arr_topic[i].title == "Diseases") {
st_top_tit = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' +
'<a target="_blank" href="topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id + '" class="more" target="_blank">More</a>' +
'<ul>' + st_top_con + '</ul></div>' +
'<p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>'
} else {
st_top_tit = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' +
// '<a target="_blank" href="topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id + '" class="more" target="_blank">More</a>' +
'<ul>' + st_top_con + '</ul></div>' +
'<p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>'
}
if (wh_number == '1') {
$('.art_top_topic>div>div.topics').html('<ul>' + st_top_con + '</ul>');
} else {
$('.tmr_article>.bng_topic_bei>.art_main_con_topic>div').append(st_top_tit);
}
} else if (arr_topic[i].position == "left" && arr_topic[i].title == "Diseases") {
if (panduan != '1') {
panduan = '1';
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 += '<li><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' +
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '"/></a>' +
'<h3 style="text-align: center"><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' + arr_topic[i].children[j].title + '</a></h3></li>'
}
st_left_tit = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' +
'<a target="_blank" href="topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id + '" class="more" target="_blank">More</a><ul>' + st_left_con + '</ul></div>'
}
$('.tmr_article>.bng_topic_bei>.art_main_con_topic>div').append(st_left_tit);
}
}
$('.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('更多');
}
} else {
// ShowDanger("请求失败!");
}
},
error: function () {
ShowDanger("error");
}
});
// 左侧客座列表数据
$.ajax({
type: 'post', url: apiUrl + 'api/Special/getSpecials',
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 arr = result.data.specials;
var str = '';
for (var i = 0; i < arr.length; i++) {
if (arr[i].icon == '') {
var img_i = ''
} else {
var img_i = '<a target="_blank" href="/gue_cont.html?J_num=' + Jour_num + '&Gu_num=' + arr[i].journal_special_id + '"><img src="' + imgjourUrl + arr[i].icon + '" alt=""></a>'
}
str += '<li style="box-shadow: none;margin-right: 0;">' +
'<a target="_blank" style="display: block;" href="/gue_cont.html?J_num=' + Jour_num + '&Gu_num=' + arr[i].journal_special_id + '">' +
'<img src="' + imgjourUrl + arr[i].icon + '" alt="" style="background: #fff;"></a>' +
`<h6><a target="_blank" href="/gue_cont.html?J_num=${Jour_num}&&Gu_num=${arr[i].journal_special_id}" ` +
'style="font-weight: bold;color: #444;">' + arr[i].title + '</a></h6>' +
'<div class="fo_fam">' + arr[i].editor + '. | ' + arr[i].deadline + '</div></li>'
}
// $('.Special_Issues_box>a').attr('href', '/gue_cont.html?J_num=' + Jour_num + '&Gu_num=' + arr[i].journal_special_id);
$('.Special_Issues_box>ul').html(str + '<br clear="both">');
if (arr == '') {
$('.Special_Issues_box').css('display', 'none')
}
// for (var i = 0; i < arr.length; i++) {
// if (i == 3) break;
// str += '<li><a href="gue_cont.html?J_num=' + localStorage.Journals_num + '&&Gu_num=' + arr[i].journal_special_id + '" target="_blank">' + arr[i].title + '</a><br>' +
// '<span style="color: #888">Guest Editor: </span><span style="color: #069">' + arr[i].editor + '</span><br>' +
// '<span style="color: #888">Deadline: </span><span style="color: #069">' + arr[i].deadline + '</span>' +
// '<div class="gue_s_btn"><a class="gue_submin" alt="' + arr[i].journal_special_id + '">Submit Article</a>' +
// '<a class="gue_appli" alt="' + arr[i].journal_special_id + '">Guest Editor Application</a></div></li>'
// }
// $('.jour_guest ul').html('<h4 style="margin: 0;padding: 6px;" class="gue_is_lis rgb_color">Open Special Issues</h4>' + 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");
}
})
// 中侧推广文章 // 中侧推广文章
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'api/Journal/getJournalArticles', type: 'post', url: apiUrl + 'api/Journal/getJournalArticles',
@@ -776,6 +554,311 @@ function bf_list() {
} }
}) })
// 增加访问次数
$.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");
}
});
// 上侧话题列表数据
$.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 = "";
if (Jour_num == 1) {
var forLength = arr_topic[i].title == "Diseases" ? 10 : 5
} else {
var forLength = 5
}
if (wh_number == '1') {
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 += '<li><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' +
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' +
'<h3>' + arr_topic[i].children[j].title + '</h3></a></li>'
}
} else {
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 += '<li><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' +
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' +
'<h3>' + arr_topic[i].children[j].title + '</h3></a></li>'
}
}
if (Jour_num == 1) {
if (arr_topic[i].title == "Diseases") {
st_top_tit = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' +
'<a target="_blank" href="topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id + '" class="more" target="_blank">More</a>' +
'<ul>' + st_top_con + '</ul></div>' +
'<p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>'
} else {
st_top_tit = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' +
'<ul>' + st_top_con + '</ul></div>' +
'<p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>'
}
} else {
st_top_tit = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' +
'<ul>' + st_top_con + '</ul></div>' +
'<p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>'
}
if (wh_number == '1') {
$('.art_top_topic>div>div.topics').html('<ul>' + st_top_con + '</ul>');
} 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))) {
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 += '<li><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' +
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' +
'<h3>' + arr_topic[i].children[j].title + '</h3></a></li>'
}
$('.art_top_topic>div>div.topics').html('<ul>' + MDM_str + '</ul>');
}
} else if (arr_topic[i].position == "left" && arr_topic[i].title == "Diseases" && Jour_num == 1) {
if (panduan != '1') {
panduan = '1';
for (var j = 0; j < arr_topic[i].children.length; j++) {
if (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 += '<li><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' +
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '"/></a>' +
'<h3 style="text-align: center"><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' + arr_topic[i].children[j].title + '</a></h3></li>'
}
st_left_tit = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' +
'<a target="_blank" href="topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id + '" class="more" target="_blank">More</a><ul>' + st_left_con + '</ul></div>'
}
$('.tmr_article>.bng_topic_bei>.art_main_con_topic>div').append(st_left_tit);
}
}
$('.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'
})
}
} 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',
'top': '30px',
})
$('.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++) {
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 = '<a target="_blank" href="/gue_cont.html?J_num=' + Jour_num + '&Gu_num=' + arr[i].journal_special_id + '"><img src="' + imgjourUrl + arr[i].icon + '" alt=""></a>'
}
str += `<li style="box-shadow: none;width:253px;padding:0;"><a target="_blank" style="display: block;position: relative;" href="/gue_cont.html?J_num=${Jour_num}&Gu_num=${arr[i].journal_special_id}">
<img src="${imgjourUrl}${arr[i].icon}" alt="" style="background: transparent;height:330px;border:none;object-fit:cover">
${mark_k == 1 ? ` <p class="specials_hover_box" style="font-size:30px;top:25px;"><b style="padding: 4px 15px;
position: absolute;
top: 40%;
left: 30%;
color: #fff;">${mark_k == 1 ? 'Open' : ''}</b></p>` : ''}
</a>
<h6><a target="_blank" href="/gue_cont.html?J_num=${Jour_num}&&Gu_num=${arr[i].journal_special_id}" style="font-weight: bold;color: #444;">${arr[i].title}</a>
</h6><div class="fo_fam">${arr[i].editor}. | ${arr[i].deadline}</div>
</li>`
}
// $('.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 + '<br clear="both">');; // 设置默认的 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')
}
// for (var i = 0; i < arr.length; i++) {
// if (i == 3) break;
// str += '<li><a href="gue_cont.html?J_num=' + localStorage.Journals_num + '&&Gu_num=' + arr[i].journal_special_id + '" target="_blank">' + arr[i].title + '</a><br>' +
// '<span style="color: #888">Guest Editor: </span><span style="color: #069">' + arr[i].editor + '</span><br>' +
// '<span style="color: #888">Deadline: </span><span style="color: #069">' + arr[i].deadline + '</span>' +
// '<div class="gue_s_btn"><a class="gue_submin" alt="' + arr[i].journal_special_id + '">Submit Article</a>' +
// '<a class="gue_appli" alt="' + arr[i].journal_special_id + '">Guest Editor Application</a></div></li>'
// }
// $('.jour_guest ul').html('<h4 style="margin: 0;padding: 6px;" class="gue_is_lis rgb_color">Open Special Issues</h4>' + 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文章 // 中下侧Online First文章
$.ajax({ $.ajax({
@@ -803,7 +886,10 @@ function bf_list() {
} }
$('.online_fr>a').attr('href', 'article_list.html?J_num=' + Jour_num + '&o_id=' + Jour_num); $('.online_fr>a').attr('href', 'article_list.html?J_num=' + Jour_num + '&o_id=' + Jour_num);
$('.online_fr>ul').html(str + '<br clear="both">'); $('.online_fr>ul').html(str + '<br clear="both">');
if (arr == '') { if (arr.length == 0) {
$('.ment_sousuo_kuang').css('padding-top', '40px')
$('.mes_all_section_other_online').css('display', 'none')
$('.online_fr').css('display', 'none') $('.online_fr').css('display', 'none')
} }
@@ -973,59 +1059,58 @@ function bf_list() {
// TMR 中下侧News & conmment文章 // TMR 中下侧News & conmment文章
if (Jour_num != 1) {
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'api/Journal/getNewsArticle', type: 'post', url: apiUrl + 'api/Journal/getNewsArticleNew',
data: { data: {
"journal_id": Jour_num "journal_id": Jour_num,
"limit": 4,
"page": 1
}, },
success: function (result) { success: function (result) {
if (result.code == 0) { if (result.code == 0) {
var arr = result.data.articlelist; var arr = result.data.articlelist;
var str = ""; var str = "";
var sgr = "";
var j = 0;
var q = 0;
for (var i = 0; i < arr.length; i++) { for (var i = 0; i < arr.length; i++) {
if (arr[i].type == 'News') {
if (j < 2) { if (i == 4) break;
j++; if (arr[i].icon == '') {
str += '<li style="box-shadow: none;margin-right: 0">' + var img_i = ''
'<a target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '">' + } else {
'<img src="' + imgarticleUrl + arr[i].icon + '" alt="" style="background: #fff;"></a>' + var img_i = '<a target="_blank" href="/article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '"><img src="' + imgarticleUrl + arr[i].icon + '" alt=""></a>'
'<h6><a target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" ' + }
'style="font-weight: bold;color: #444;">' + arr[i].title + '</a></h6>' + str += '<li>' + img_i +
'<h6 ><a target="_blank" style="color:#444;font-weight:bold" href="/article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '">' + arr[i].title + '</a></h6>' +
'<div class="fo_fam">' + arr[i].abbr + '. | ' + arr[i].stage_year + '</div></li>' '<div class="fo_fam">' + arr[i].abbr + '. | ' + arr[i].stage_year + '</div></li>'
}
} else if (arr[i].type == 'Comment') {
if (q < 2) {
q++;
sgr += '<li style="box-shadow: none;margin-right: 0;">' +
'<a target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '">' +
'<img src="' + imgarticleUrl + arr[i].icon + '" alt="" style="background: #fff;"></a>' +
'<h6><a target="_blank" href="article.html?J_num=' + Jour_num + '&a_id=' + arr[i].article_id + '" ' +
'style="font-weight: bold;color: #444;">' + arr[i].title + '</a></h6>' +
'<div class="fo_fam">' + arr[i].abbr + '. | ' + arr[i].stage_year + '</div></li>'
}
}
} }
$('.ment_news>div>div:nth-child(1)>ul').html(str); $('.ncon_new_coment>a').attr('href', '/article_list.html?J_num=' + Jour_num + '&n_id=' + Jour_num);
$('.ment_news>div>div:nth-child(1) h4 a.m_new').attr('href', 'article_list.html?J_num=' + Jour_num + '&new_id=1'); $('.ncon_new_coment>ul').html(str + '<br clear="both">');
if (arr.length > 0) {
$('.ncon_new_coment').css({
'display': 'block',
})
$('.ncon_new_coment ul').css({
'background': '#fff',
})
} else {
$('.ncon_new_coment').css('display', 'none')
}
$('.ment_news>div>div:nth-child(2)>ul').html(sgr + '<br clear="both">');
$('.ment_news>div>div:nth-child(2) h4 a.m_con').attr('href', 'article_list.html?J_num=' + Jour_num + '&con_id=1');
} else { } else {
// ShowDanger("请求失败!"); // ShowDanger("请求失败!");
$('.ncon_fr_tmr').css('display', 'none') $('.ncon_new_coment').css('display', 'none')
} }
}, },
error: function () { error: function () {
ShowDanger("error"); ShowDanger("error");
} }
}) })
}
// 中下侧Highlights文章 // 中下侧Highlights文章
@@ -1165,6 +1250,7 @@ function bf_list() {
// 下侧Call for Paper文章 // 下侧Call for Paper文章
if (Jour_num != 1) {
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'api/Journal/getJournalCfp', type: 'post', url: apiUrl + 'api/Journal/getJournalCfp',
data: { data: {
@@ -1178,18 +1264,30 @@ function bf_list() {
for (var i = 0; i < arr.length; i++) { for (var i = 0; i < arr.length; i++) {
if (i == 2) break; if (i == 2) break;
str += '<li><div><span>' + arr[i].showtime + '</span><h6>' + str += '<li style="border-radius:4px;"><div><span>' + arr[i].showtime + '</span><h6>' +
'<a target="_blank" href="notice.html?J_num=' + Jour_num + '&cfp_id=' + arr[i].journal_cfp_id + '">' + arr[i].title + '</a></h6>' + '<a target="_blank" href="/notice.html?J_num=' + Jour_num + '&cfp_id=' + arr[i].journal_cfp_id + '">' + arr[i].title + '</a></h6>' +
'<div class="cfp_con fo_fam">' + arr[i].content + '</div></div>' + '<div class="cfp_con fo_fam">' + arr[i].content + '</div></div>' +
'<a target="_blank" href="notice.html?J_num=' + Jour_num + '&cfp_id=' + arr[i].journal_cfp_id + '"><img src="' + imgcfpUrl + arr[i].icon + '" alt=""></a></li>' '<a target="_blank" href="/notice.html?J_num=' + Jour_num + '&cfp_id=' + arr[i].journal_cfp_id + '"><img src="' + imgcfpUrl + arr[i].icon + '" alt=""></a></li>'
} }
$('.ncon_aper>a').attr('href', 'notice_list.html?J_num=' + Jour_num + '&paper_id=' + Jour_num); $('.ncon_aper>a').attr('href', '/notice_list.html?J_num=' + Jour_num + '&paper_id=' + Jour_num);
$('.ncon_aper>ul').html(str + '<br clear="both">'); $('.ncon_aper>ul').html(str + '<br clear="both">');
if (arr == '') {
if (arr.length > 0) {
$('.ncon_aper').css({
'display': 'block',
})
$('.ncon_aper .more').css({
'top': '65px',
})
$('.ncon_aper ul li').css({
'background': '#fff',
})
} else {
$('.ncon_aper').css('display', 'none') $('.ncon_aper').css('display', 'none')
} }
$(".ncon_aper ul .cfp_con").each(function () { $(".ncon_aper ul .cfp_con").each(function () {
var maxwidth = 150;//显示多少字符 var maxwidth = 150;//显示多少字符
if ($(this).text().length > maxwidth) { if ($(this).text().length > maxwidth) {
@@ -1209,6 +1307,8 @@ function bf_list() {
ShowDanger("error"); ShowDanger("error");
} }
}) })
}
// 下面新增加社区内容 // 下面新增加社区内容
@@ -1529,7 +1629,18 @@ function initJournalBaseInfo(result) {
//tmr //tmr
case 1: case 1:
ImpactFactor = '1.3' ImpactFactor = '1.3'
CiteScore = '1.8' CiteScore = '1.9'
break;
//bmec
case 25:
CiteScore = '1.5'
break;
//mdm
case 11:
CiteScore = '0.3'
break; break;
case 2: case 2:
case 17: case 17:
@@ -1541,19 +1652,14 @@ function initJournalBaseInfo(result) {
var ImpactFactorStr = Jour_num == 1 ? `<div class="cite-score-badge" style="width: 64px;height: 64px;border-radius: 50%;display: flex;align-items: center;justify-content: center;background: transparent; var ImpactFactorStr = Jour_num == 1 ?
box-shadow: inset 0 0 12px rgb(255 255 255), 0 0 16px rgba(0, 150, 255, 0.4); `<div class="cite-score-badge" style="width: 64px;height: 64px;border-radius: 50%;display: flex;align-items: center;justify-content: center;background: transparent;box-shadow: inset 0 0 12px rgb(255 255 255), 0 0 16px rgba(0, 150, 255, 0.4);text-align: center;color: #000;float: right;margin-left: 10px;margin-top: 2px;">
text-align: center;
color: #000;
float: right;
margin-left: 10px;
margin-top: 2px;
">
<span class="cite-text" style="font-size: 11px;line-height: 16px;font-weight: 600;color: #f0f0f0;letter-spacing: -0.75px;"> <span class="cite-text" style="font-size: 11px;line-height: 16px;font-weight: 600;color: #f0f0f0;letter-spacing: -0.75px;">
<text style="margin-top: 7px;line-height: 19px;display: inline-block;">Impact Factor</text> <text style="margin-top: 7px;line-height: 19px;display: inline-block;">Impact Factor</text>
<strong style="font-size: 18px;color: #fff;">${ImpactFactor}</strong> <strong style="font-size: 18px;color: #fff;">${ImpactFactor}</strong>
</span> </span>
</div>`: '' </div>`
: ''
var CiteScoreStr = `<div class="cite-score-badge" style="width: ${Jour_num == 1 ? 64 : 60}px;height: ${Jour_num == 1 ? 64 : 60}px;border-radius: 50%;display: flex;align-items: center;justify-content: center;background: transparent; var CiteScoreStr = `<div class="cite-score-badge" style="width: ${Jour_num == 1 ? 64 : 60}px;height: ${Jour_num == 1 ? 64 : 60}px;border-radius: 50%;display: flex;align-items: center;justify-content: center;background: transparent;
box-shadow: inset 0 0 12px rgb(255 255 255), 0 0 16px rgba(0, 150, 255, 0.4); box-shadow: inset 0 0 12px rgb(255 255 255), 0 0 16px rgba(0, 150, 255, 0.4);
text-align: center; text-align: center;
@@ -1567,11 +1673,25 @@ function initJournalBaseInfo(result) {
<strong style="font-size: 18px;color: #fff;">${CiteScore}</strong> <strong style="font-size: 18px;color: #fff;">${CiteScore}</strong>
</span> </span>
</div>` </div>`
$('#top_bar .rgb_color_background h1').css({ $('#top_bar .rgb_color_background h1').css({ 'position': 'relative' })
'position': 'relative' if (ImpactFactor || CiteScore) {
$('#top_bar .rgb_color_background h1 a').after(`<div style="position: absolute;width:auto;top: -30px;right: ${Jour_num == 1 ? -170 : -110}px;">${ImpactFactorStr}${CiteScoreStr}</div>`)
}
if (Jour_num == 1) {
// $('.nav_ban h2').html('<img src="../img/h2_tit.png" style="margin-top: 26px;"/>');
$('.nav_ban h2').html('<img src="/img/h2tmr6.png" style="margin-top: 14px;height:24px"/>');
} else if (Jour_num == 2) {
//cancer
$('.nav_ban h2').html('<img src="/img/h2cancer3.png" style="margin-top: 14px;height:24px"/>');
}) } else if (Jour_num == 11) {
$('#top_bar .rgb_color_background h1 a').after(`<div style="position: absolute;width: 100%;top: -30px;right: ${Jour_num == 1 ? -170 : -110}px;">${ImpactFactorStr}${CiteScoreStr}</div>`) //mdm
$('.nav_ban h2').html('<img src="/img/h2mdm3.png" style="margin-top: 14px;height:24px"/>');
}
else if (Jour_num == 25) {
//bmec
$('.nav_ban h2').html('<img src="/img/h2bmec3.png" style="margin-top: 14px;height:24px"/>');
}
// 外链信息 // 外链信息
var arr_Abc = result.data.journalAbs.filter(e => e.is_show == 1); var arr_Abc = result.data.journalAbs.filter(e => e.is_show == 1);
@@ -1590,11 +1710,48 @@ function initJournalBaseInfo(result) {
} else { } else {
apcStr = arr_jour.apc + `<span style="color: ${arr_jour.system_color};font-weight: bold;margin-left:6px;">( 2025 - 2026 )</span>`; apcStr = arr_jour.apc + `<span style="color: ${arr_jour.system_color};font-weight: bold;margin-left:6px;">( 2025 - 2026 )</span>`;
} }
//是否显示地图
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'
}
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'
}
var leftStr = ` var leftStr = `
<a href="/${arr_jour.icon}" class="qk_img"> <a href="/${arr_jour.icon}" class="qk_img">
<img src="${imgjourUrl + arr_jour.icon}"alt=""> <img src="${imgjourUrl + arr_jour.icon}"alt="">
</a> </a>
<p style="" class="mes_issn_box"><b>ISSN:</b> <span class="mes_issn">${arr_jour.issn}</span></p><p> <p style="${ISSNDirection}:6px;text-align:${ISSNDirection};color:${ISSNColor};bottom:${ISSNBottom};font-size:12px" class="mes_issn_box"><b>ISSN:</b> <span class="mes_issn">${arr_jour.issn}</span></p><p>
` `
$('.jour_base_info .jour_base_info_center .jour_base_info_center_left').html(leftStr); $('.jour_base_info .jour_base_info_center .jour_base_info_center_left').html(leftStr);
//头部左侧期刊其他信息 //头部左侧期刊其他信息
@@ -1614,12 +1771,12 @@ function initJournalBaseInfo(result) {
<img src="/img/details.png" style="width: 20px;height: 20px;margin: 0 0 0 10px;vertical-align: bottom;"> <img src="/img/details.png" style="width: 20px;height: 20px;margin: 0 0 0 10px;vertical-align: bottom;">
</a> </a>
</p> </p>
<p><b>Impact Factor (Clarivate):</b> <span style="color: ${arr_jour.system_color}">${ImpactFactor}</span></p> <p style="${ImpactFactor ? '' : 'display:none'}"><b>Impact Factor (Clarivate):</b> <span style="color: ${arr_jour.system_color}">${ImpactFactor}</span></p>
<p><b>CiteScore (Scopus):</b> <span style="color: ${arr_jour.system_color}">${CiteScore}</span></p> <p style="${CiteScore ? '' : 'display:none'}"><b>CiteScore (Scopus):</b> <span style="color: ${arr_jour.system_color}">${CiteScore}</span></p>
<p><b>Acceptance:</b> <span class="mes_accep">${arr_jour.acceptance}</span></p> <p><b>Acceptance:</b> <span class="mes_accep">${arr_jour.acceptance}</span></p>
<p><b>Final Decision:</b> <span class="mes_final">${arr_jour.finaldecision}</span></p> <p><b>Final Decision:</b> <span class="mes_final">${arr_jour.finaldecision}</span></p>
<p><b>APC:</b> <span class="mes_APC">${apcStr}</span><a href="/apc/" <p><b>APC:</b> <span class="mes_APC">${apcStr}</span>
style="display: inline-block;" class="FreeapplicationBox"><span <a href="/apc/" style="${Jour_num == 1 ? 'display: inline-block;' : 'display: none;'}" class="FreeapplicationBox"><span
class="Freeapplication" style=" class="Freeapplication" style="
margin-left: 10px; margin-left: 10px;
color: #006699f0; color: #006699f0;
@@ -1634,14 +1791,11 @@ function initJournalBaseInfo(result) {
style="color: ${Journals_color}">${arr_jour.email}</span></p> style="color: ${Journals_color}">${arr_jour.email}</span></p>
<div style="display: block;" class="share_tmrtb"> <div style="display: block;" class="share_tmrtb">
<b>Follow Us:</b> <b>Follow Us:</b>
<div> ${Jour_num == 1 ? `<div style="display: inline-block;" onclick="window.open('https://www.facebook.com/TMR24133973')">
<div style="display: inline-block;"
onclick="window.open('https://www.facebook.com/TMR24133973')">
<img alt="facebook-white sharing button" <img alt="facebook-white sharing button"
src="https://platform-cdn.sharethis.com/img/facebook-white.svg"> src="https://platform-cdn.sharethis.com/img/facebook-white.svg">
</div> </div>
<div style="display: inline-block;" <div style="display: inline-block;" onclick="window.open('https://twitter.com/Traditi95990264')">
onclick="window.open('https://twitter.com/Traditi95990264')">
<img alt="twitter-white sharing button" <img alt="twitter-white sharing button"
src="https://platform-cdn.sharethis.com/img/twitter-white.svg"> src="https://platform-cdn.sharethis.com/img/twitter-white.svg">
</div> </div>
@@ -1649,31 +1803,34 @@ function initJournalBaseInfo(result) {
onclick="window.open('https://www.linkedin.com/showcase/traditional-medicine-research/')"> onclick="window.open('https://www.linkedin.com/showcase/traditional-medicine-research/')">
<img alt="linkedin-white sharing button" <img alt="linkedin-white sharing button"
src="https://platform-cdn.sharethis.com/img/linkedin-white.svg"> src="https://platform-cdn.sharethis.com/img/linkedin-white.svg">
</div> </div>`: '<div class="sharethis-inline-share-buttons"></div>'}
</div>
</div> </div>
</div> </div>
</li> </li>
` `
var otherStr2 = ` var otherStr2 = `
<li class="mes_all_section_other"> <li class="mes_all_section_other" style="max-width:210px;min-width:170px">
<div class="mes_all_title" style="opacity: 0;">Archiving</div> <div class="mes_all_title" style="opacity: 0;">Archiving</div>
<p class="mes_all_current_issue">Current Issue</p> <p class="mes_all_current_issue">Current Issue</p>
<p><span class="mes_all_current_issue_time"></span></p> <p style="height:20px;"><span class="mes_all_current_issue_time" style="color:${Journals_color ? Journals_color : '#006699'}"></span></p>
<p><a href="/article_list.html?J_num=${Jour_num}&o_id=${Jour_num}" target="_blank">Online First</a></p> <p class="mes_all_section_other_online"><a href="/article_list.html?J_num=${Jour_num}&o_id=${Jour_num}" target="_blank">Online First</a></p>
<p><a href="/stages.html?J_num=${Jour_num}" target="_blank">Archiving</a></p> <p><a href="/stages.html?J_num=${Jour_num}" target="_blank">Archiving</a></p>
<p><a href="/guest.html?J_num=${Jour_num}" target="_blank">Special Issues</a></p> <p style="${Jour_num == 1 ? 'display:block' : 'display:none'}"><a href="/guest.html?J_num=${Jour_num}" target="_blank">Special Issues</a></p>
<p><a href="/article_list.html?J_num=${Jour_num}&top_id=${Jour_num}" target="_blank">Highlights</a></p> <p><a href="/article_list.html?J_num=${Jour_num}&top_id=${Jour_num}" target="_blank">Highlights</a></p>
<p style="${Jour_num != 1 ? 'display:block' : 'display:none'}"><a href="/article_list.html?J_num=${Jour_num}&n_id=${Jour_num}" target="_blank">News & Comment</a></p>
<p><a href="#Topics">Topics</a></p> <p><a href="#Topics">Topics</a></p>
</li>` </li>`
var otherStr3 = ` var otherStr3 = `
<li class="mes_all_section_other"> <li class="mes_all_section_other">
<div class="mes_all_title">Publish</div> <div class="mes_all_title">Publish</div>
<p><a href="/about_journal.html?J_num=${Jour_num}" target="_blank">About Journal</a></p> <p><a href="/about_journal.html?J_num=${Jour_num}" target="_blank">About Journal</a></p>
<!--地图弹窗--> <!--地图弹窗-->
<div class="Authorship" style="position: relative;z-index:10;cursor: pointer;"> <div class="Authorship" style="position: relative;z-index:10;cursor: pointer;${isShowAuthorship ? 'display:block' : 'display:none'}">
<p class="Authorship_text">Authorship</p> <p class="Authorship_text">Authorship</p>
<div class="tmr_side_map AuthorshipInfo" style="box-shadow: rgb(255, 255, 255) 0px 0px 12px inset, rgba(0, 150, 255, 0.4) 0px 0px 16px; <div class="tmr_side_map AuthorshipInfo" style="box-shadow: rgb(255, 255, 255) 0px 0px 12px inset, rgba(0, 150, 255, 0.4) 0px 0px 16px;
border-radius: 10px;overflow: hidden;;opacity: 0;position: absolute;right: -140px;top: -4px;width:270px;"> border-radius: 10px;overflow: hidden;;opacity: 0;position: absolute;right: -140px;top: -4px;width:270px;">
@@ -1685,25 +1842,48 @@ function initJournalBaseInfo(result) {
<p ><a href="/afoor_text.html?footer_id=37" target="_blank">Peer-review process</a></p> <p ><a href="/afoor_text.html?footer_id=37" target="_blank">Peer-review process</a></p>
<p><a href="${arr_jour.submission_url}" target="_blank">Submission System</a></p> <p><a href="${arr_jour.submission_url}" target="_blank">Submission System</a></p>
<p><a href="/z_f11-1.html?J_num=${Jour_num}" target="_blank">Ethics and Malpractice Statement</a></p> <p><a href="/z_f11-1.html?J_num=${Jour_num}" target="_blank">Ethics and Malpractice Statement</a></p>
<p class="mes_all_section_Gue_special" ><a href="/gue_edit.html?J_num=${Jour_num}" target="_blank">Special Issue Proposal Application</a></p> <p style="${Jour_num == 1 || Jour_num == 25 ? '' : 'display:none'}" class="mes_all_section_Gue_special" ><a href="/gue_edit.html?J_num=${Jour_num}" target="_blank">Special Issue Proposal Application</a></p>
<p > <a href="/afoor_text.html?footer_id=21" target="_blank">Contact us</a></p> <p > <a href="/afoor_text.html?footer_id=21" target="_blank">Contact us</a></p>
</div> </div>
</li> </li>
` `
let pCount = 0;
// 一定会显示的 <p>About Journal、Guide for Authors、Peer-review、Submission、Ethics、Contact
pCount += 6;
// 判断 Authorship 是否显示
if (isShowAuthorship) {
pCount += 1;
}
// 判断 Special Issue Proposal 是否显示
if (Jour_num == 1 || Jour_num == 25) {
pCount += 1;
}
var normalLength = pCount - 1
var otherStr4 = ` var otherStr4 = `
<li class="mes_all_section_other"> <li class="mes_all_section_other">
<div class="mes_all_title">Abstracting & Indexing</div> <div class="mes_all_title">Abstracting & Indexing</div>
<ul class="mes_Abs" style="width:200px;background:#fff;padding: 0px 4px;border-radius:4px;overflow:hidden;">${AbstractingStr} <ul class="mes_Abs" style="width:200px;background:#fff;padding: 0px 4px;border-radius:4px;overflow:hidden;">${AbstractingStr}
${arr_Abc.length > 7 ? `<a class="wl_click">more <i class="fa fa-long-arrow-down"></i></a>` : ''} ${arr_Abc.length > normalLength ? `<a class="wl_click">more <i class="fa fa-long-arrow-down"></i></a>` : ''}
</ul> </ul>
</li> </li>
` `
$('.jour_base_info .jour_base_info_center .mes_all .mes_all_section').html(otherStr1 + otherStr2 + otherStr3 + otherStr4); $('.jour_base_info .jour_base_info_center .mes_all .mes_all_section').html(otherStr1 + otherStr2 + otherStr3 + otherStr4);
$('.mes_Abs li:gt(6)').hide(); setTimeout(() => {
if (window.__sharethis__) {
__sharethis__.initialize();
}
}, 50)
$(`.mes_Abs li:gt(${normalLength - 1})`).hide();
$(".wl_click").bind('click', function (e) { $(".wl_click").bind('click', function (e) {
var Abstractingcontent = `<ul style="margin-top:10px;"> var Abstractingcontent = `<ul style="margin-top:10px;">
${arr_Abc.map((item, i) => { ${arr_Abc.map((item, i) => {
@@ -1730,6 +1910,7 @@ function initJournalBaseInfo(result) {
// } // }
}); });
$(".wl_click").css('color', arr_jour.system_color); $(".wl_click").css('color', arr_jour.system_color);
renderMap(160, function () { renderMap(160, function () {
console.log('Operation after renderMap'); console.log('Operation after renderMap');
$(".AuthorshipInfo").css("width", '0px') $(".AuthorshipInfo").css("width", '0px')
@@ -1767,6 +1948,9 @@ function initJournalBaseInfo(result) {
}); });
$('#st-2 .st-btn > img').css({
'top': '0 !important'
})
} }
// window.onload = function() { // window.onload = function() {
@@ -1794,3 +1978,4 @@ function closePopup() {
$('#common-popup .common-popup-content').html('') $('#common-popup .common-popup-content').html('')
}, 50); }, 50);
} }

View File

@@ -94,7 +94,7 @@ function side_list() {
// $('.Tmr_lian_jie').css('display', 'block'); // $('.Tmr_lian_jie').css('display', 'block');
// tmr单独 // tmr单独
$('.nav_ban h2').html('<img src="../img/h2_tit.png" style="margin-top: 26px;"/>');
const pathname = window.location.pathname.split("/").pop(); const pathname = window.location.pathname.split("/").pop();
// 2. 判断是否为 for_author.html // 2. 判断是否为 for_author.html
@@ -500,8 +500,8 @@ function side_list() {
// }) // })
} }
function initNotices(){ function initNotices() {
var Journals_color=localStorage.getItem('Journals_color') var Journals_color = localStorage.getItem('Journals_color')
$.ajax({ $.ajax({
type: 'post', url: apiUrl + 'api/Journal/getNotices', type: 'post', url: apiUrl + 'api/Journal/getNotices',
data: { data: {
@@ -517,7 +517,7 @@ function initNotices(){
for (var i = 0; i < arr.length; i++) { for (var i = 0; i < arr.length; i++) {
if (i == 2) break; if (i == 2) break;
str += `<li><font style="color:${Journals_color} ">»&nbsp;${formatTimeToDate4(arr[i].ctime * 1000)}</font><br/> str += `<li><font style="color:${Journals_color} ">»&nbsp;${formatTimeToDate4(arr[i].ctime * 1000)}</font><br/>
<a target="_blank" href="notice.html?J_num=${Jour_num }&notice_id=${arr[i].journal_notices_id}">${arr[i].title}</a></li>` <a target="_blank" href="notice.html?J_num=${Jour_num}&notice_id=${arr[i].journal_notices_id}">${arr[i].title}</a></li>`
} }
var jourNoticeStr = ` var jourNoticeStr = `
<div class="jour_notice"> <div class="jour_notice">
@@ -535,7 +535,7 @@ function initNotices(){
` `
if (result.data.notices.length > 0) { if (result.data.notices.length > 0) {
$('.ncon_SCom .Scientist_Community_box').html(jourNoticeStr); $('.ncon_SCom .Scientist_Community_box').html(jourNoticeStr);
}else{ } else {
$('.ncon_SCom .Scientist_Community_box').html(`<img src="/img/unity_1.png" alt="" style="width: 150px;margin: -15px 0 0 40px"> $('.ncon_SCom .Scientist_Community_box').html(`<img src="/img/unity_1.png" alt="" style="width: 150px;margin: -15px 0 0 40px">
<a href="/rev_ver.html" target="_blank" class="rgb_color">Scientist<br>Community</a> <a href="/rev_ver.html" target="_blank" class="rgb_color">Scientist<br>Community</a>
<div class="bor_sty_col" style="left: 272px"></div> <div class="bor_sty_col" style="left: 272px"></div>

16
journalIndex/lr3.html Normal file
View File

@@ -0,0 +1,16 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v1.html?J_num=14" scrolling="auto" noresize>
</frameset>
</head>
<body>
</body>
</html>

16
journalIndex/mdm3.html Normal file
View File

@@ -0,0 +1,16 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v1.html?J_num=11" scrolling="auto" noresize>
</frameset>
</head>
<body>
</body>
</html>

View File

@@ -468,7 +468,7 @@ input.disable {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: rgba(0,0,0,0.5); background: rgba(0, 0, 0, 0.5);
display: none; display: none;
z-index: 100; z-index: 100;
} }
@@ -487,7 +487,7 @@ input.disable {
z-index: -1; z-index: -1;
opacity: 0; opacity: 0;
transition: opacity 0.3s; transition: opacity 0.3s;
box-shadow: 0 0 20px rgba(0,0,0,0.2); box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
} }
/* 关闭按钮 */ /* 关闭按钮 */
@@ -854,9 +854,6 @@ input.disable {
.ncon_hl>ul { .ncon_hl>ul {
background-color: #fff; background-color: #fff;
} }
.Special_Issues_box>ul {
background-color: #fff;
}
.online_fr>ul { .online_fr>ul {
background-color: #fff; background-color: #fff;
@@ -1054,11 +1051,15 @@ input.disable {
.art_main .tradition-box .tradition-text { .art_main .tradition-box .tradition-text {
line-height: 24px; line-height: 24px;
margin-top: 10px; margin-top: 10px;
height: 120px; /* 限制高度 */ height: 120px;
overflow: hidden; /* 隐藏超出部分 */ /* 限制高度 */
text-overflow: ellipsis; /* 显示省略号 */ overflow: hidden;
/* 隐藏超出部分 */
text-overflow: ellipsis;
/* 显示省略号 */
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 6; /* 显示前5行 */ -webkit-line-clamp: 6;
/* 显示前5行 */
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
@@ -2144,12 +2145,14 @@ ul li .ab_tad {
width: 128px !important; width: 128px !important;
height: 175px !important; height: 175px !important;
} }
.ncon_SCom{
padding-top: 0px !important; .ncon_SCom {
padding-top: 0px !important;
} }
.ncon_SCom>div { .ncon_SCom>div {
padding: 15px 0; padding: 15px 0;
padding-top:0 ; padding-top: 0;
display: flex; display: flex;
} }
@@ -2546,11 +2549,26 @@ padding-top: 0px !important;
margin-left: 10px; margin-left: 10px;
} }
.sharethis-inline-share-buttons {
margin-left: 0 !important;
display: inline-block !important;
}
.sharethis-inline-share-buttons .st-btn { .sharethis-inline-share-buttons .st-btn {
border: 0 !important; border: 0 !important;
} }
.sharethis-inline-share-buttons .st-btn {
padding: 1px !important;
}
#st-1 .st-btn>img {
top: 0 !important;
}
.share_tmrtb { .share_tmrtb {
/* padding-top: 5px; */ /* padding-top: 5px; */
@@ -2854,7 +2872,7 @@ padding-top: 0px !important;
.overall_tmr .ncon_fr_tmr ul li, .overall_tmr .ncon_fr_tmr ul li,
.overall_tmr .ncon_aper ul li { .overall_tmr .ncon_aper ul li {
box-shadow: 0 0 10px #bdbdbd; box-shadow: 0 0 10px #bdbdbd3d;
} }
.overall_tmr .online_fr h4, .overall_tmr .online_fr h4,
@@ -3364,6 +3382,86 @@ padding-top: 0px !important;
margin-right: 5px; margin-right: 5px;
} }
.Special_Issues_box>ul {
background-color: #fff;
}
.Special_Issues_box ul li .specials_hover_box {
display: none;
padding: 20px;
text-align: center;
position: absolute;
background-color: #00669980;
color: #fff;
top: 0px;
bottom: 14px;
left: 1px;
right: -1px;
}
.Special_Issues_box ul li:hover .specials_hover_box {
display: block;
}
.Special_Issues_div_box {
padding: 0;
margin: 0;
white-space: nowrap;
margin: 0 auto;
}
.Special_Issues_div_box ul {
display: flex !important;
overflow-x: auto;
transform: scaleY(-1);
}
.Special_Issues_div_box ul li {
transform: scaleY(-1);
}
.Special_Issues_div_box ul li a img {
width: 253px !important;
margin-top: 25px !important;
}
.Special_Issues_div_box ul li:not(:last-of-type) {
margin-right: 30px;
}
.Special_Issues_div_box ul li h6 a {
word-wrap: break-word;
/* 保证文字能换行 */
word-break: break-word;
/* 确保长单词能换行 */
white-space: normal;
/* 允许换行 */
}
.Special_Issues_div_box ul::-webkit-scrollbar {
/*滚动条整体样式*/
/*width : 1px; !*高宽分别对应横竖滚动条的尺寸*!*/
height: 10px;
}
.Special_Issues_div_box ul::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 0;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
background: #aec0c9;
}
.Special_Issues_div_box ul::-webkit-scrollbar-track {
/*滚动条里面轨道*/
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
border-radius: 0;
background: #ededed;
}
.jour_awaite { .jour_awaite {
margin-top: -5px !important; margin-top: -5px !important;
} }
@@ -3500,3 +3598,7 @@ padding-top: 0px !important;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.sharethis-inline-share-buttons .st-btn>img {
top: 0 !important;
}

16
journalIndex/tmr3.html Normal file
View File

@@ -0,0 +1,16 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon" />
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr_v1.html?J_num=1" scrolling="auto" noresize>
</frameset>
</head>
<body>
</body>
</html>

View File

@@ -8,10 +8,15 @@
<title></title> <title></title>
<link rel="shortcut icon" href="img/tmr3.png" type="image/x-icon" /> <link rel="shortcut icon" href="img/tmr3.png" type="image/x-icon" />
<link rel="stylesheet" href="js/line-switch/css/reset.css"> <link rel="stylesheet" href="js/line-switch/css/reset.css">
<script type='text/javascript'
src='https://platform-api.sharethis.com/js/sharethis.js#property=5ff7d85fd7d501001255ad98&product=inline-share-buttons'
async='async'></script>
<link rel="stylesheet" type="text/css" href="style/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="style/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="js/selectivity/selectivity-jquery.css"> <link rel="stylesheet" type="text/css" href="js/selectivity/selectivity-jquery.css">
<link rel="stylesheet" type="text/css" href="js/line-switch/time.css" /> <link rel="stylesheet" type="text/css" href="js/line-switch/time.css" />
<link rel="stylesheet" type="text/css" href="journalIndex/style/commonJournalCSS_v12.css" /> <link rel="stylesheet" type="text/css" href="journalIndex/style/commonJournalCSS.css" />
<style> <style>
.onlineFirstBox i { .onlineFirstBox i {
font-weight: bold; font-weight: bold;
@@ -163,6 +168,7 @@
<div class="topics"></div> <div class="topics"></div>
</div> </div>
</div> </div>
<div class="bng_topic_bei"> <div class="bng_topic_bei">
<div class="art_main_con_topic"> <div class="art_main_con_topic">
<!--话题上方--> <!--话题上方-->
@@ -178,7 +184,16 @@
</div> </div>
<div class="news_ment ncon_aper" style="display: none;">
<h4 class="rgb_color border_title rgb_color_h4 Topic_rgb_color rgb_color_show_more"
style="color: rgb(0, 102, 153); display: flex; align-items: center; justify-content: space-between;">
<div style="font-weight: bold;">Explore More</div>
</h4><a href="" class="more" target="_blank" style="top: 30px;">More</a>
<ul class="call_paper">
<!--Call for Paper文章-->
</ul>
</div>
<div class="news_ment ncon_SCom" style="margin-top: 0 !important;"> <div class="news_ment ncon_SCom" style="margin-top: 0 !important;">
<div> <div>
<div class="Scientist_Community_box"> <div class="Scientist_Community_box">

View File

@@ -23,6 +23,16 @@ function loadMathJax(callback) {
} }
loadMathJax() 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 at_list() { function at_list() {
@@ -7239,6 +7249,23 @@ function getCitations(doi, a_ID) {
function article_con() { function article_con() {
var newBox = document.querySelector('.newBox');
var commonPopupStr = `
<div id="common-overlay"></div>
<div id="common-popup">
<span class="common-close-btn" onclick="closePopup()">×</span>
<div style="padding: 30px 30px 20px 30px" class="common-popup-box">
<h2 class="common-popup-title"></h2>
<div class="common-popup-content">
</div>
</div>
</div>
`;
// 将弹窗插入到页面中
newBox.insertAdjacentHTML('beforeend', commonPopupStr);
console.log('js at line 7241:', '是否走了详情js') console.log('js at line 7241:', '是否走了详情js')
console.log('详情js', localStorage.Journals_title); console.log('详情js', localStorage.Journals_title);
// 获取地址栏信息 // 获取地址栏信息
@@ -7252,21 +7279,21 @@ function article_con() {
var a_ID = getQueryString('a_id'); //文章 var a_ID = getQueryString('a_id'); //文章
var htm_ID = getQueryString('s_htm'); //目前显示html var htm_ID = getQueryString('s_htm'); //目前显示html
const isPre = getQueryString('preview'); const isPre = getQueryString('preview');
initArticleNavList(a_ID)
// 增加访问次数 // 增加访问次数
if (Jour_num == 1 || Jour_num == 11 || Jour_num == 25) { if (Jour_num == 1 || Jour_num == 11 || Jour_num == 25) {
var CiteScoreStr = '' var CiteScoreStr = ''
var marginLeft = 20 var marginLeft = 20
if (Jour_num == 1) { if (Jour_num == 1) {
CiteScoreStr = '1.8'; CiteScoreStr = '1.9';
marginLeft = 10 marginLeft = 10
} else } else
if (Jour_num == 11) { if (Jour_num == 11) {
CiteScoreStr = '0.1'; CiteScoreStr = '0.3';
} }
else if (Jour_num == 25) { else if (Jour_num == 25) {
CiteScoreStr = '1.3'; CiteScoreStr = '1.5';
} }
if (Jour_num == 1) { if (Jour_num == 1) {
// $('#top_bar .nav_ban h2 img').css('zoom','0.75') // $('#top_bar .nav_ban h2 img').css('zoom','0.75')
@@ -7560,6 +7587,7 @@ function article_con() {
success: function (result) { success: function (result) {
// initArticleNavList(a_ID)
console.log('result at line 7575:', result) console.log('result at line 7575:', result)
@@ -8388,10 +8416,10 @@ function article_con() {
ShowDanger("请求失败!"); ShowDanger("请求失败!");
} }
}, },
error: function(jqXHR, textStatus, errorThrown) { error: function (jqXHR, textStatus, errorThrown) {
ShowDanger("error"); ShowDanger("error");
console.log('文章详情error') console.log('文章详情error')
console.log('AJAX error:',jqXHR, textStatus, errorThrown); // 输出详细的错误信息 console.log('AJAX error:', jqXHR, textStatus, errorThrown); // 输出详细的错误信息
} }
}) })
@@ -9308,3 +9336,154 @@ function getCiteList(a_ID) {
} }
}) })
} }
function initArticleNavList(a_ID) {
var Journals_color = localStorage.getItem('Journals_color')
var journalStageID = localStorage.getItem('journalStageID')
//是否显示地图
var isShowAuthorship = 0;
if ([1, 14, 8].includes(Number(Jour_num))) {
isShowAuthorship = 1
}
// if (a_ID == 4477) {
const style = document.createElement('style');
style.innerHTML = `/* 遮罩层 */
.article_dropbtn:hover {
color: ${Journals_color};
}
.article_dropdown-list a:hover {
border-bottom:2px solid ${Journals_color};
font-weight:bold;
color:#333;
}
`;
document.head.appendChild(style);
// 获取 id 为 top_bar 的元素
var topBar = document.getElementById("top_bar");
var otherStr1 = `
<p class=""><a href="/article_list.html?J_num=${Jour_num}&y_id=${journalStageID}" target="_blank">Current Issue</a></p>
<p class="mes_all_section_other_online"><a href="/article_list.html?J_num=${Jour_num}&o_id=${Jour_num}" target="_blank">Online First</a></p>
<p><a href="/stages.html?J_num=${Jour_num}" target="_blank">Archiving</a></p>
<p style="${Jour_num == 1 ? 'display:block' : 'display:none'}"><a href="/guest.html?J_num=${Jour_num}" target="_blank">Special Issues</a></p>
<p><a href="/article_list.html?J_num=${Jour_num}&top_id=${Jour_num}" target="_blank">Highlights</a></p>
`
var otherStr2 = `<p><a href="/tmr" target="_blank">Journal Information</a></p>
<p><a href="/for_author.html?J_num=${Jour_num}" target="_blank">Guide for Authors</a></p>
<p><a href="javascript:;" onclick="openAbstracting(${Jour_num},'${Journals_color}')">Abstracting & Indexing</a></p>
`
// Abstracting & Indexing
var otherStr3 = `
<p ><a href="/afoor_text.html?footer_id=37" target="_blank">Peer-review process</a></p>
<p><a href="${localStorage.getItem('submission_url')}" target="_blank">Submission System</a></p>
<p><a href="/z_f11-1.html?J_num=${Jour_num}" target="_blank">Ethics and Malpractice Statement</a></p>
<!--地图弹窗-->
<div class="Authorship" style="position: relative;z-index:10;cursor: pointer;${isShowAuthorship ? 'display:block' : 'display:none'}">
<p class="Authorship_text"><a href="javascript:;" onclick="openAuthorship(${Jour_num},'${Journals_color}')">Authorship</a></p>
`
var str = ` <div class="article_navbar-container">
<div class="article_dropdown-menu">
<div class="article_dropbtn">Articles & Issues <i class="fa fa-chevron-down" style="font-size: 14px;margin-left: 6px;"></i></div>
<div class="article_dropdown-list">
${otherStr1}
</div>
</div>
<div class="article_dropdown-menu">
<div class="article_dropbtn">About Journal <i class="fa fa-chevron-down" style="font-size: 14px;margin-left: 6px;"></i></div>
<div class="article_dropdown-list" style="min-width:180px">
${otherStr2}
</div>
</div>
<div class="article_dropdown-menu">
<div class="article_dropbtn">Publish <i class="fa fa-chevron-down" style="font-size: 14px;margin-left: 6px;"></i></div>
<div class="article_dropdown-list" style="min-width:250px">
${otherStr3}
</div>
</div>
</div>`
// 使用 insertAdjacentHTML 在 top_bar 后插入新元素
topBar.insertAdjacentHTML('afterend', str);
// JavaScript to handle dropdown toggle on button click
// }
}
function openAbstracting(Jour_num, Journals_color) {
var list = localStorage.getItem('journalAbs')
var arr_Abc = JSON.parse(list).filter(e => e.is_show == 1);
var Abstractingcontent = `<ul style="margin-top:10px;">
${arr_Abc.map((item, i) => {
return `<li style="font-weight:700;font-size:14px;"><span style="display:inline-block">»&nbsp;</span><a target="_blank" href="${item.url}" style="font-weight:700;display:inline-block">${item.title}</a></li>`;
}).join('')}
</ul>`
document.querySelector('#common-popup .common-popup-content').classList.add('whitebg');
showPopup(`<span style="font-weight:bold;color:${Journals_color}">Abstracting & Indexing</span>`, Abstractingcontent)
// 5秒后自动关闭
// setTimeout(closePopup, 5000);
}
function openAuthorship(Jour_num, Journals_color) {
var Abstractingcontent = `
<div class="tmr_side_map AuthorshipInfo" style="
width:300px;margin-top:20px">
<div id="worldMap" style="width: 100%;height: 140px;margin: 0 auto 10px auto"></div>
<ul class="map_paiming" style="padding: 0 20px 10px 20px;"></ul>
</div>
</div>
`
document.querySelector('#common-popup .common-popup-content').classList.add('whitebg');
showPopup(`<span style="font-weight:bold;color:${Journals_color}">Abstracting & Indexing</span>`, Abstractingcontent, 'Authorship')
// 5秒后自动关闭
// setTimeout(closePopup, 5000);
}
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-popup').style.zIndex = '101';
// 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);
}

View File

@@ -8,4 +8,45 @@ function initForAuthor(Jour_num, arr_jour) {
} }
$('.for_mess div .fr_APC').html(apcStr); $('.for_mess div .fr_APC').html(apcStr);
}
function initForAuthorHtml(Jour_num, arr_jour) {
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getForAuthors',
data: { 'journal_id': Jour_num },
success: function (result) {
if (result.code == 0) {
var arr = result.data.forAuthors;
var str = "";
var sgl = "";
for (var i in arr) {
str += '<li><a href="javascript:;" class="snf-nav" style="padding:6px 0 6px 27px;"><b>' + arr[i].jfa_title + '</b></a></li>'
sgl += '<div class="snf-page"><h3 class="big" style="font-size: 22px;padding-top: 15px;color: rgb(0, 71, 178);">' + arr[i].jfa_title + '</h3></div>'
for (var j = 0; j < arr[i].children.length; j++) {
str += '<li><a href="javascript:;" class="snf-nav" style="padding:6px 0 6px 27px">' + arr[i].children[j].jfa_title + '</a></li>'
sgl += '<div class="snf-page"><h3 style="font-size:16px">' + arr[i].children[j].jfa_title + '</h3>' + arr[i].children[j].content + '</div>'
}
}
$('#for_nag').html(str);
$('#for_nag li:nth-child(1) a').addClass('active');
$('#for_main').html(sgl);
//以window为顶设置离顶和回调
var snf = simpleNavFollow({
leaveTop: 10,
});
} else {
ShowDanger(result.msg);
}
},
error: function () {
ShowDanger("error");
}
})
} }

View File

@@ -257,6 +257,9 @@ function side_list() {
} }
localStorage.setItem("Journals_title", arr_jour.title); 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_issn", arr_jour.issn);
localStorage.setItem("Journals_color", arr_jour.system_color); localStorage.setItem("Journals_color", arr_jour.system_color);
localStorage.setItem("Journals_usx", arr_jour.usx); localStorage.setItem("Journals_usx", arr_jour.usx);

View File

@@ -142,7 +142,11 @@ function side_list() {
// $('.Join_Bord2').css('display', 'block') // $('.Join_Bord2').css('display', 'block')
// } // }
localStorage.setItem("Journals_title", arr_jour.title); 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("Journals_issn", arr_jour.issn); localStorage.setItem("Journals_issn", arr_jour.issn);
localStorage.setItem("journalStageID", result.data.journalStage[0].journal_stage_id);
localStorage.setItem("Journals_color", arr_jour.system_color); localStorage.setItem("Journals_color", arr_jour.system_color);
localStorage.setItem("Journals_usx", arr_jour.usx); localStorage.setItem("Journals_usx", arr_jour.usx);
$('.About_Journal').attr('href', 'about_journal.html?J_num=' + Jour_num); $('.About_Journal').attr('href', 'about_journal.html?J_num=' + Jour_num);
@@ -150,7 +154,7 @@ function side_list() {
$('.Join_Bord').attr('href', 'z_f6-1.html?J_num=' + Jour_num); $('.Join_Bord').attr('href', 'z_f6-1.html?J_num=' + Jour_num);
$('.Join_Bord2').attr('href', 'z_f11-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>a').attr('href', arr_jour.board_url);
$('.edit_board_tmr').after('<p><b>CiteScore (Scopus):</b> <span>1.8</span></p>'); $('.edit_board_tmr').after('<p><b>CiteScore (Scopus):</b> <span>1.9</span></p>');
$('.edit_board_tmr').after('<p><b>Impact Factor (Clarivate):</b> <span>1.3</span></p>'); $('.edit_board_tmr').after('<p><b>Impact Factor (Clarivate):</b> <span>1.3</span></p>');
//$('.edit_board_tmr>a').attr('href', 'notice.html?J_num=' + Jour_num + '&footer_id=' + arr_jour.board_url); //$('.edit_board_tmr>a').attr('href', 'notice.html?J_num=' + Jour_num + '&footer_id=' + arr_jour.board_url);

View File

@@ -5,7 +5,7 @@
<title>Life Research</title> <title>Life Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/>
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals.html?J_num=14" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=14" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

View File

@@ -5,7 +5,7 @@
<title>Medical Data Mining</title> <title>Medical Data Mining</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/>
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals.html?J_num=11" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=11" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>

View File

@@ -5317,3 +5317,113 @@ ul li .ab_tad {
font-style: italic !important; font-style: italic !important;
font-weight: bold !important; font-weight: bold !important;
} }
.article_navbar-container {
display: flex;
align-items: center;
background-color: #fff;
padding:0 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.article_dropdown-menu {
position: relative;
margin-right:20px;
}
.article_dropbtn {
color: #333;
padding: 14px 10px;
font-size: 16px;
border: none;
font-weight:bold;
cursor: pointer;
transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* By default, the dropdown list is hidden */
.article_dropdown-list {
display: none;
position: absolute;
background-color: #ffffff;
min-width: 160px;
z-index: 1;
border-radius: 4px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
opacity: 0;
transition: opacity 0.3s ease-in-out;
top:40px;
}
.article_dropdown-list a {
color: #333;
margin: 12px 10px 0;
text-decoration: none;
display: inline-block;
transition: background 0.3s ease;
border-bottom:2px solid #fff;
}
.article_dropdown-list {
padding-bottom:12px;
}
.article_dropdown-menu:hover .article_dropdown-list {
display: block;
opacity: 1;
}
.article_navbar-container .article_dropdown-menu {
margin-right: 40px;
}
#common-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: none;
z-index: 100;
}
/* 弹窗主体 */
#common-popup {
width: 600px;
min-height: 400px;
height: auto;
background: white;
border-radius: 8px;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -1;
opacity: 0;
transition: opacity 0.3s;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.common-popup-box .whitebg{
border-bottom:none !important;
}
/* 关闭按钮 */
.common-close-btn {
position: absolute;
right: 15px;
top: 10px;
font-size: 24px;
cursor: pointer;
color: #999;
}
.common-close-btn:hover {
color: #333;
}

View File

@@ -5,7 +5,7 @@
<title>Traditional Medicine Research</title> <title>Traditional Medicine Research</title>
<link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/> <link rel="shortcut icon" href="../img/tmr3.png" type="image/x-icon"/>
<frameset framespacing="0" border="0" rows="0" frameborder="0"> <frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="../journals_tmr.html?J_num=1" scrolling="auto" noresize> <frame name="main" src="../journals_tmr_v1.html?J_num=1" scrolling="auto" noresize>
</frameset> </frameset>
</head> </head>