关闭感染ia期刊
This commit is contained in:
@@ -53,7 +53,7 @@ function commonHomePage() {
|
||||
width: 24%;
|
||||
}
|
||||
.jour_base_info_center:nth-child(5){
|
||||
width: 27%;
|
||||
// width: 27%;
|
||||
}
|
||||
.jour_base_info_center:nth-child(7){
|
||||
width: 25%;
|
||||
@@ -234,42 +234,64 @@ function commonHomePage() {
|
||||
|
||||
|
||||
}
|
||||
if (arr[i].title != 'tmRxiv') {
|
||||
str += `
|
||||
<div class="jour_base_info_center" data-journal-usx="${arr[i].usx}" data-journal-id="${arr[i].journal_id}"
|
||||
data-journal-color="${arr[i].system_color}"
|
||||
data-journal-abs='${JSON.stringify(arr_Abc)}'>
|
||||
<div class="jour_base_info_center_left">
|
||||
<a href="/${arr[i].usx}" class="qk_img" target="_blank">
|
||||
<img src="${imgjourUrl + arr[i].icon}" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="jour_base_info_center_right" >
|
||||
<div class="jour_base_info_center_right_con">
|
||||
<p class="jour_base_info_title" style="cursor: pointer;letter-spacing: -0.5px;">${arr[i].title}</p>
|
||||
<p style="margin-top: 4px;font-size: 11px;">
|
||||
// 注意:以下代码需放在 for 循环内部
|
||||
if (arr[i].title != 'tmRxiv') {
|
||||
|
||||
// --- 修改点 1: 在第一项(i=0)开始前,先拼接父容器的开头 ---
|
||||
if (i === 0) {
|
||||
str += `<div style="width: 100%; display: flex; align-items: center; margin-left: 96px;">`;
|
||||
}
|
||||
|
||||
// --- 修改点 2: 针对前三个元素设置不同的 inline-style ---
|
||||
let specificStyle = "";
|
||||
if (i === 0) {
|
||||
specificStyle = "width: 30%;";
|
||||
} else if (i === 1) {
|
||||
specificStyle = "width: 34%; margin-left: 16px;";
|
||||
} else if (i === 2) {
|
||||
specificStyle = "width: 26%; margin-left: 24px;";
|
||||
}
|
||||
|
||||
str += `
|
||||
<div class="jour_base_info_center"
|
||||
style="${specificStyle}"
|
||||
data-journal-usx="${arr[i].usx}"
|
||||
data-journal-id="${arr[i].journal_id}"
|
||||
data-journal-color="${arr[i].system_color}"
|
||||
data-journal-abs='${JSON.stringify(arr_Abc)}'>
|
||||
<div class="jour_base_info_center_left">
|
||||
<a href="/${arr[i].usx}" class="qk_img" target="_blank">
|
||||
<img src="${imgjourUrl + arr[i].icon}" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="jour_base_info_center_right" >
|
||||
<div class="jour_base_info_center_right_con">
|
||||
<p class="jour_base_info_title" style="cursor: pointer;letter-spacing: -0.5px;">${arr[i].title}</p>
|
||||
<p style="margin-top: 4px;font-size: 11px;">
|
||||
<b>Editor-in-Chief: </b>
|
||||
<span class="mes_edit"
|
||||
style="display: inline-block;vertical-align: top;">${arr[i].editorinchief}</span>
|
||||
<span class="mes_edit" style="display: inline-block;vertical-align: top;">${arr[i].editorinchief}</span>
|
||||
</p>
|
||||
<p style="margin-top: 4px;font-size: 11px;">
|
||||
<b>Acceptance: </b>${arr[i].acceptance}</p>
|
||||
<p style="margin-top: 4px;font-size: 11px;"> <b>Final Decision: </b>${arr[i].finaldecision}</p>
|
||||
<p style="margin-top: 4px;font-size: 11px;"><b>Acceptance: </b>${arr[i].acceptance}</p>
|
||||
<p style="margin-top: 4px;font-size: 11px;"> <b>Final Decision: </b>${arr[i].finaldecision}</p>
|
||||
<p style="${CiteScore ? '' : 'display:none'};margin-top: 4px;font-size: 11px;"><b>CiteScore: </b> <span style="color: #006699">${CiteScore}</span></p>
|
||||
<p style="${ImpactFactor ? '' : 'display:none'};margin-top: 4px;font-size: 11px;"><b>Impact Factor: </b> <span style="color: #006699">${ImpactFactor}</span></p>
|
||||
<p style="${apcStr ? '' : 'display:none'};margin-top: 4px;font-size: 11px;"><b>APC: </b> <span class="mes_APC">
|
||||
${arr[i].journal_id == 25 || arr[i].journal_id == 11 ?
|
||||
<p style="${apcStr ? '' : 'display:none'};margin-top: 4px;font-size: 11px;"><b>APC: </b>
|
||||
<span class="mes_APC">
|
||||
${arr[i].journal_id == 25 || arr[i].journal_id == 11 ?
|
||||
`<a href="${apcUrl}" target="_blank" class="apc-link" ><span>${apcStr}</span></a>` : apcStr
|
||||
}
|
||||
</span></p>
|
||||
</span>
|
||||
</p>
|
||||
<p style="${arr_Abc && arr_Abc.length > 0 ? '' : ''}margin-top: 4px;font-size: 11px;"><b class="wl_click" style="cursor: pointer;">Indexing</b> </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
`
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>`;
|
||||
|
||||
// --- 修改点 3: 在第三项(i=2)渲染完成后,闭合父容器 ---
|
||||
if (i === 2) {
|
||||
str += `</div>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
$('.es_jour').html(`
|
||||
<div style="width: 100%;display: flex;justify-content: space-between;align-items: flex-start;flex-wrap: wrap;"> ${str}
|
||||
|
||||
@@ -335,7 +335,7 @@ var ArchivingStr=`<a target="_blank" href="stages.html?J_num=${Jour_num}" style
|
||||
|
||||
if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) {
|
||||
$('.current_list>h4').html('Current Volume<span>' + time_ + '</span>'+ArchivingStr);
|
||||
} else if (Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21 || Jour_num == 22|| Jour_num == 19 ||Jour_num == 12||Jour_num == 17) { // 合并期刊
|
||||
} else if (Jour_num == 4 ||Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21 || Jour_num == 22|| Jour_num == 19 ||Jour_num == 12||Jour_num == 17) { // 合并期刊
|
||||
$('.current_list>h4').html('Latest Issue<span>' + time_ + '</span>');
|
||||
} else {
|
||||
$('.current_list>h4').html('Current Issue<span>' + time_ + '</span>'+ArchivingStr);
|
||||
@@ -1058,7 +1058,7 @@ if(Jour_num != 13){
|
||||
var str = "";
|
||||
for (var i = 0; i < result.data.journalStage.length; i++) {
|
||||
// 暂时条件中添加一个3 15 10
|
||||
if (Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21 || Jour_num == 22 || Jour_num == 3 || Jour_num == 15 || Jour_num == 10|| Jour_num == 16|| Jour_num == 24|| Jour_num == 19||Jour_num == 12||Jour_num == 17) {
|
||||
if (Jour_num == 4 ||Jour_num == 7 || Jour_num == 6 || Jour_num == 20 || Jour_num == 9 || Jour_num == 21 || Jour_num == 22 || Jour_num == 3 || Jour_num == 15 || Jour_num == 10|| Jour_num == 16|| Jour_num == 24|| Jour_num == 19||Jour_num == 12||Jour_num == 17) {
|
||||
// 合并(替换)期刊
|
||||
if (i == 0) { str += '<b>' + arr_stage[i].stage_year + '</b><br>' }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user