dev_forum
杨树林 5 years ago
parent 07919262cb
commit 0064fe6073

@ -45,26 +45,26 @@ class Trialapplicationysl extends Component {
// this.props.Cancel() // this.props.Cancel()
} }
// //
// componentWillReceiveProps(nextProps) { componentWillReceiveProps(nextProps) {
// // console.log("46"); // console.log("46");
// // console.log(nextProps); // console.log(nextProps);
// // console.log(this.props); // console.log(this.props);
// // if (nextProps.user != this.props.user) { if (nextProps.user != this.props.user) {
// // // console.log("50"); // console.log("50");
// // // console.log(nextProps.user); // console.log(nextProps.user);
// // if (nextProps.user !== undefined) { if (nextProps.user !== undefined) {
// // // console.log("53"); // console.log("53");
// // // console.log(nextProps.user); // console.log(nextProps.user);
// // this.setState({ this.setState({
// // user_phone_binded: nextProps.user.user_phone_binded, user_phone_binded: nextProps.user.user_phone_binded,
// // }) })
// // } }
// //
// //
// // } }
//
//
// } }
getipthon=()=>{ getipthon=()=>{
// console.log("Trialapplicationysl"); // console.log("Trialapplicationysl");
// console.log("70"); // console.log("70");

@ -718,8 +718,17 @@ class LoginRegisterComponent extends Component {
console.log(classpass); console.log(classpass);
return ( return (
<div className="login_register_content" style={ parseInt(tab[0])==0?{height: "346px"} :{height: "490px"}}> <div className="login_register_content login_register_contents" style={ parseInt(tab[0])==0?{height: "346px"} :{height: "490px"}}>
<style>
{
`
.login_register_contents, .login_register_contents .ant-tabs-tabpane {
display: flex;
justify-content: center;
}
`
}
</style>
<div> <div>
<Menu mode="horizontal" selectedKeys={tab} onClick={this.changeTab}> <Menu mode="horizontal" selectedKeys={tab} onClick={this.changeTab}>

@ -1,6 +1,6 @@
/*.login_register_content, .login_register_content .ant-tabs-tabpane {*/ /*.login_register_content, .login_register_content .ant-tabs-tabpane {*/
/* display: flex;*/ /* !*display: flex;*!*/
/* justify-content: center; */ /* justify-content: center;*/
/*}*/ /*}*/
.login_register_content .ant-input { .login_register_content .ant-input {
background:rgb(244,244,244); background:rgb(244,244,244);

Loading…
Cancel
Save