mirror of
https://github.com/PlayEdu/backend
synced 2025-06-22 13:34:59 +08:00
资源图片渲染
This commit is contained in:
parent
568934bb46
commit
bbcac7d54a
@ -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;
|
||||
}
|
||||
|
@ -176,8 +176,10 @@ export const ResourceImagesPage = () => {
|
||||
</i>
|
||||
<Image
|
||||
preview={true}
|
||||
width={150}
|
||||
height={150}
|
||||
style={{
|
||||
width: "150px",
|
||||
height: "auto",
|
||||
}}
|
||||
src={item.url}
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user