首页底部

This commit is contained in:
禺狨 2023-03-28 10:29:35 +08:00
parent 3065d346ea
commit af4f1d4966
2 changed files with 17 additions and 5 deletions

View File

@ -1,5 +1,6 @@
import React from "react"; import React from "react";
import { Layout } from "antd"; import { Layout } from "antd";
import { Link } from "react-router-dom";
export const Footer: React.FC = () => { export const Footer: React.FC = () => {
return ( return (
@ -12,10 +13,12 @@ export const Footer: React.FC = () => {
marginTop: 80, marginTop: 80,
}} }}
> >
<i <Link to="/">
style={{ fontSize: 30, color: "#cccccc" }} <i
className="iconfont icon-waterprint" style={{ fontSize: 30, color: "#cccccc" }}
></i> className="iconfont icon-waterprint"
></i>
</Link>
</Layout.Footer> </Layout.Footer>
); );
}; };

View File

@ -74,7 +74,16 @@ export const HourCompenent: React.FC<PropInterface> = ({
)} )}
</> </>
)} )}
{progress >= 100 && <div className={styles["complete"]}></div>} {progress >= 100 && (
<div
className={styles["complete"]}
onClick={() => {
setVisible(true);
}}
>
</div>
)}
</div> </div>
</div> </div>
); );