|
@@ -47,7 +47,7 @@ const swiper = ({ list, onClose }) => {
|
47
|
47
|
<img src={closeImg} alt="" className={styles.close} onClick={onClose} />
|
48
|
48
|
<Carousel autoplay draggable>
|
49
|
49
|
{list.map((item, index) =>
|
50
|
|
- <img className={styles.swiperImg} style={{ borderRadius: '10px', objectFit: 'contain' }} src={item} alt="" />,
|
|
50
|
+ <img className={styles.swiperImg} key={index} style={{ borderRadius: '10px', objectFit: 'contain' }} src={item} alt="" />,
|
51
|
51
|
// <img className={styles.swiperImg} style={{ width: '32vw', minWidth: '757px', height: '21.3vw', minHeight: '504px', borderRadius: '10px' }} src={item} alt="" />,
|
52
|
52
|
)}
|
53
|
53
|
</Carousel>
|