|
@@ -14,11 +14,9 @@ function A1home() {
|
|
<Swiper loop autoplay>
|
|
<Swiper loop autoplay>
|
|
{myInfo.swArr.map(item => (
|
|
{myInfo.swArr.map(item => (
|
|
<Swiper.Item key={item.id}>
|
|
<Swiper.Item key={item.id}>
|
|
- <img
|
|
|
|
- src={`./myData/img/${item.id}h.jpg`}
|
|
|
|
- alt=''
|
|
|
|
- onClick={() => openPage(item.link)}
|
|
|
|
- />
|
|
|
|
|
|
+ <div onClick={() => openPage(item.link)}>
|
|
|
|
+ <img src={`./myData/img/${item.id}h.jpg`} alt='' />
|
|
|
|
+ </div>
|
|
</Swiper.Item>
|
|
</Swiper.Item>
|
|
))}
|
|
))}
|
|
</Swiper>
|
|
</Swiper>
|