pmr期刊合并

This commit is contained in:
@fawn-nine
2023-08-25 13:39:34 +08:00
parent 2013b00766
commit 0ac15cb648
9 changed files with 229 additions and 8 deletions

View File

@@ -287,6 +287,8 @@ function bf_list() {
if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) {
$('.current_list>h4').html('Current Volume<span>' + time_ + '</span>');
} else if(Jour_num == 7){ // pmr期刊
$('.current_list>h4').html('Latest Issue<span>' + time_ + '</span>');
} else {
$('.current_list>h4').html('Current Issue<span>' + time_ + '</span>');
}
@@ -993,6 +995,25 @@ function bf_list() {
var str = "";
for (var i = 0; i < result.data.journalStage.length; i++) {
if(Jour_num == 7){
// 合并(替换)期刊
// console.log('这是一本合并期刊')
if (arr_stage[i].stage_no == '0') {
var iss_ = ''
} else {
var iss_ = '<b> Issue.' + arr_stage[i].stage_no + '</b>'
}
if (arr_stage[i].stage_icon == '') {
str += '<li><a target="_blank" href="article_list.html?J_num=' + Jour_num + '&y_id=' + arr_stage[i].journal_stage_id + '">' +
'<p style="display: block;background-color:' + localStorage.Journals_color + '80"><b>' + arr_stage[i].stage_year + 'Vol. ' + arr_stage[i].stage_vol
+ iss_ + arr_stage[i].stage_pagename + arr_stage[i].stage_page + '</b></p></a></li>'
} else {
str += '<li><a target="_blank" href="article_list.html?J_num=' + Jour_num + '&y_id=' + arr_stage[i].journal_stage_id + '">' +
'<p style="background-color:' + localStorage.Journals_color + '80"><b>' + arr_stage[i].stage_year + 'Vol. ' + arr_stage[i].stage_vol
+ iss_ + arr_stage[i].stage_pagename + arr_stage[i].stage_page + '</b></p></a></li>'
}
}else{
// 常规期刊
if (arr_stage[i].stage_no == '0') {
var iss_ = ''
} else {
@@ -1009,6 +1030,7 @@ function bf_list() {
'<p style="background-color:' + localStorage.Journals_color + '80"><b>' + arr_stage[i].stage_year + '</b><b>Vol. ' + arr_stage[i].stage_vol + '</b>'
+ iss_ + '<b>' + arr_stage[i].stage_pagename + ' ' + arr_stage[i].stage_page + '</b></p></a></li>'
}
}
}