Commit 799408e1 authored by wuhao's avatar wuhao 🎯

asder

parent 10cc6199
Pipeline #6173 passed with stages
in 3 minutes and 20 seconds
...@@ -9,31 +9,17 @@ function LoginLayout() { ...@@ -9,31 +9,17 @@ function LoginLayout() {
<div className="wrap"> <div className="wrap">
<Container <Container
component="main" component="main"
maxWidth="md" maxWidth="xs"
style={{ style={{
display: "flex", display: "flex",
alignItems: "center", alignItems: "center",
boxShadow: "0 0 36px #999", boxShadow: "0 0 36px #999",
padding: 0, padding: 0,
borderRadius: 12, borderRadius: 12,
overflow:"hidden",
}} }}
borderRadius={2}
> >
<Box
className="left"
sx={{
width: 550,
overflow: "hidden",
}}
borderRadius={"12px 0px 0px 12px"}
>
<video
style={{ width: "100%" }}
muted
loop
autoPlay
src="https://ng-website.oss-cn-hangzhou.aliyuncs.com/video.mp4"
/>
</Box>
<Box <Box
className="right" className="right"
...@@ -42,15 +28,14 @@ function LoginLayout() { ...@@ -42,15 +28,14 @@ function LoginLayout() {
flexDirection: "column", flexDirection: "column",
alignItems: "center", alignItems: "center",
height: 600, height: 600,
padding: 4, padding: 6,
backgroundColor:"rgba(255,255,255,0.8)",
}} }}
borderRadius={"0px 12px 12px 0px"}
> >
<Logo></Logo> <Logo></Logo>
<Typography component="h1" variant="h5" mt={1} mb={1}> <Typography component="h1" variant="h5" mt={1} mb={1}>
精密测量虚拟仿真实训平台 精密测量虚拟仿真实训平台
</Typography> </Typography>
<Outlet></Outlet> <Outlet></Outlet>
</Box> </Box>
</Container> </Container>
......
* { * {
box-sizing: border-box;
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box;
} }
body { body {
...@@ -9,16 +9,36 @@ body { ...@@ -9,16 +9,36 @@ body {
} }
.wrap { .wrap {
width: 100vw; position: relative;
height: 100vh;
display: flex; display: flex;
justify-content: center;
align-items: center; align-items: center;
background-image: radial-gradient(#444df74f 0.45px, #e5e5f760 0.45px); justify-content: center;
background-size: 15px 15px; width: 100vw;
position: relative; height: 100vh;
background-image: linear-gradient(
145deg,
#f7f7f7 0%,
#f0f0f0 25%,
#c9c9c9 50%,
#f0f0f0 75%,
#f7f7f7 100%
);
background-size: 400% 400%;
animation: bgmove 20s linear 0s infinite alternate forwards;
} }
@keyframes bgmove {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.left { .left {
height: 600px; height: 600px;
} }
...@@ -31,7 +51,7 @@ body { ...@@ -31,7 +51,7 @@ body {
.right { .right {
display: flex; display: flex;
justify-content: center;
align-items: center;
flex: 1; flex: 1;
align-items: center;
justify-content: center;
} }
...@@ -233,7 +233,7 @@ function Signup() { ...@@ -233,7 +233,7 @@ function Signup() {
<Typography component="p" style={{ textAlign: "center" }}> <Typography component="p" style={{ textAlign: "center" }}>
注册 注册
</Typography> </Typography>
<Box height={260} width={260} mt={2}> <Box height={260} width={360} mt={2}>
<Scrollbars <Scrollbars
thumbMinSize={10} thumbMinSize={10}
autoHide autoHide
...@@ -250,7 +250,7 @@ function Signup() { ...@@ -250,7 +250,7 @@ function Signup() {
display={"flex"} display={"flex"}
justifyContent={"center"} justifyContent={"center"}
alignItems={"center"} alignItems={"center"}
width={260} width={360}
> >
<RadioGroup <RadioGroup
row row
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment