forked from Gitlink/forgeplus-react
修改竞赛代码
This commit is contained in:
parent
f4a67ee68e
commit
f9af1c814f
|
@ -1,7 +1,9 @@
|
|||
.home-competition-slide {
|
||||
position: relative;
|
||||
// height: 50px;
|
||||
width: calc(100vw + 500px);
|
||||
width: 100vw;
|
||||
padding:0 500px;
|
||||
overflow: hidden;
|
||||
top: 4.375em;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
@ -11,6 +13,7 @@
|
|||
display: flex;
|
||||
justify-content: flex-end;
|
||||
height: 2.6vw;
|
||||
width: calc(100vw + 1000px);
|
||||
}
|
||||
|
||||
.competition-notice {
|
||||
|
|
|
@ -100,6 +100,15 @@ const Qz2022 = (props) => {
|
|||
}
|
||||
}, []);
|
||||
|
||||
useEffect(()=>{
|
||||
let footer=document.querySelector('.newFooter');
|
||||
if((footer.offsetTop +107)<window.screen.height){
|
||||
footer.style.position="absolute";
|
||||
}else{
|
||||
footer.style.position="relative";
|
||||
}
|
||||
},[history])
|
||||
|
||||
function scrollListener() {
|
||||
let qz2022Top = document.querySelector('.qz2022').offsetTop;
|
||||
let top = document.documentElement.scrollTop;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React from "react";
|
||||
import contactPng from "../image/logo.png";
|
||||
import contactPng from "../image/qz-logo.png";
|
||||
import RenderHtml from "src/components/render-html";
|
||||
import Link from "react-router-dom/Link";
|
||||
import { Button } from "antd";
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 281 KiB |
Binary file not shown.
Before Width: | Height: | Size: 379 KiB |
Binary file not shown.
After Width: | Height: | Size: 242 KiB |
Binary file not shown.
Before Width: | Height: | Size: 90 KiB |
|
@ -70,7 +70,7 @@
|
|||
);
|
||||
}
|
||||
.qzCont {
|
||||
min-height: 35vh;
|
||||
min-height: 40vh;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ body>.-task-title {
|
|||
max-height: 700px !important;
|
||||
}
|
||||
.indexHOC > .ant-spin-nested-loading {
|
||||
background: #000;
|
||||
/* background: #000; */
|
||||
height: 100%;
|
||||
}
|
||||
.indexHOC > .ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {
|
||||
|
|
Loading…
Reference in New Issue