dev_forum
杨树林 5 years ago
parent 826ea21b0f
commit cacd4319da

@ -146,9 +146,9 @@ export function initAxiosInterceptors(props) {
} }
if (response.data.status === 402) { if (response.data.status === 402) {
// debugger debugger
// console.log(response.data.status); console.log(response.data.status);
// console.log(response.data.url); console.log(response.data);
locationurl(response.data.message); locationurl(response.data.message);
} }

@ -62,6 +62,7 @@ var newContainer={
bottom: "0px", bottom: "0px",
minHeight: "100%", minHeight: "100%",
overflow:"hidden", overflow:"hidden",
paddingTop: "40px",
} }
class EducoderLogin extends Component { class EducoderLogin extends Component {
@ -87,7 +88,7 @@ class EducoderLogin extends Component {
}else if(props.match.url === "/register"){ }else if(props.match.url === "/register"){
// showbool: 1, // showbool: 1,
this.state = { this.state = {
showbool: 1, showbool: 2,
loginstatus:false, loginstatus:false,
logini:2, logini:2,
namezh:"", namezh:"",
@ -141,7 +142,7 @@ class EducoderLogin extends Component {
render() { render() {
let {showbool,loginstatus,logini} = this.state; let {showbool,loginstatus,logini} = this.state;
return ( return (
<div style={newContainer} className="newMain clearfix" > <div style={newContainer} className=" clearfix" >
<div > <div >
<div style={{ <div style={{
@ -163,9 +164,9 @@ class EducoderLogin extends Component {
justifyContent: "center", justifyContent: "center",
width: "100%", width: "100%",
height: "550px", height: "550px",
marginTop: "54px", marginTop: "44px",
}}> }}>
<div style={{}}> <div>
<LoginRegisterComponent {...this.props} {...this.state} <LoginRegisterComponent {...this.props} {...this.state}
Setshowbool={(e,name,pass)=>this.Setshowbool(e,name,pass)} ></LoginRegisterComponent> Setshowbool={(e,name,pass)=>this.Setshowbool(e,name,pass)} ></LoginRegisterComponent>
@ -179,7 +180,7 @@ class EducoderLogin extends Component {
justifyContent: "center", justifyContent: "center",
width: "100%", width: "100%",
height: "630px", height: "630px",
marginTop: "54px", marginTop: "44px",
}}> }}>
<InterestpageComponent {...this.props} {...this.state}> <InterestpageComponent {...this.props} {...this.state}>
</InterestpageComponent> </InterestpageComponent>
@ -190,7 +191,7 @@ class EducoderLogin extends Component {
justifyContent: "center", justifyContent: "center",
width: "100%", width: "100%",
height: "550px", height: "550px",
marginTop: "54px", marginTop: "44px",
}}> }}>
<div > <div >
<FindPasswordComponent {...this.props} {...this.state} <FindPasswordComponent {...this.props} {...this.state}
@ -207,7 +208,7 @@ class EducoderLogin extends Component {
position: "fixed" position: "fixed"
}}> }}>
<div className="font-14 color-grey-9 " style={{ bottom:"0",position: "fixed",marginBottom: "59px"}}><span className="font-18">©</span>&nbsp;2019&nbsp;EduCoder<span className="ml15 mr15">ICP17009477</span><a href="https://team.trustie.net" style={{"color":"#888"}} target="_blank">Trustie</a>&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;&nbsp;IntelliDE inside.</div> <div className="font-14 color-grey-9 " style={{ bottom:"0",position: "absolute",marginBottom: "20px"}}><span className="font-18">©</span>&nbsp;2019&nbsp;EduCoder<span className="ml15 mr15">ICP17009477</span><a href="https://team.trustie.net" style={{"color":"#888"}} target="_blank">Trustie</a>&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;&nbsp;IntelliDE inside.</div>
</div> </div>
</div> </div>
</div> </div>

@ -116,23 +116,6 @@ class LoginRegisterComponent extends Component {
console.log('Notification Clicked!'); console.log('Notification Clicked!');
}, },
}); });
// if(type === 1){
// notification['success']({
// message: "提示",
// description: messge,
// });
// }else if(type === 2){
// notification['warning']({
// message: "提示",
// description: messge,
// });
//
// }else{
// notification['error']({
// message: "提示",
// description: messge,
// });
// }
} }
@ -464,6 +447,8 @@ class LoginRegisterComponent extends Component {
this.SMSverification(); this.SMSverification();
} }
} }
//滑动验证手机号
//获取登入 //获取登入
loginInputonChange = (e) => { loginInputonChange = (e) => {
// console.log(e.target.value); // console.log(e.target.value);

Loading…
Cancel
Save