|
|
@@ -3,6 +3,7 @@ import styles from './index.module.scss'
|
|
|
import { useHistory } from 'react-router-dom'
|
|
|
import VerticalBanner from './components/banner'
|
|
|
import Slider from 'react-slick'
|
|
|
+import { isMobileFu } from '@/utils/history'
|
|
|
function A1home({ show, setShow }: { show: boolean; setShow: (show: boolean) => void }) {
|
|
|
const history = useHistory()
|
|
|
const sliderRef = useRef<Slider>(null)
|
|
|
@@ -136,7 +137,6 @@ function A1home({ show, setShow }: { show: boolean; setShow: (show: boolean) =>
|
|
|
/>
|
|
|
<img
|
|
|
className='item2Bg'
|
|
|
- src={require('./image/caro2/item2_bg.png')}
|
|
|
alt=''
|
|
|
draggable='false'
|
|
|
/>
|
|
|
@@ -157,7 +157,7 @@ function A1home({ show, setShow }: { show: boolean; setShow: (show: boolean) =>
|
|
|
},
|
|
|
{
|
|
|
id: 3,
|
|
|
- background: require('./image/caro3/bg3.png'),
|
|
|
+ background: isMobileFu() ? require('./image/caro3/bg3_M.png') : require('./image/caro3/bg3.png'),
|
|
|
content: (
|
|
|
<>
|
|
|
<img
|
|
|
@@ -200,7 +200,7 @@ function A1home({ show, setShow }: { show: boolean; setShow: (show: boolean) =>
|
|
|
/>
|
|
|
<img
|
|
|
className='title1'
|
|
|
- src={require('./image/caro1/title1.png')}
|
|
|
+ src={require('./image/caro4/title4.png')}
|
|
|
alt=''
|
|
|
draggable='false'
|
|
|
/>
|
|
|
@@ -212,9 +212,9 @@ function A1home({ show, setShow }: { show: boolean; setShow: (show: boolean) =>
|
|
|
draggable='false'
|
|
|
/>
|
|
|
<IconList
|
|
|
- style={{ color: '#F2E4AD' }}
|
|
|
- icon1={require('./image/caro1/icon1.png')}
|
|
|
- icon2={require('./image/caro1/icon2.png')}
|
|
|
+ style={{ color: '#877155' }}
|
|
|
+ icon1={require('./image/caro4/icon1.png')}
|
|
|
+ icon2={require('./image/caro4/icon2.png')}
|
|
|
/>
|
|
|
</>
|
|
|
)
|