|
|
@@ -1,18 +1,27 @@
|
|
|
-import React from "react";
|
|
|
-import styles from "./index.module.scss";
|
|
|
+import React from 'react'
|
|
|
+import styles from './index.module.scss'
|
|
|
+import classNames from 'classnames'
|
|
|
+import { isPc } from '@/utils/http'
|
|
|
+
|
|
|
function StatueArt({ setGotoTab }: { setGotoTab: (tab: number) => void }) {
|
|
|
return (
|
|
|
- <div className={styles.StatueArt}>
|
|
|
+ <div className={classNames(styles.StatueArt, isPc ? '' : styles.StatueArtMo)}>
|
|
|
<div className='back' onClick={() => setGotoTab(0)}>
|
|
|
<img src={require('@/assets/img/btn_back.png')} alt='' />
|
|
|
</div>
|
|
|
- <div className="ffhyTitle"><img src={require('@/assets/img/A6_ffhy_title.png')} draggable={false} alt="" /></div>
|
|
|
- <div className="ffhybtn1" onClick={() => window.location.replace('#/zxys')}><img src={require('@/assets/img/A6_ffhy_btn1.png')} draggable={false} alt="" /></div>
|
|
|
- <div className="ffhybtn2" onClick={() => window.location.replace('#/sinicize')}><img src={require('@/assets/img/A6_ffhy_btn2.png')} draggable={false} alt="" /></div>
|
|
|
+ <div className='ffhyTitle'>
|
|
|
+ <img src={require('@/assets/img/A6_ffhy_title.png')} draggable={false} alt='' />
|
|
|
+ </div>
|
|
|
+ <div className='ffhybtn1' onClick={() => window.location.replace('#/zxys')}>
|
|
|
+ <img src={require('@/assets/img/A6_ffhy_btn1.png')} draggable={false} alt='' />
|
|
|
+ </div>
|
|
|
+ <div className='ffhybtn2' onClick={() => window.location.replace('#/sinicize')}>
|
|
|
+ <img src={require('@/assets/img/A6_ffhy_btn2.png')} draggable={false} alt='' />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
)
|
|
|
}
|
|
|
|
|
|
-const MemoStatueArt = React.memo(StatueArt);
|
|
|
+const MemoStatueArt = React.memo(StatueArt)
|
|
|
|
|
|
-export default MemoStatueArt;
|
|
|
+export default MemoStatueArt
|