mirror of
https://github.com/PlayEdu/backend
synced 2025-07-19 02:51:04 +08:00
Merge branch 'dev' of https://gitee.com/playeduxyz/backend into dev
This commit is contained in:
commit
82a0b47a56
@ -60,9 +60,11 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
gap: 24px;
|
gap: 24px;
|
||||||
grid-template-columns: repeat(8, minmax(0, 1fr));
|
grid-template-columns: repeat(8, minmax(0, 1fr));
|
||||||
|
|
||||||
.imageItem {
|
.imageItem {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 150px;
|
height: auto;
|
||||||
|
aspect-ratio: 1/1;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
|
@ -199,7 +199,7 @@ export const ResourceImagesPage = () => {
|
|||||||
{imageList.map((item: any, index: number) => (
|
{imageList.map((item: any, index: number) => (
|
||||||
<div
|
<div
|
||||||
key={item.id}
|
key={item.id}
|
||||||
className={styles.imageItem}
|
className={`${styles.imageItem} ref-image-item`}
|
||||||
style={{ backgroundImage: `url(${item.url})` }}
|
style={{ backgroundImage: `url(${item.url})` }}
|
||||||
onClick={() => showImage(index, true)}
|
onClick={() => showImage(index, true)}
|
||||||
onMouseOver={() => showHover(index, true)}
|
onMouseOver={() => showHover(index, true)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user