diff --git a/public/react/src/modules/login/EducoderLogin.js b/public/react/src/modules/login/EducoderLogin.js index b46435fe7..116a98c6a 100644 --- a/public/react/src/modules/login/EducoderLogin.js +++ b/public/react/src/modules/login/EducoderLogin.js @@ -43,17 +43,26 @@ var imgback = { backgroundImage: `url(${beijintulogontwo})`, } var imgmian ={ - "width": "100%", - "background": `url(${beijintulogontwo})`, - "height": "100%", - "position": "relative", + width: "100%", + background: `url(${beijintulogontwo})`, + position: "relative", + } var newContainer={ - "min-height": "100%", - "background": `url(${beijintulogontwo})`, - "height": "auto !important", - "position": "relative", + background: `url(${beijintulogontwo})`, + backgroundPosition: "center" , + backgroundRepeat: "no-repeat", + backgroundAttachment: "fixed", + backgroundSize: "100% 100%", + height:" 100%", + width:" 100%", + position: "absolute", + top: "0px", + bottom: "0px", + minHeight: "100%", + overflow:"hidden", + } class EducoderLogin extends Component { constructor(props) { @@ -76,7 +85,8 @@ class EducoderLogin extends Component { } }else if(props.match.url === "/register"){ - this.state = { + // showbool: 1, + this.state = { showbool: 1, loginstatus:false, logini:2, @@ -131,24 +141,16 @@ class EducoderLogin extends Component { render() { let {showbool,loginstatus,logini} = this.state; return ( -