This commit is contained in:
2025-10-28 11:43:27 +08:00
parent 602f9c7d11
commit a571a5aed1
4 changed files with 152 additions and 136 deletions

View File

@@ -1,12 +1,24 @@
<!--<img src="img/banner_y.png" alt="" style="position: absolute;height: 107%;margin-left: -378.2px;">-->
<div class="nav">
<ul class="clear">
<a href="atr_wisdom.html?&wis_dom=0" target="_blank"><li class="rgb_color">Journals</li></a>
<a href="rev_ver.html" target="_blank"><li class="rgb_color">Scientist Community</li></a>
<a href="tmrde" target="_blank"><li class="rgb_color">Database</li></a>
<a target="_blank" href="https://submission.tmrjournals.com/" style="">
<li class="rgb_color"><i class="fa fa-upload" style="font-size: 16px;font-weight: bold;color:#FFF"></i>
Submission System</li>
</a>
<a href="atr_wisdom.html?&wis_dom=0" target="_blank">
<li class="rgb_color">Journals</li>
</a>
<a href="rev_ver.html" target="_blank">
<li class="rgb_color">Scientist Community</li>
</a>
<a href="tmrde" target="_blank">
<li class="rgb_color">Database</li>
</a>
<!-- <a href="z_f2-1.html" target="_blank"><li class="rgb_color">TmRxiv</li></a>-->
<!-- <a href=""><li class="rgb_color">Database</li></a>-->
<a href="booker_list.html?bo_id=0" target="_blank"><li class="rgb_color">Books</li></a>
<a href="booker_list.html?bo_id=0" target="_blank">
<li class="rgb_color">Books</li>
</a>
<!-- <a href="booker_list.html?bo_id=0" target="_blank"><li class="rgb_color">Meeting</li></a>-->
<!-- <a href=""><li class="rgb_color">Conferences</li></a>-->
<!-- <a href="http://www.tmrfast.com/" target="_blank"><li class="rgb_color">Education</li></a>-->
@@ -21,13 +33,13 @@
</a>
</div>
<div class="top_sea">
<!-- <a href="">-->
<!-- <b style="color: #848484;font-weight: 500">Subscribe</b>-->
<!-- </a>-->
<!-- <a href="" class="rgb_color">-->
<!-- <img src="./img/search.png" alt="" style="width: 16px;vertical-align: text-top">-->
<!-- <b class="rgb_color" style="font-weight: 500">Search</b>-->
<!-- </a>-->
<!-- <a href="">-->
<!-- <b style="color: #848484;font-weight: 500">Subscribe</b>-->
<!-- </a>-->
<!-- <a href="" class="rgb_color">-->
<!-- <img src="./img/search.png" alt="" style="width: 16px;vertical-align: text-top">-->
<!-- <b class="rgb_color" style="font-weight: 500">Search</b>-->
<!-- </a>-->
</div>
<br clear="both">
<!-- <div class="top_switch">
@@ -45,7 +57,7 @@
<div class="suggest">
<h1 class="animated bounceIn">Trend of Medical Research</h1>
<!-- <h2>TMR (Talent of Medical Research) Publishing Group is a scholarly publishing group dedicated to providing platforms for the dissemination and communication of practices and research in the field of medicine and health. </h2>-->
<!-- <h2>TMR (Talent of Medical Research) Publishing Group is a scholarly publishing group dedicated to providing platforms for the dissemination and communication of practices and research in the field of medicine and health. </h2>-->
</div>
<!--<div class="scoutfor">-->
<!-- <input type="text" placeholder="Search for Articles" value="" class="sfh_inp">-->

View File

@@ -384,8 +384,8 @@ padding-right:0px;
}
.v4-art-top #st-2 .st-btn > img{
width:19px !important;
height: 19px !important;
width:16px !important;
height: 16px !important;
}
.v4-art-top #st-2 .st-btn{

View File

