feat: 10.28beta版本
This commit is contained in:
13
projects/translate-h5/src/view/result/index.less
Normal file
13
projects/translate-h5/src/view/result/index.less
Normal file
@@ -0,0 +1,13 @@
|
||||
.result {
|
||||
min-height: 100%;
|
||||
padding: 0 24px;
|
||||
padding-top: 92px;
|
||||
|
||||
.bottom {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
34
projects/translate-h5/src/view/result/index.tsx
Normal file
34
projects/translate-h5/src/view/result/index.tsx
Normal file
@@ -0,0 +1,34 @@
|
||||
import MainLayout from "@/layout/main/mainLayout";
|
||||
import "./index.less";
|
||||
import { Image } from "antd-mobile";
|
||||
|
||||
// import TitlePng from "@/assets/result/title.png";
|
||||
// import ContentSvg from "@/assets/result/content.svg";
|
||||
// import BottomSvg from "@/assets/result/bottom.svg";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
|
||||
function Result() {
|
||||
const TitlePng = "http://qiniu.bydj.tashowz.com/assets/result/title.png";
|
||||
const ContentSvg = "http://qiniu.bydj.tashowz.com/assets/result/content.svg";
|
||||
const BottomSvg = "http://qiniu.bydj.tashowz.com/assets/result/bottom.svg";
|
||||
|
||||
const navigate = useNavigate();
|
||||
|
||||
const onLink = (link: string) => {
|
||||
navigate(link);
|
||||
};
|
||||
|
||||
return (
|
||||
<MainLayout>
|
||||
<div className="result">
|
||||
<Image src={TitlePng} className="title" />
|
||||
<Image style={{ marginTop: "30px" }} src={ContentSvg} className="content" />
|
||||
<div className="bottom">
|
||||
<Image onClick={() => onLink("/service")} src={BottomSvg} />
|
||||
</div>
|
||||
</div>
|
||||
</MainLayout>
|
||||
);
|
||||
}
|
||||
|
||||
export default Result;
|
||||
Reference in New Issue
Block a user