This commit is contained in:
2025-08-15 13:02:07 +08:00
parent 2910039ecb
commit c8262597dc
2 changed files with 29 additions and 25 deletions

View File

@@ -1,6 +1,7 @@
// 期刊基础、外链、分期、话题信息加载 // 期刊基础、外链、分期、话题信息加载
var Journals_color = '#006699' var Journals_color = '#006699'
var cycle = ''
function bf_list() { function bf_list() {
@@ -16,7 +17,9 @@ function bf_list() {
}, },
success: function (result) { success: function (result) {
if (result.code == 0) { if (result.code == 0) {
cycle = result.data.journal.cycle
Journals_color = result.data.journal.system_color Journals_color = result.data.journal.system_color
$('.border_title').css({ $('.border_title').css({
'border-bottom': `1px solid ${Journals_color}`, 'border-bottom': `1px solid ${Journals_color}`,
@@ -118,7 +121,7 @@ margin-top:15px;
} }
`; `;
document.head.appendChild(style); document.head.appendChild(style);
if(Jour_num==1){ if (Jour_num == 1) {
$('.Special_Issues_box .more').css({ $('.Special_Issues_box .more').css({
'top': '45px', 'top': '45px',
@@ -353,11 +356,12 @@ margin-top:15px;
</div>`; </div>`;
} }
{/* <br clear="both"></br> */} {/* <br clear="both"></br> */ }
str += `<li> str += `<li>
<div class="dbt_header"> <div class="dbt_header">
${arr[i].type} ${arr[i].type}
<div class="url_top">${lr_top}</div> <div class="url_top">${lr_top}</div><span style="margin-left: 10px;color:#888;padding: 4px 5px;">${cycle == 0 && arr[i].pub_date ? arr[i].pub_date : ''}</span>
</div> </div>
<div class="apwrap" style="display: grid;grid-template-columns: 370px 1fr;"> <div class="apwrap" style="display: grid;grid-template-columns: 370px 1fr;">
@@ -920,8 +924,8 @@ margin-top:15px;
if (arr.length == 0 || Jour_num != 1) { if (arr.length == 0 || Jour_num != 1) {
$('.Special_Issues_box').css('display', 'none') $('.Special_Issues_box').css('display', 'none')
$('.ncon_hl').css({'margin-top':'-10px'}) $('.ncon_hl').css({ 'margin-top': '-10px' })
$('.ncon_hl .more').css({'top':'45px'}) $('.ncon_hl .more').css({ 'top': '45px' })
} }
@@ -996,8 +1000,8 @@ margin-top:15px;
$('.mes_all_section_other_online').css('display', 'none') $('.mes_all_section_other_online').css('display', 'none')
$('.online_fr').css('display', 'none') $('.online_fr').css('display', 'none')
$('.ment_sousuo_kuang').css({ $('.ment_sousuo_kuang').css({
'padding-top':'0px', 'padding-top': '0px',
'margin-top':'0px', 'margin-top': '0px',
}) })
} }
@@ -1872,7 +1876,7 @@ function initJournalBaseInfo(result) {
$('.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);
//头部左侧期刊其他信息 //头部左侧期刊其他信息
var otherStr1 = ` var otherStr1 = `
<li class="mes_all_section_other" style="${Jour_num == 8 || Jour_num == 18 ||Jour_num == 2 ? 'padding-top:24px' : ''}"> <li class="mes_all_section_other" style="${Jour_num == 8 || Jour_num == 18 || Jour_num == 2 ? 'padding-top:24px' : ''}">
<div style="" class=""> <div style="" class="">
<p> <p>
<b>Editor-in-Chief:</b> <b>Editor-in-Chief:</b>

View File

@@ -657,7 +657,7 @@ function article_con() {
if (j_artc.doi == '') { if (j_artc.doi == '') {
var doi_ = '' var doi_ = ''
} else { } else {
var doi_ = 'DOI:' + j_artc.doi var doi_ = 'DOI : <a href="https://doi.org/' + j_artc.doi + '" target="_blank">' + 'https://doi.org/' + j_artc.doi + '</a>'
} }
if (j_info.stage_no == '0') { if (j_info.stage_no == '0') {
var stage_ = '' var stage_ = ''