This commit is contained in:
2025-10-20 15:05:50 +08:00
parent 23366f0b1b
commit d70b7a5e6d
4 changed files with 65 additions and 35 deletions

View File

@@ -256,21 +256,21 @@ margin-top:15px;
} }
if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' + var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
'target = "_blank" style="color:#006699;margin-left: 10px;font-weight: 600;"> ' + 'target = "_blank" style="color:#7a2702;margin-left:8px;"> ' +
'Google Scholar</a>' //搜索引用次数 'Google Scholar</a>' //搜索引用次数
} else { } else {
var tong_geogle = '' //少于21天隐藏 var tong_geogle = '' //少于21天隐藏
} }
if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
var tong_geogle_2_1 = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' + var tong_geogle_2_1 = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
'target = "_blank" style="color: ' + localStorage.Journals_color + ';margin:5px 31px 0 0;font-weight: 600;display: inline-block;"> ' + 'target = "_blank" style="color:#7a2702;margin:5px 31px 0 0;display: inline-block;"> ' +
'Google Scholar</a>' //搜索引用次数 'Google Scholar</a>' //搜索引用次数
} else { } else {
var tong_geogle_2_1 = '' //少于21天隐藏 var tong_geogle_2_1 = '' //少于21天隐藏
} }
if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
var tong_geogle_2_2 = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' + var tong_geogle_2_2 = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
'target = "_blank" style="color: #7a2702;margin:5px 37px 0 0;font-weight: 600;display: inline-block;"> ' + 'target = "_blank" style="color: #7a2702;margin:5px 37px 0 0;display: inline-block;"> ' +
'Google Scholar</a>' //搜索引用次数 'Google Scholar</a>' //搜索引用次数
} else { } else {
var tong_geogle_2_2 = '' //少于21天隐藏 var tong_geogle_2_2 = '' //少于21天隐藏
@@ -316,7 +316,7 @@ margin-top:15px;
var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' + var link_ = '<img src="img/link_1.png" width="14" height="16"><a class="txt_zhaiyao" alt="' + arr[i].article_id + '">Abstract</a>&nbsp;(&nbsp;<span style="color: red">' + arr[i].abs_num + '</span>&nbsp;)&nbsp;&nbsp;&nbsp;' +
html_ + pdf_ + mp4_ + c_t_a + cite_ + tong_geogle html_ + pdf_ + mp4_ + c_t_a + cite_ + tong_geogle
+ '<p class="txt_content">' + arr[i].cite + '</p><div>' + arr[i].abstract + '</div>'; + '<p class="txt_content">' + arr[i].cite + '</p><div style="font-family: Calibri;font-size: 16px;">' + arr[i].abstract + '</div>';
var lr_top = '' var lr_top = ''
if (arr[i].topic && arr[i].topic.length > 0) { if (arr[i].topic && arr[i].topic.length > 0) {
for (var t = 0; t < arr[i].topic.length; t++) { for (var t = 0; t < arr[i].topic.length; t++) {
@@ -437,6 +437,11 @@ margin-top:15px;
// 点击Abstract显示隐藏 // 点击Abstract显示隐藏
$('.current_list .txt_zhaiyao').click(function () { $('.current_list .txt_zhaiyao').click(function () {
$(this).nextAll('div').toggle(); $(this).nextAll('div').toggle();
const $parentGroup = $(this).closest('.article_info_box');
// 2. 在当前父级内查找tradition-box并切换显示状态
$parentGroup.find('.tradition-box').toggle();
if ($(this).nextAll('div').css("display") == 'block') { if ($(this).nextAll('div').css("display") == 'block') {
var num = $(this).next().html(); var num = $(this).next().html();
$.ajax({ $.ajax({
@@ -723,8 +728,8 @@ margin-top:15px;
var forLength = 5 var forLength = 5
} }
if (wh_number == '1') { if (wh_number == '1') {
if(arr_topic[i].children){
for (var j = 0; j < arr_topic[i].children.length; j++) { for (var j = 0; j < arr_topic[i].children.length; j++) {
if (j == forLength) break; if (j == forLength) break;
var url_href = ''; var url_href = '';
@@ -737,8 +742,11 @@ margin-top:15px;
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' + '<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' +
'<h3>' + arr_topic[i].children[j].title + '</h3></a></li>' '<h3>' + arr_topic[i].children[j].title + '</h3></a></li>'
} }
}
} else { } else {
for (var j = 0; j < arr_topic[i].children.length; j++) { if(arr_topic[i].children){
for (var j = 0; j < arr_topic[i].children.length; j++) {
if (Jour_num == 1) { if (Jour_num == 1) {
if (j == forLength) break; if (j == forLength) break;
} else { } else {
@@ -755,6 +763,8 @@ margin-top:15px;
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' + '<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' +
'<h3>' + arr_topic[i].children[j].title + '</h3></a></li>' '<h3>' + arr_topic[i].children[j].title + '</h3></a></li>'
} }
}
} }
if (Jour_num == 1) { if (Jour_num == 1) {
if (arr_topic[i].title == "Diseases") { if (arr_topic[i].title == "Diseases") {
@@ -763,9 +773,10 @@ margin-top:15px;
'<ul>' + st_top_con + '</ul></div>' + '<ul>' + st_top_con + '</ul></div>' +
'<p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>' '<p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>'
} else { } else {
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>' + // <p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>
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>' +
'<ul>' + st_top_con + '</ul></div>' + '<ul>' + st_top_con + '</ul></div>' +
'<p style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>' '<p data-index="1" style="height: 1px;width: 97%;background-color: #ebf2f6;margin: 5px auto 0 auto;"></p>'
} }
} else { } 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 = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' +
@@ -784,8 +795,8 @@ margin-top:15px;
// MDM 十个话题 // LF 十个话题 // BEC 十个话题 // cancer 十个话题 // MDM 十个话题 // LF 十个话题 // BEC 十个话题 // cancer 十个话题
if ([2, 25, 11, 14].includes(Number(Jour_num))) { if ([2, 25, 11, 14].includes(Number(Jour_num))) {
if(arr_topic[i].children){
for (var j = 0; j < arr_topic[i].children.length; j++) { for (var j = 0; j < arr_topic[i].children.length; j++) {
if (MDM_mark == 10) break; if (MDM_mark == 10) break;
MDM_mark = MDM_mark + 1 MDM_mark = MDM_mark + 1
var url_href = ''; var url_href = '';
@@ -798,12 +809,15 @@ margin-top:15px;
'<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' + '<img src="' + imgtopicUrl + arr_topic[i].children[j].icon + '" alt="">' +
'<h3>' + arr_topic[i].children[j].title + '</h3></a></li>' '<h3>' + arr_topic[i].children[j].title + '</h3></a></li>'
} }
}
$('.art_top_topic>div>div.topics').html('<ul>' + MDM_str + '</ul>'); $('.art_top_topic>div>div.topics').html('<ul>' + MDM_str + '</ul>');
} }
} else if (arr_topic[i].position == "left" && arr_topic[i].title == "Diseases" && Jour_num == 1) { } else if (arr_topic[i].position == "left" && arr_topic[i].title == "Diseases" && Jour_num == 1) {
if (panduan != '1') { if (panduan != '1') {
panduan = '1'; panduan = '1';
for (var j = 0; j < arr_topic[i].children.length; j++) { if(arr_topic[i].children){
for (var j = 0; j < arr_topic[i].children.length; j++) {
if (j == 5) break; if (j == 5) break;
var url_href = ''; var url_href = '';
if (arr_topic[i].children[j].is_final == '1') { if (arr_topic[i].children[j].is_final == '1') {
@@ -816,6 +830,8 @@ margin-top:15px;
'<h3 style="text-align: center"><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' + arr_topic[i].children[j].title + '</a></h3></li>' '<h3 style="text-align: center"><a target="_blank" href="' + url_href + arr_topic[i].children[j].journal_topic_id + '">' + arr_topic[i].children[j].title + '</a></h3></li>'
} }
}
st_left_tit = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' + st_left_tit = '<div class="topics" style="padding: 0 0 5px 0;"><h4 class="rgb_color" style="font-size: 16px">' + arr_topic[i].title + '</h4>' +
'<a target="_blank" href="topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id + '" class="more" target="_blank">More</a><ul>' + st_left_con + '</ul></div>' '<a target="_blank" href="topic.html?J_num=' + Jour_num + '&t_id=' + arr_topic[i].journal_topic_id + '" class="more" target="_blank">More</a><ul>' + st_left_con + '</ul></div>'
@@ -1495,7 +1511,7 @@ margin-top:15px;
} }
}) })
$('.uity_Sub').after(`<div style="display: flex; $('.uity_Sub').after(`<div style="display: flex;
align-items: center; align-items: center;
justify-content: center;"> justify-content: center;">
<div style="display: inline-block;" class="share_tmrtb"> <div style="display: inline-block;" class="share_tmrtb">
@@ -1519,12 +1535,12 @@ onclick="window.open('https://www.linkedin.com/showcase/traditional-medicine-res
</div> </div>
`) `)
setTimeout(() => { setTimeout(() => {
if (window.__sharethis__) { if (window.__sharethis__) {
__sharethis__.initialize(); __sharethis__.initialize();
} }
}, 50) }, 50)
// 期刊订阅提交 // 期刊订阅提交
$(".uity_Sub").click(function () { $(".uity_Sub").click(function () {
$(".spa_su").text(''); $(".spa_su").text('');
@@ -1814,6 +1830,10 @@ function initJournalBaseInfo(result) {
CiteScore = '0.3' CiteScore = '0.3'
break; break;
case 14:
CiteScore = 'Coming soon'
break;
case 2: case 2:
case 17: case 17:
case 18: case 18:
@@ -1841,8 +1861,8 @@ function initJournalBaseInfo(result) {
margin-top: 2px; margin-top: 2px;
"> ">
<span class="cite-text" style="font-size: 12px;line-height: 16px;font-weight: 600;color: #f0f0f0;letter-spacing: -0.75px;"> <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> <text style="margin-top: 7px;line-height: 19px;display: inline-block;">CiteScore</text>
<strong style="font-size: 18px;color: #fff;">${CiteScore}</strong> <strong style="font-size:${Jour_num == 14 ? 8 : 18}px;color: #fff;">${CiteScore}</strong>
</span> </span>
</div>` </div>`
$('#top_bar .rgb_color_background h1').css({ 'position': 'relative' }) $('#top_bar .rgb_color_background h1').css({ 'position': 'relative' })
@@ -1883,13 +1903,13 @@ function initJournalBaseInfo(result) {
var apcStr = ``; var apcStr = ``;
if ([1, 25, 11].includes(Number(Jour_num))) { if ([1, 25, 11].includes(Number(Jour_num))) {
if (arr_jour.apc =='$600'){ if (arr_jour.apc == '$600') {
apcStr = `<span style="color: ${arr_jour.system_color};"> ${arr_jour.apc}</span>` apcStr = `<span style="color: ${arr_jour.system_color};"> ${arr_jour.apc}</span>`
} else{ } else {
apcStr = arr_jour.apc apcStr = arr_jour.apc
} }
} else { } else {
apcStr = arr_jour.apc + `<span style="color: ${arr_jour.system_color};font-weight: bold;margin-left:6px;">( 20252026 )</span>`; apcStr = arr_jour.apc + `<span style="color: ${arr_jour.system_color};font-weight: bold;margin-left:6px;">( 20252026 )</span>`;
} }
@@ -1928,7 +1948,7 @@ function initJournalBaseInfo(result) {
ISSNColor = '#fff' ISSNColor = '#fff'
} }
// <p style="${ISSNDirection}:6px;text-align:${ISSNDirection};color:${ISSNColor};bottom:${ISSNBottom};font-size:12px" class="mes_issn_box"><b>ISSN:</b> <span class="mes_issn">${arr_jour.issn}</span></p><p> // <p style="${ISSNDirection}:6px;text-align:${ISSNDirection};color:${ISSNColor};bottom:${ISSNBottom};font-size:12px" class="mes_issn_box"><b>ISSN:</b> <span class="mes_issn">${arr_jour.issn}</span></p><p>
var leftStr = ` var leftStr = `
<a href="/${arr_jour.usx}" class="qk_img"> <a href="/${arr_jour.usx}" class="qk_img">
@@ -1939,11 +1959,11 @@ 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);
// <p style="${ImpactFactor ? '' : 'display:none'}"><b>Impact Factor (Clarivate):</b> <span style="color: ${arr_jour.system_color}">${ImpactFactor}</span></p> // <p style="${ImpactFactor ? '' : 'display:none'}"><b>Impact Factor (Clarivate):</b> <span style="color: ${arr_jour.system_color}">${ImpactFactor}</span></p>
// <p style="${CiteScore ? '' : 'display:none'}"><b>CiteScore (Scopus):</b> <span style="color: ${arr_jour.system_color}">${CiteScore}</span></p> // <p style="${CiteScore ? '' : 'display:none'}"><b>CiteScore (Scopus):</b> <span style="color: ${arr_jour.system_color}">${CiteScore}</span></p>
//头部左侧期刊其他信息 //头部左侧期刊其他信息
var otherStr1 = ` var otherStr1 = `
<li class="mes_all_section_other" style=""> <li class="mes_all_section_other" style="">
<div style="${[1,2,8,4,11,18].includes(Number(Jour_num))?'padding-top:10px':''}" class=""> <div style="${[1, 2, 8, 4, 11, 18].includes(Number(Jour_num)) ? 'padding-top:10px' : ''}" class="">
<p> <p>
<b style="font-size:16px;">Editor-in-Chief</b> <b style="font-size:16px;">Editor-in-Chief</b>
<p class="mes_edit" <p class="mes_edit"
@@ -2046,8 +2066,8 @@ function initJournalBaseInfo(result) {
// </ul> // </ul>
// </li> // </li>
// ` // `
$('.jour_base_info .jour_base_info_center .mes_all .mes_all_section').html(otherStr1 + otherStr2 + otherStr3 ); $('.jour_base_info .jour_base_info_center .mes_all .mes_all_section').html(otherStr1 + otherStr2 + otherStr3);

View File

@@ -114,7 +114,7 @@ function initArticleO() {
if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) { if ((Math.round(Date.parse(new Date()) / 1000) - arr[i].ctime) / 86400 >= 21) {
var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' + var tong_geogle = '<a href = "https://scholar.google.com/scholar?&q=' + arr[i].title.replace('<i>', '').replace('</i>', '').replace(new RegExp('"', "g"), '') + '"' +
'target = "_blank" style="color:#006699;margin-left: 10px;font-weight: 600;"> ' + 'target = "_blank" style="color:#7a2702;margin-left:8px;"> ' +
'Google Scholar</a>' //搜索引用次数 'Google Scholar</a>' //搜索引用次数
} else { } else {
var tong_geogle = '' //少于21天隐藏 var tong_geogle = '' //少于21天隐藏

View File

@@ -434,8 +434,8 @@ padding-right:0px;
.wenzhang .wen_jian h4 i{ .wenzhang .wen_jian h4 i{
font-weight: 500; font-weight: 500;
font-weight: bold;
} }
.wen_jian_span{ .wen_jian_span{

View File

@@ -13,6 +13,16 @@ style.innerHTML = `
} }
.pos_ter>div:nth-child(1) { .pos_ter>div:nth-child(1) {
width: 25%; width: 25%;
}
.htmlImageNote blue{
color :#0082AA !important;
}
.wenzhang .wen_jian h4 i{
font-weight: 500;
font-weight: bold;
} }
.pos_ter>a { .pos_ter>a {
width: 23%; width: 23%;