排版相关调整
This commit is contained in:
@@ -30,7 +30,7 @@ class LatexContent{
|
||||
\end{figure}' ;
|
||||
//首页内容
|
||||
private $sFirst = '\documentclass[
|
||||
articletype={{article_type}},
|
||||
articletype={{{{article_type}}}},
|
||||
journal={{journal_abbr}},
|
||||
journalname={{{{journal_title}}}},
|
||||
layout=largetwo,
|
||||
@@ -173,9 +173,6 @@ page={{stage_page}},%号
|
||||
|
||||
//文章类型
|
||||
$aSearch['{{article_type}}'] = empty($aProductionArticle['type']) ? 'ARTICLE' : strtoupper($aProductionArticle['type']);
|
||||
if($aSearch['{{article_type}}'] == 'MINIREVIEW'){
|
||||
$aSearch['{{article_type}}'] = 'MINI REVIEW';
|
||||
}
|
||||
//获取文章时间
|
||||
$aTime = $this->getArticleTime(['article_id' => $aProductionArticle['article_id']]);
|
||||
$aTime = empty($aTime['data']) ? [] : $aTime['data'];
|
||||
@@ -279,7 +276,7 @@ page={{stage_page}},%号
|
||||
//查询图片
|
||||
$aAmiId = array_unique(array_column($aArticleMain, 'ami_id'));
|
||||
$aWhere = ['ami_id' => ['in',$aAmiId],'state' => 0];
|
||||
$aArticleMainImage = Db::name('article_main_image')->field('ami_id,url,note')->where($aWhere)->select();
|
||||
$aArticleMainImage = Db::name('article_main_image')->field('ami_id,url,title,note')->where($aWhere)->select();
|
||||
$aArticleMainImage = empty($aArticleMainImage) ? [] : array_column($aArticleMainImage, null,'ami_id');
|
||||
//查询表格
|
||||
$aAmtId = array_unique(array_column($aArticleMain, 'amt_id'));
|
||||
|
||||
Reference in New Issue
Block a user