|
@@ -7,6 +7,7 @@ import BaseImg from '@/components/BaseImg'
|
|
|
import S1manor from './S1manor'
|
|
|
import S2mien from './S2mien'
|
|
|
import S3goods from './S3goods'
|
|
|
+import BtnRight from '@/components/BtnRight'
|
|
|
|
|
|
const videoObj = {
|
|
|
探索庄园: {
|
|
@@ -67,19 +68,15 @@ function B1more() {
|
|
|
return (
|
|
|
<div className={styles.B1more}>
|
|
|
{/* 三个主要页面 */}
|
|
|
- {/* <S1manor hidden={!!videoSrc || floorTxt !== '探索庄园'} isLoding={isLoding} />
|
|
|
+ <S1manor hidden={!!videoSrc || floorTxt !== '探索庄园'} isLoding={isLoding} />
|
|
|
<S2mien hidden={!!videoSrc || floorTxt !== '汉代风华'} />
|
|
|
- <S3goods hidden={!!videoSrc || floorTxt !== '文物欣赏'} /> */}
|
|
|
-
|
|
|
- {/* 待完善 */}
|
|
|
- {/* <S1manor hidden={false} isLoding={isLoding} /> */}
|
|
|
- <S2mien hidden={false} />
|
|
|
+ <S3goods hidden={!!videoSrc || floorTxt !== '文物欣赏'} />
|
|
|
|
|
|
{/* 初始静态图 */}
|
|
|
<BaseImg isShow={!isLoding} iconSrc={``} parentFu={() => setIsLoding(false)} moreSta={true} />
|
|
|
|
|
|
{/* 6个视频 待完善 调试的时候不显示 */}
|
|
|
- {/* {myData.more.videos.map((src, index) => (
|
|
|
+ {myData.more.videos.map((src, index) => (
|
|
|
<div
|
|
|
className={classNames('A6videoBox', videoSrc === src ? 'A6videoBoxShow' : '')}
|
|
|
key={index}
|
|
@@ -95,8 +92,13 @@ function B1more() {
|
|
|
<source type='video/mp4' src={baseURL + src} />
|
|
|
Your browser does not support the video tag.
|
|
|
</video>
|
|
|
+
|
|
|
+ {/* 右下角的跳过按钮 */}
|
|
|
+ {myData.isLdong ? null : (
|
|
|
+ <BtnRight imgName='skip' clickSon={() => setVideoSrc('')} title='跳过' />
|
|
|
+ )}
|
|
|
</div>
|
|
|
- ))} */}
|
|
|
+ ))}
|
|
|
|
|
|
{/* 底部三个按钮 */}
|
|
|
<div className='A6floorBox' style={{ opacity: isLoding ? 0 : 1 }}>
|