mirror of
https://github.com/PlayEdu/backend
synced 2025-06-23 05:43:06 +08:00
资源图片渲染
This commit is contained in:
parent
568934bb46
commit
bbcac7d54a
@ -60,4 +60,10 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 150px;
|
width: 150px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background: #f4fafe;
|
||||||
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
@ -176,8 +176,10 @@ export const ResourceImagesPage = () => {
|
|||||||
</i>
|
</i>
|
||||||
<Image
|
<Image
|
||||||
preview={true}
|
preview={true}
|
||||||
width={150}
|
style={{
|
||||||
height={150}
|
width: "150px",
|
||||||
|
height: "auto",
|
||||||
|
}}
|
||||||
src={item.url}
|
src={item.url}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user