This commit is contained in:
2025-07-17 16:52:18 +08:00
parent c676a88c69
commit f4f8c440f5
2 changed files with 116 additions and 6 deletions

View File

@@ -5,7 +5,8 @@ function bf_list() {
$('.article_ .bgv_san .alls_issue').css({
'background': 'none'
'background': 'none',
})
// 相关期刊,过往分期
$.ajax({
@@ -27,6 +28,85 @@ function bf_list() {
'color': `${Journals_color} !important`,
})
//
const style = document.createElement('style');
style.innerHTML = `/* 遮罩层 */
.overall_tmr .article .art_main .new_art>ul li{
border-bottom:1px solid ${Journals_color}
}
.overall_tmr .article{
padding-bottom:0 !important;
}
.article .art_main .new_art ul li:last-child {
border-bottom: none !important;
}
.article_{
padding-top:15px;
}
.article_ .news_ment{
padding-top:0;
}
.news_ment a.more, .topics a.more{
top:20px;
}
.ment_sousuo_kuang{
margin-top:15px;
}
.ment_sousuo_kuang>div{
padding-bottom:15px !important;
}
.ment_sousuo_kuang>div>div{
height:37px !important;
line-height:37px !important;
}
.ment_sousuo_kuang>div>div select{
height:37px;
line-height:37px;
}
.ment_sousuo_kuang .soukuang_btn{
top:14.5px;
}
.article_ .bgv_san .alls_issue{
padding-bottom:0px !important;
}
.article_ .bgv_san .Special_Issues_box{
padding-top:25px !important;
padding-bottom:0px !important;
margin-top:-15px !important;
}
.article_ .bgv_san .ncon_hl{
padding-top:25px !important;
padding-bottom:0px !important;
}
.article .art_main .new_art>h4, .article .art_main .high_light h4, .news_ment h4, .topics h4{
line-height:24px;
}
.jour_notice .jour_notice_title_name{
margin-top:0;
}
.article_ .alls_issue>div>ul li>a>img{
margin-top:20px !important;
}
.Special_Issues_div_box ul li a img{
margin-top:20px !important;
}
.art_main_con_topic .topics_box{
margin-top:20px !important;
}
.article_ .alls_issue>div>ul li>a>p{
top:20px !important;
}
.overall_tmr .online_fr ul, .overall_tmr .ncon_fr_tmr ul, .overall_tmr .ncon_tcrd_tmr ul, .overall_tmr .ncon_aper ul, .overall_tmr .Rel_ated ul, .overall_tmr .hua_tpice ul, .overall_tmr .ncon_hl ul, .overall_tmr .Special_Issues_box ul, .overall_tmr .ncon_new_coment ul, .overall_tmr .ncon_SCom>div{
margin-top:20px !important;
}
.tmr_article{
padding-top:25px;
}
`;
document.head.appendChild(style);
initJournalBaseInfo(result)
var arr_stage = result.data.journalStage;
@@ -639,7 +719,7 @@ function bf_list() {
'<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>' +
st_top_tit = '<p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p><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>'
}
@@ -889,8 +969,13 @@ function bf_list() {
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',
})
}
@@ -1688,7 +1773,7 @@ function initJournalBaseInfo(result) {
//mdm
$('.nav_ban h2').html('<img src="/img/h2mdm3.png" style="margin-top: 14px;height:24px"/>');
}
else if (Jour_num == 25) {
else if (Jour_num == 25) {
//bmec
$('.nav_ban h2').html('<img src="/img/h2bmec3.png" style="margin-top: 14px;height:24px"/>');
}
@@ -1756,7 +1841,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">
<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

@@ -25,6 +25,15 @@ function side_list() {
}
const style = document.createElement('style');
style.innerHTML = `/* 遮罩层 */
.home_logo{
display:flex;
align-items:center;
}
`;
document.head.appendChild(style);
// 期刊基础信息
var arr_jour = result.data.journal; localStorage.setItem("Journals_title", arr_jour.title);
localStorage.setItem("Journals_issn", arr_jour.issn);
@@ -47,6 +56,22 @@ function side_list() {
$('.guest_content .gue_system a').css('background', arr_jour.system_color);
$('.guest_content .gue_author a').css('background', arr_jour.system_color);
$('.jour_ht_dy .topic_dingyue .topic_add').css('color', arr_jour.system_color);
//加入 top_sea
var SubmissionStr = ` <a target="_blank" href="https://submission.tmrjournals.com/" style="">
<i class="fa fa-upload" style="font-size: 16px;font-weight: bolder;"></i>
Submission System
</a><p></p>`
$('.top_logo .home_logo').append(`<b style="
display: flex;
align-items: center;
justify-content: space-around;
margin-left: 15px;
font-size: 14px;
color: #012169;
">Publishing Group</b>`);
$('.top_sea').prepend(SubmissionStr);
$('.jour_ht_dy .topic_ts .mainbox input[type="submit"]').css('background-color', arr_jour.system_color);
$('.top .top_sea .search_for input[type="text"]').css('border-color', arr_jour.system_color)
$('.top .top_sea .search_for input[type="button"]').css('border-color', arr_jour.system_color)