change icon

This commit is contained in:
sylor_huang@126.com 2020-07-03 18:09:47 +08:00
parent 0a2423e648
commit 36a438a54c
2 changed files with 8 additions and 7 deletions

View File

@ -14,7 +14,7 @@ class CoderRootCommit extends Component{
branch:"master", branch:"master",
data:undefined, data:undefined,
dataCount:undefined, dataCount:undefined,
limit:50, limit:20,
page:1, page:1,
isSpin:false isSpin:false
} }

View File

@ -363,14 +363,15 @@ class Detail extends Component {
</Tooltip> : "" </Tooltip> : ""
} }
{ {
projectDetail && checkLogin && projectDetail.type && projectDetail.type !== 0 ? projectDetail && projectDetail.type && projectDetail.type !== 0 ?
projectDetail.type === 2 ? projectDetail.type === 2 ?
<Tooltip title="该项目是一个镜像" className="ml5"> <Tooltip title={"镜像自: " + projectDetail.mirror_url} className="ml5" placement={'bottom'}>
<i className="iconfont icon-banbenku font-18" style={{ color: "#8D90E3" }}/> <i className="iconfont icon-banbenku font-18 mt6" style={{ color: "#8D90E3" }}/>
</Tooltip>: </Tooltip>:
<span className="ml5"> <Tooltip title={"镜像自: " + projectDetail.mirror_url} className="ml5" placement={'bottom'}>
<i className="iconfont icon-jingxiang font-18 color-green" /> <i className="iconfont icon-jingxiang font-18 color-green mt6" />
</span>:"" </Tooltip>
:""
} }
</span> </span>
</p> </p>