| 123456789101112131415161718192021222324252627 |
- import React from 'react'
- import styles from './index.module.scss'
- import { baseURL, isPc, otherUrl } from '@/utils/http'
- import history from '@/utils/history'
- const url = isPc
- ? 'unity/HeNanMuseum-pc/ManorScene/index.html'
- : 'unity/HeNanMuseum-mobile/ManorScene/index.html'
- function C2unityEnd() {
- return (
- <div className={styles.C2unityEnd}>
- <iframe title='陶庄园' src={otherUrl + url} frameBorder='0'></iframe>
- {/* 返回按钮 */}
- <div
- style={{ backgroundImage: `url(${baseURL}chef/back23.png)` }}
- className='unityBack hoverD'
- title='返回'
- onClick={() => history.go(-1)}
- ></div>
- </div>
- )
- }
- const MemoC2unityEnd = React.memo(C2unityEnd)
- export default MemoC2unityEnd
|