@@ -23,6 +23,11 @@ style.innerHTML = `
font-weight: bold;
}
.v4-art-top #st-2 .st-btn > img{
width:16px !important;
height: 16px !important;
}
.pos_ter>a {
width: 23%;

View File

@@ -1,6 +1,6 @@
function commonHomePage(){
function commonHomePage() {
const style = document.createElement('style');
style.innerHTML = `
style.innerHTML = `
// .sy_fr,.sy_tcrd,ncon_SCom{
// background-color: #fff !important;
// }
@@ -163,90 +163,89 @@ style.innerHTML = `
`
document.head.appendChild(style);
var SubmissionStr = ` <a target="_blank" href="https://submission.tmrjournals.com/" style="">
<li class="rgb_color"><i class="fa fa-upload" style="font-size: 16px;font-weight: bold;color:#FFF"></i>
Submission System</li>
document.head.appendChild(style);
// var SubmissionStr = ` <a target="_blank" href="https://submission.tmrjournals.com/" style="">
// <li class="rgb_color"><i class="fa fa-upload" style="font-size: 16px;font-weight: bold;color:#FFF"></i>
// Submission System</li>
// </a>`
// $('#index_top .nav .clear').prepend(SubmissionStr);
$.ajax({
type: 'get', url: apiUrl + 'api/Journal/getJournalList',
data: {},
success: function (result) {
if (result.code == 0) {
</a>`
$('#index_top .nav .clear').prepend(SubmissionStr);
$.ajax({
type: 'get', url: apiUrl + 'api/Journal/getJournalList',
data: {},
success: function (result) {
if (result.code == 0) {
var arr = result.data.journalList;
var str = "";
for(let i=0;i<arr.length;i++){
var apcStr = ``;
if ([1, 25, 11,17].includes(Number(arr[i].journal_id))) {
apcStr = arr[i].apc
} else {
apcStr = arr[i].apc + `<span style="color:#006699;font-weight: bold;margin-left:6px">( 20252026 )</span>`;
}
// 获取当前期刊独有的journalAbs数据假设通过journal_id关联
var arr_Abc =arr[i].journalAbs? arr[i].journalAbs.filter(e => e.is_show == 1) : [];
var CiteScore = ''
var ImpactFactor = ''
var Published = ''
switch (Number(arr[i].journal_id)) {
//tmr
case 1:
ImpactFactor = '1.3'
Published = '2016'
CiteScore = '2.1'
break;
//bmec
case 25:
Published = '2022'
CiteScore = '1.5'
break;
//mdm
case 11:
CiteScore = '0.3'
break;
case 2:
Published = '2018'
break;
case 8:
Published = '2019'
break;
case 4:
Published = '2020'
break;
case 17:
Published = '2017'
break;
case 14:
CiteScore = 'Coming soon'
Published = '2018'
break;
case 11:
Published = '2018'
break;
case 18:
Published = '2017'
break;
}
// <p class="jour_base_info_issn" style="margin-top: 4px;font-size: 13px;">
// <b>ISSN:</b>
// ${arr[i].issn}</p>
//
if (arr[i].title != 'tmRxiv') {
str +=`
var arr = result.data.journalList;
var str = "";
for (let i = 0; i < arr.length; i++) {
var apcStr = ``;
if ([1, 25, 11, 17].includes(Number(arr[i].journal_id))) {
apcStr = arr[i].apc
} else {
apcStr = arr[i].apc + `<span style="color:#006699;font-weight: bold;margin-left:6px">( 20252026 )</span>`;
}
// 获取当前期刊独有的journalAbs数据假设通过journal_id关联
var arr_Abc = arr[i].journalAbs ? arr[i].journalAbs.filter(e => e.is_show == 1) : [];
var CiteScore = ''
var ImpactFactor = ''
var Published = ''
switch (Number(arr[i].journal_id)) {
//tmr
case 1:
ImpactFactor = '1.3'
Published = '2016'
CiteScore = '2.1'
break;
//bmec
case 25:
Published = '2022'
CiteScore = '1.5'
break;
//mdm
case 11:
CiteScore = '0.3'
break;
case 2:
Published = '2018'
break;
case 8:
Published = '2019'
break;
case 4:
Published = '2020'
break;
case 17:
Published = '2017'
break;
case 14:
CiteScore = 'Coming soon'
Published = '2018'
break;
case 11:
Published = '2018'
break;
case 18:
Published = '2017'
break;
}
// <p class="jour_base_info_issn" style="margin-top: 4px;font-size: 13px;">
// <b>ISSN:</b>
// ${arr[i].issn}</p>
//
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}"
@@ -270,62 +269,62 @@ $.ajax({
<p style="${CiteScore ? '' : 'display:none'};margin-top: 4px;font-size: 13px;"><b>CiteScore: </b> <span style="color: #006699">${CiteScore}</span></p>
<p style="${ImpactFactor ? '' : 'display:none'};margin-top: 4px;font-size: 13px;"><b>Impact Factor: </b> <span style="color: #006699">${ImpactFactor}</span></p>
<p style="${apcStr ? '' : 'display:none'};margin-top: 4px;font-size: 13px;"><b>APC: </b> <span class="mes_APC">${apcStr}</span></p>
<p style="${arr_Abc&&arr_Abc.length>0 ? '' : ''}margin-top: 4px;font-size: 13px;"><b class="wl_click" style="cursor: pointer;">Indexing</b> </p>
<p style="${arr_Abc && arr_Abc.length > 0 ? '' : ''}margin-top: 4px;font-size: 13px;"><b class="wl_click" style="cursor: pointer;">Indexing</b> </p>
</div>
</div>
</div>
`
}
}
}
$('.es_jour').html(`
$('.es_jour').html(`
<div style="width: 100%;display: flex;justify-content: space-between;align-items: flex-start;flex-wrap: wrap;"> ${str}
</div>
`);
// 绑定点击事件
$(document).on('click', '.wl_click', function (e) {
e.preventDefault();
// 获取当前点击元素所在的期刊容器
const $journalItem = $(this).closest('.jour_base_info_center');
// 从数据属性中获取参数
const journalColor = $journalItem.data('journal-color');
// 将JSON字符串解析回数组
const journalAbc = $journalItem.data('journal-abs');
// 使用当前期刊独有的journalAbs数据
var Abstractingcontent = `<ul style="margin-top:10px;">
// 绑定点击事件
$(document).on('click', '.wl_click', function (e) {
e.preventDefault();
// 获取当前点击元素所在的期刊容器
const $journalItem = $(this).closest('.jour_base_info_center');
// 从数据属性中获取参数
const journalColor = $journalItem.data('journal-color');
// 将JSON字符串解析回数组
const journalAbc = $journalItem.data('journal-abs');
// 使用当前期刊独有的journalAbs数据
var Abstractingcontent = `<ul style="margin-top:10px;">
${journalAbc.map((item, i) => {
return `<li style="font-weight:700;font-size:14px;">
return `<li style="font-weight:700;font-size:14px;">
<span style="display:inline-block">»&nbsp;</span>
<a target="_blank" href="${item.url}" style="font-weight:700;display:inline-block">${item.title}</a>
</li>`;
}).join('')}
}).join('')}
</ul>`;
document.querySelector('#common-popup .common-popup-content').classList.add('whitebg');
showPopup(`<span style="font-weight:bold;color:${journalColor}">Indexing</span>`, Abstractingcontent);
});
$(document).on('click', '.jour_base_info_title', function (e) {
e.preventDefault();
// 获取当前点击元素所在的期刊容器
const $journalItem = $(this).closest('.jour_base_info_center');
// 从数据属性中获取参数
const journalUsx = $journalItem.data('journal-usx');
window.open(`/${journalUsx}`);
});
} else {
ShowDanger("请求失败!");
document.querySelector('#common-popup .common-popup-content').classList.add('whitebg');
showPopup(`<span style="font-weight:bold;color:${journalColor}">Indexing</span>`, Abstractingcontent);
});
$(document).on('click', '.jour_base_info_title', function (e) {
e.preventDefault();
// 获取当前点击元素所在的期刊容器
const $journalItem = $(this).closest('.jour_base_info_center');
// 从数据属性中获取参数
const journalUsx = $journalItem.data('journal-usx');
window.open(`/${journalUsx}`);
});
} else {
ShowDanger("请求失败!");
}
}
}
})
})
}
function showPopup(title, content) {