This commit is contained in:
wangjinlei
2020-12-24 15:14:02 +08:00
parent c7ef740a13
commit 096cb1e571
4 changed files with 261 additions and 16 deletions

View File

@@ -70,10 +70,6 @@ class Article extends Controller {
$atto = $this->article_author_to_organ_obj->where('article_id', $article_info['article_id'])->where('state', 0)->select();
$author = $this->sys_author($authors, $organs, $atto);
//组合cite信息
$no = $stage_info['stage_no'] == 0 ? ':' : '(' . $stage_info['stage_no'] . '):';
$cite = $article_info['abbr'] . '. ' . $article_info['title'] . '. <i>' . $journal_info['jabbr'] . '</i>. ' . $stage_info['stage_year'] . ';' . $stage_info['stage_vol'] . $no . $article_info['npp'] . '. doi:' . $article_info['doi'];
//标题斜体
$caches = $this->article_ltai_obj->where('article_id',$article_info['article_id'])->where('state',0)->column('content');
$cache_title = $article_info['title'];
@@ -82,6 +78,10 @@ class Article extends Controller {
}
$article_info['title'] = $cache_title;
//组合cite信息
$no = $stage_info['stage_no'] == 0 ? ':' : '(' . $stage_info['stage_no'] . '):';
$cite = $article_info['abbr'] . '. ' . $article_info['title'] . '. <i>' . $journal_info['jabbr'] . '</i>. ' . $stage_info['stage_year'] . ';' . $stage_info['stage_vol'] . $no . $article_info['npp'] . '. doi:' . $article_info['doi'];
//修改keywords
$article_info['keywords'] = str_replace(',', '&nbsp;&nbsp;&nbsp;&nbsp;', $article_info['keywords']);