This commit is contained in:
caishi 2021-04-17 13:55:55 +08:00
parent bea187c1f9
commit 1b3284cd1d
3 changed files with 11 additions and 3 deletions

View File

@ -88,7 +88,7 @@ function Index(props){
covers && covers.length>0?
covers.map((i,k)=>{
return(
<a href={i.path}><img src={i.image_url} alt="" /></a>
<a href={i.path}><img src={getUrlHead(i.image_url) } alt="" /></a>
)
})
:<img src={main} alt="" />

View File

@ -84,7 +84,6 @@
.homebase{
position: relative;
min-height: 480px;
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
@ -97,6 +96,15 @@
justify-content: center;
.ant-carousel{
width: 100%;
a{
display: block;
height: 100%;
width: 100%;
img{
height: 480px;
width: 100%;
}
}
}
p{
margin-bottom:20px;

View File

@ -18,7 +18,7 @@ function Preface(props){
return(
<div>
<Title>引言</Title>
<div class="content">
<div class="contents">
{
value ?
<RenderHtml className="break_word_comments imageLayerParent" value={value} url={props.history.location}/>