dev_new_shixunsrepository
杨树明 5 years ago
parent 96d2bdf953
commit 4746746c1a

@ -194,41 +194,14 @@ class Repository extends Component {
</div>
</div>
}
<a href="/forums/2784" target="_blank"
className=" guideBtn" >Git使用指南</a>
{ trees === undefined || trees === null ||trees.length===0?"":<a href="/forums/2784" target="_blank"
className=" guideBtn" >Git使用指南</a>}
{/* 当前分支的文件 */}
</React.Fragment>
);
}
}
/*
提交记录
<div className="pl20" id="collaborators_list_info">
{ RepositoryList===undefined?"":RepositoryList.commits.map((item,key)=>{
// {"email":"李暾","title":"2\n","id":"80cb6fc55a14bdd64a9c99913f416966238ed3de","time":"49年前"}
return(
<div>
<div>{item.email}</div>
<div>{item.title}</div>
<div>{item.id}</div>
<div>{item.time}</div>
</div>
)
}) }
</div>
<li id="dd422c22b14b69b3452f4953ff33bb67" className=" file padding5-10">
<span style={{marginLeft: '0px'}} className="task-hide">
<i className="iconfont icon-zuoye color-blue"></i>
<a href="/shixuns/uznmbg54/repository/uznmbg54/master/shixun_entry/1-1.py">1-1.py</a>
</span>
</li>
*/
export default Repository;

@ -0,0 +1,31 @@
import React, { Component } from 'react';
import { getImageUrl , getUrl } from 'educoder';
class NoneData extends Component{
constructor(props) {
super(props)
}
render(){
const { style } = this.props;
return(
<div className="edu-tab-con-box clearfix edu-txt-center" style={ style || { width:"100%" }}>
<style>
{`
.edu-tab-con-box{
padding:100px 0px;
}
.ant-modal-body .edu-tab-con-box{
padding:0px!important;
}
img.edu-nodata-img{
margin: 40px auto 20px;
}
`}
</style>
<img className="edu-nodata-img mb20" src={getUrl("/images/educoder/RepositoryNoneData.png")}/>
<p className="edu-nodata-p mb20">暂时还没有相关数据哦</p>
</div>
)
}
}
export default NoneData;
Loading…
Cancel
Save