|
@@ -2,9 +2,11 @@ import React, { useState, useEffect, useRef } from "react";
|
|
|
import styles from "./index.module.scss";
|
|
import styles from "./index.module.scss";
|
|
|
import StatueArt from "./StatueArt";
|
|
import StatueArt from "./StatueArt";
|
|
|
import Genealogy from "./Genealogy";
|
|
import Genealogy from "./Genealogy";
|
|
|
|
|
+import classNames from 'classnames'
|
|
|
|
|
+import { isPc } from "@/utils/http";
|
|
|
|
|
|
|
|
function A6ybwx() {
|
|
function A6ybwx() {
|
|
|
- const [isEnter, setIsEnter] = useState(false)
|
|
|
|
|
|
|
+ const [isEnter, setIsEnter] = useState(true)
|
|
|
const [videoOk, setVideoOk] = useState(false)
|
|
const [videoOk, setVideoOk] = useState(false)
|
|
|
const [gotoTab, setGotoTab] = useState(0)
|
|
const [gotoTab, setGotoTab] = useState(0)
|
|
|
|
|
|
|
@@ -53,7 +55,7 @@ function A6ybwx() {
|
|
|
}, [isEnter, videoOk])
|
|
}, [isEnter, videoOk])
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
- <div className={styles.A6ybwx}>
|
|
|
|
|
|
|
+ <div className={classNames(styles.A6ybwx,isPc?'':styles.A6ybwxMo)}>
|
|
|
{gotoTab === 0 && <div className="videoBox">
|
|
{gotoTab === 0 && <div className="videoBox">
|
|
|
<div className='back' onClick={() => window.location.replace('#/base')}>
|
|
<div className='back' onClick={() => window.location.replace('#/base')}>
|
|
|
<img src={require('@/assets/img/btn_back.png')} alt='' />
|
|
<img src={require('@/assets/img/btn_back.png')} alt='' />
|