|
|
@@ -7,7 +7,7 @@ import classNames from "classnames";
|
|
|
import { ArrowUpOutlined } from "@ant-design/icons";
|
|
|
import http from "@/utils/http";
|
|
|
function Z1Gather() {
|
|
|
- const timeRef = useRef(-1);
|
|
|
+ // const timeRef = useRef(-1);
|
|
|
useEffect(() => {
|
|
|
document.title = "2023 Print China_Contact us";
|
|
|
|
|
|
@@ -18,16 +18,16 @@ function Z1Gather() {
|
|
|
|
|
|
rootDom.style.height = window.innerHeight + "px";
|
|
|
|
|
|
- window.addEventListener(
|
|
|
- "resize",
|
|
|
- () => {
|
|
|
- clearTimeout(timeRef.current);
|
|
|
- timeRef.current = window.setTimeout(() => {
|
|
|
- rootDom.style.height = window.innerHeight + "px";
|
|
|
- }, 500);
|
|
|
- },
|
|
|
- true
|
|
|
- );
|
|
|
+ // window.addEventListener(
|
|
|
+ // "resize",
|
|
|
+ // () => {
|
|
|
+ // clearTimeout(timeRef.current);
|
|
|
+ // timeRef.current = window.setTimeout(() => {
|
|
|
+ // rootDom.style.height = window.innerHeight + "px";
|
|
|
+ // }, 500);
|
|
|
+ // },
|
|
|
+ // true
|
|
|
+ // );
|
|
|
}, []);
|
|
|
|
|
|
const [topShow, setTopShow] = useState(false);
|