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 cycle = ''
function bf_list() {
@@ -16,7 +17,9 @@ function bf_list() {
},
success: function (result) {
if (result.code == 0) {
cycle = result.data.journal.cycle
Journals_color = result.data.journal.system_color
$('.border_title').css({
'border-bottom': `1px solid ${Journals_color}`,
@@ -116,19 +119,19 @@ margin-top:15px;
.footer .daohang{
padding-bottom:30px;
}
`;
document.head.appendChild(style);
if(Jour_num==1){
$('.Special_Issues_box .more').css({
'top': '45px',
})
$('.ncon_hl .more').css({
'top': '45px',
})
}
`;
document.head.appendChild(style);
if (Jour_num == 1) {
$('.Special_Issues_box .more').css({
'top': '45px',
})
$('.ncon_hl .more').css({
'top': '45px',
})
}
initJournalBaseInfo(result)
var arr_stage = result.data.journalStage;
@@ -353,11 +356,12 @@ margin-top:15px;
</div>`;
}
{/* <br clear="both"></br> */}
{/* <br clear="both"></br> */ }
str += `<li>
<div class="dbt_header">
${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 class="apwrap" style="display: grid;grid-template-columns: 370px 1fr;">
@@ -874,7 +878,7 @@ margin-top:15px;
if (result.data.count > 4) {
$('.Special_Issues_box .more').css({
'display': 'block',
})
$('.Special_Issues_box .more').each(function () {
$(this).attr('href', `/guest.html?J_num=${Jour_num}`);
@@ -920,8 +924,8 @@ margin-top:15px;
if (arr.length == 0 || Jour_num != 1) {
$('.Special_Issues_box').css('display', 'none')
$('.ncon_hl').css({'margin-top':'-10px'})
$('.ncon_hl .more').css({'top':'45px'})
$('.ncon_hl').css({ 'margin-top': '-10px' })
$('.ncon_hl .more').css({ 'top': '45px' })
}
@@ -992,12 +996,12 @@ margin-top:15px;
if (arr.length == 0) {
$('.ment_sousuo_kuang').css('padding-top', '40px')
$('.mes_all_section_other_online').css('display', 'none')
$('.online_fr').css('display', 'none')
$('.ment_sousuo_kuang').css({
'padding-top':'0px',
'margin-top':'0px',
'padding-top': '0px',
'margin-top': '0px',
})
}
@@ -1203,9 +1207,9 @@ margin-top:15px;
'padding-bottom': '0px',
})
$('.ncon_new_coment .more').css({
'top': '45px',
})
$('.ncon_new_coment ul').css({
'background': '#fff',
@@ -1872,7 +1876,7 @@ function initJournalBaseInfo(result) {
$('.jour_base_info .jour_base_info_center .jour_base_info_center_left').html(leftStr);
//头部左侧期刊其他信息
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="">
<p>
<b>Editor-in-Chief:</b>

View File

@@ -657,7 +657,7 @@ function article_con() {
if (j_artc.doi == '') {
var doi_ = ''
} 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') {
var stage_ = ''