forked from Gitlink/forgeplus-react
Merge branch 'pre_gitlink_ssr' of https://gitlink.org.cn/Gitlink/forgeplus-react into pre_gitlink_ssr
This commit is contained in:
commit
7de055cb5d
|
|
@ -152,12 +152,13 @@ function SpecialProjects({data, subTitle}) {
|
|||
{ awards && <p className='font-15 pb5'>奖项:<span className='color-blue'>{awards}</span></p> }
|
||||
{ introductionImageIdentifier &&<p className='font-15 pb5 intro imageLayerParent'>简介:<img className="intro-img pointer" src={ getImage(introductionImageIdentifier) } alt="" /></p>}
|
||||
</div>
|
||||
<div style={{padding: '22px 33px'}}>
|
||||
{list("论文", "论文标题", "作者", "单位", PAPER)}
|
||||
{list("专利", "专利标题", "作者", "单位", PATENT)}
|
||||
{list2("开源项目", "项目名称", "参与者", PROJECT)}
|
||||
{!PAPER.length && !PATENT.length && !PROJECT.length && <Nodata _html="暂无数据" small/>}
|
||||
</div>
|
||||
{
|
||||
PAPER.length + PATENT.length + PROJECT.length > 0 && <div style={{padding: '22px 33px'}}>
|
||||
{list("论文", "论文标题", "作者", "单位", PAPER)}
|
||||
{list("专利", "专利标题", "作者", "单位", PATENT)}
|
||||
{list2("开源项目", "项目名称", "参与者", PROJECT)}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ function SourceDetail(props){
|
|||
{detail.auditStatus === '0' && <Badge color={temp === "zone" ? "#466aff" : "#089f7f"} text="待审核" className='pass'/> }
|
||||
{detail.auditStatus === '2' && <Badge color="#eb1212" text="未通过" className='failed'/> }
|
||||
</div>
|
||||
<div className='pb20'>{detail.summary}</div>
|
||||
<div className='pb20' dangerouslySetInnerHTML={{ __html: detail.summary }} ></div>
|
||||
{
|
||||
detail.fileList && detail.fileList.length > 0 &&
|
||||
<ul className="files_box">
|
||||
|
|
|
|||
|
|
@ -699,7 +699,7 @@ function CoderDepot(props){
|
|||
/>
|
||||
</React.Fragment>
|
||||
}
|
||||
{__CLIENT__ && projectDetail && !projectDetail.private && <ProjectCompass owner={owner} projectsId={projectsId} />}
|
||||
{__CLIENT__ && projectDetail && projectDetail.project_id && !projectDetail.private && <ProjectCompass owner={owner} projectsId={projectsId} />}
|
||||
{/* 贡献者 */}
|
||||
{mirror_status ===0 && <Contributors owner={owner} projectsId={projectsId} /> }
|
||||
{/* 项目画像: 导入/fork项目不展示, open_portrait后台配置是否开启仓库 */}
|
||||
|
|
|
|||
Loading…
Reference in New Issue