期刊详情页 TMR,bmec, mdm 加Impact Factor和Cite Score

This commit is contained in:
2025-06-12 15:27:43 +08:00
parent 7dedfc1ba2
commit 2a5baa6889
3 changed files with 77 additions and 26 deletions

View File

@@ -7276,7 +7276,50 @@ function article_con() {
success: function (result) {
}
})
if(Jour_num == 1||Jour_num == 11||Jour_num == 25){
var CiteScoreStr = ''
var marginLeft = 20
if (Jour_num == 1) {
CiteScoreStr = '1.8';
marginLeft=10
} else
if (Jour_num == 11) {
CiteScoreStr = '0.1';
}
else if (Jour_num == 25) {
CiteScoreStr = '1.3';
}
if(Jour_num == 1){
// $('#top_bar .nav_ban h2 img').css('zoom','0.75')
$('#top_bar .nav_ban h1').append(`<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: ${marginLeft}px;
margin-top: 2px;
">
<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>
<strong style="font-size: 18px;color: #fff;">0.9</strong>
</span>
</div>`)
}
$('#top_bar .nav_ban h1').append(`<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);
text-align: center;
color: #000;
float: right;
margin-left: ${marginLeft}px;
margin-top: 2px;
">
<span class="cite-text" style="font-size: 12px;line-height: 16px;font-weight: 600;color: #f0f0f0;letter-spacing: -0.75px;">
<text style="margin-top: 7px;line-height: 19px;display: inline-block;">Cite Score</text>
<strong style="font-size: 18px;color: #fff;">${CiteScoreStr}</strong>
</span>
</div>`)
}
if (isPre) {
$('#top_bar .top').css('display', 'none')
@@ -7526,12 +7569,16 @@ function article_con() {
} else {
$.ajax({
type: 'post', url: apiUrl + 'api/Article/getArticleDetail',
data: {
"article_id": a_ID
},
success: function (result) {
$('.wenzhang .wen_rong .left').css({
'background-color': '#f4fafd'
})

View File

@@ -138,7 +138,7 @@ function side_list() {
$('.ncon_SCom > div > div:nth-child(4) > p> b').html(arr_jour.title)
if (arr_jour.title == 'Traditional Medicine Research') {
$('.nav_ban h2').html('<img src="../img/h2_tit.png" style=""/>');
$('.nav_ban h2').html('<img src="../img/h2_tit.png" style="zoom:0.75"/>');
$('.sharethis_tmr').css('display', 'none');
$('.art_top_topic').css('padding-top', '0');
$('.line_sbil').css('display', 'block');

View File

@@ -107,6 +107,10 @@ function side_list() {
// tmr单独
$('.nav_ban h2').html('<img src="../img/h2_tit.png" style="margin-top: 26px;"/>');
const pathname = window.location.pathname.split("/").pop();
// 2. 判断是否为 for_author.html
$('.sharethis_tmr').css('display', 'none');
$('.art_top_topic').css('padding-top', '0');
$('.line_sbil').css('display', 'block');