Merge remote-tracking branch 'origin/master'

This commit is contained in:
wangjinlei
2026-01-09 13:55:41 +08:00

View File

@@ -42,9 +42,6 @@ page={{stage_page}},%号
\doi{{{doi}}}
\journalweb{{{website}}}
% \def\ORCIdICONNAME{{{CLSFILEURL}}/orcid_icon.png} %定义ORCID图片
% \def\TMRLOGONAME{{{CLSFILEURL}}/tmr-logo.pdf} % 定义期刊LOGO图片
\usepackage{amsmath}
\usepackage[nopatch]{microtype}
\usepackage{booktabs}
@@ -115,7 +112,7 @@ page={{stage_page}},%号
}
//期刊简写
$sAbbr = empty($aJournal['abbr']) ? $this->sAbbr : $aJournal['abbr'];
$sAbbr = $this->sAbbr;//empty($aJournal['abbr']) ? $this->sAbbr : $aJournal['abbr'];
$sAbbr = strtolower($sAbbr);
$sJournalTitle = empty($aJournal['title']) ? '' : $aJournal['title'];
//年
@@ -125,13 +122,16 @@ page={{stage_page}},%号
//期
$iPeriod = empty($aJournalStage['stage_no']) ? 0 : $aJournalStage['stage_no'];
//页
$sPage = empty($aJournalStage['stage_page']) ? '' : $aJournalStage['stage_page'];
$sPage = empty($aProductionArticle['npp']) ? '' : $aProductionArticle['npp'];
//期刊web
$sWebsite = empty($aJournal['website']) ? $this->sWebsite : $aJournal['website'];
$aSearch = ['{{journal_abbr}}' => $sAbbr,'{{stage_year}}' => $iYear,'{{stage_vol}}' => $iVolume,'{{stage_no}}' => $iPeriod,'{{stage_page}}' => $sPage,'{{website}}' => $sWebsite,'{{journal_title}}' => $sJournalTitle];
//获取DOI
if(!empty($aProductionArticle['doi'])){
$aProductionArticle['doi'] = '10.53388/'.trim($aProductionArticle['doi'],'/');
}
$aSearch['{{doi}}'] = empty($aProductionArticle['doi']) ? '' : $aProductionArticle['doi'];
//获取作者信息
@@ -175,7 +175,10 @@ page={{stage_page}},%号
$aSearch['{{pub_date}}'] = empty($aProductionArticle['pub_date']) ? '' : $aProductionArticle['pub_date'];
//获取编辑信息
$aSearch['{{executive_editor}}'] = empty($aUser['realname']) ? '' : '\Executiveeditor{'.$this->dealContent($aUser['realname']).'}';
$executive_editor = empty($aProductionArticle['executive_editor']) ? '' : '\Executiveeditor{'.$this->dealContent($aProductionArticle['executive_editor']).'}';
$executive_editor_realname = empty($aUser['realname']) ? '' : '\Executiveeditor{'.$this->dealContent($aUser['realname']).'}';
$executive_editor = empty($executive_editor) ? $executive_editor_realname : $executive_editor;
$aSearch['{{executive_editor}}'] = $executive_editor;
//摘要替换
$sAbstract = empty($aProductionArticle['abstract']) ? '' : $this->dealContent($aProductionArticle['abstract']);