//-----------------------------图片自适应------------------------------------------------
<div className="bg-cover" style={{
width:"100%",
height: "415px",
// backgroundImage: `url("${update_file_url(cover)}")`,
backgroundColor:"#F3F3F4",
backgroundRepeat: "no-repeat",
backgroundSize: "100% 100%",
MozBackgroundSize: "100% 100%",
textAlign: "center",
lineHeight:"410px",
}}>
<img style={{ width: "auto", height: "auto",maxWidth:"100%",maxHeight:"415px",}} src={update_file_url(cover)}/>
</div>