This commit is contained in:
caishi 2021-05-12 17:23:34 +08:00
parent f2ef8d4843
commit edf55d5466
6 changed files with 23 additions and 3 deletions

View File

@ -79,6 +79,19 @@
width: 100%;
left: 0px;
bottom: 0px;
.homeFooterUl{
display: flex;
align-items: center;
justify-content: center;
margin:0px;
li{
padding:0px 40px;
a{
color: #666666;
display: block;
}
}
}
}
.menuItems{
.ant-dropdown-menu-item{

View File

@ -183,7 +183,9 @@ function Index(props){
<li>
<div className="imgBox"><img src={getUrlHead(item.cover)} alt="" width="145px" height="96px"/></div>
<div className="news-info">
<p className="news-title"><a href={item.url} target="_blank">{item.title}</a></p>
<p className="news-title">
<a href={item.url} className="task-hide" style={{display:"block"}} target="_blank">{item.title}</a>
</p>
<div className="news-desc task-hide-2">{item.content}</div>
<div className="news-time">{item.created_at}</div>
</div>

View File

@ -248,6 +248,7 @@
}
.news-info{
flex:1;
width: 0;
}
}
}

View File

@ -93,7 +93,7 @@ function Index(props){
<img src={(item.author && getUrlHead(item.author.image_url)) || DefaultImg} alt="" width="48px" className="ml10"/>
</AlignCenter>
{
item.project_tags && item.project_tags.length>0 &&
item.project_tags &&
<div className="listTag">
{
item.project_tags.map((i,k)=>{

View File

@ -77,6 +77,7 @@
.listTag{
padding:10px 0px;
margin:0px 20px;
min-height: 49px;
border-bottom: 1px solid #F1F1F1;
span{
display: inline-block;
@ -138,6 +139,9 @@
color: #333;
margin-bottom: 0px;
max-width: 170px;
&:hover{
color: #1890FF;
}
}
.num{
text-align: right;

View File

@ -18,7 +18,7 @@ function Ranking({data}){
return(
<li>
<span className="index">{i.no}</span>
<p className="name task-hide">{i.project_full_name}</p>
<a href={i.project_url} className="name task-hide">{i.project_full_name}</a>
<span className="num">{i.commits}</span>
</li>
)