|
|
@@ -2,9 +2,14 @@ import React from 'react'
|
|
|
import styles from './index.module.scss'
|
|
|
import { baseUrl, myData } from '@/utils/http'
|
|
|
import history from '@/utils/history'
|
|
|
+import classNames from 'classnames'
|
|
|
+
|
|
|
function A1home() {
|
|
|
return (
|
|
|
- <div className={styles.A1home} style={{ backgroundImage: `url(${baseUrl}home/bg.jpg)` }}>
|
|
|
+ <div
|
|
|
+ className={classNames(styles.A1home, isMo ? styles.A1homeMo : '')}
|
|
|
+ style={{ backgroundImage: `url(${baseUrl}home/bg.jpg)` }}
|
|
|
+ >
|
|
|
<img className='A1logo' src={`${baseUrl}home/logo.png`} alt='' />
|
|
|
<img className='A1tit' src={`${baseUrl}home/title.png`} alt='' />
|
|
|
<img className='A1shi' src={`${baseUrl}home/bs.png`} alt='' />
|
|
|
@@ -17,7 +22,7 @@ function A1home() {
|
|
|
{myData.home.map((item, index) => (
|
|
|
<div
|
|
|
key={item.name}
|
|
|
- className={`A1row`}
|
|
|
+ className={`A1row ${index === 1 ? 'A1rowAc' : ''}`}
|
|
|
onClick={() => history.replace(`/main/${item.sorrlNum}`)}
|
|
|
>
|
|
|
<div className='A1rowSon'>
|