|
@@ -12,7 +12,7 @@ import bgmMp3 from '@/assets/img/bgm.mp3'
|
|
|
import Share from './Share'
|
|
|
import Bottom from './Bottom'
|
|
|
import { MyObjRowType } from './Bottom/data'
|
|
|
-import { isMobileFu, urlParameter } from '@/utils/history'
|
|
|
+import history, { isMobileFu, urlParameter } from '@/utils/history'
|
|
|
|
|
|
import xiaImg from '@/assets/img/jiantou_w.png'
|
|
|
import { kankanUrl, panoBaseUrl } from '@/utils/urlRes'
|
|
@@ -120,10 +120,16 @@ function A1home() {
|
|
|
</li>
|
|
|
<li
|
|
|
onClick={() => {
|
|
|
- window.location.href = 'https://airshow.4dkankan.com/index.html'
|
|
|
- setTimeout(() => {
|
|
|
- window.location.reload()
|
|
|
- }, 200)
|
|
|
+ history.replace('/')
|
|
|
+ setAcObj({} as MyObjRowType)
|
|
|
+ clickBtn('首页')
|
|
|
+ // setTimeout(() => {
|
|
|
+ // clickBtn(pageKey === '室内' ? '室外' : '室内')
|
|
|
+ // }, 200)
|
|
|
+ // window.location.href = 'https://airshow.4dkankan.com/index.html'
|
|
|
+ // setTimeout(() => {
|
|
|
+ // window.location.reload()
|
|
|
+ // }, 200)
|
|
|
}}
|
|
|
>
|
|
|
<div className='toHome'>
|
|
@@ -135,11 +141,14 @@ function A1home() {
|
|
|
{/* 分享页面 */}
|
|
|
<Share isShowType={sonPageShow} closeFu={() => setSonPageShow('')} />
|
|
|
{/* 底部页面 */}
|
|
|
- <Bottom setTopObj={setAcObjFu} pageKey={pageKey} />
|
|
|
+ {pageKey !== '首页' ? <Bottom setTopObj={setAcObjFu} pageKey={pageKey} /> : null}
|
|
|
+
|
|
|
{/* 顶部title */}
|
|
|
{acObj.sceneCode ? (
|
|
|
<>
|
|
|
- <div className='A1title'>{acObj.sceneTitle}</div>
|
|
|
+ <div className='A1title'>
|
|
|
+ {acObj.sceneTitle}({pageKey === '室内' ? '展馆' : '展区'})
|
|
|
+ </div>
|
|
|
|
|
|
<div className='iframeBox'>
|
|
|
{/* 四维看看*/}
|