资源图片渲染

This commit is contained in:
禺狨 2023-03-13 14:22:14 +08:00
parent 568934bb46
commit bbcac7d54a
2 changed files with 10 additions and 2 deletions

View File

@ -60,4 +60,10 @@
position: relative;
width: 150px;
height: 150px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background: #f4fafe;
border-radius: 6px;
}

View File

@ -176,8 +176,10 @@ export const ResourceImagesPage = () => {
</i>
<Image
preview={true}
width={150}
height={150}
style={{
width: "150px",
height: "auto",
}}
src={item.url}
/>
</div>