diff --git a/public/react/src/App.js b/public/react/src/App.js index df025b392..4c4908771 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -66,12 +66,19 @@ const EducoderLogin = Loadable({ loading: Loading, }) + //微信登录 const Otherlogin=Loadable({ loader: () => import('./modules/login/Otherlogin'), loading: Loading, }) +//微信登录 +const Loginqq=Loadable({ + loader: () => import('./modules/login/Loginqq'), + loading: Loading, +}) + const Otherloginstart=Loadable({ loader: () => import('./modules/login/Otherloginstart'), @@ -632,6 +639,10 @@ class App extends Component { + + { diff --git a/public/react/src/modules/login/Otherloginold.js b/public/react/src/modules/login/Loginqq.js similarity index 99% rename from public/react/src/modules/login/Otherloginold.js rename to public/react/src/modules/login/Loginqq.js index 75874ee18..fa290fcb4 100644 --- a/public/react/src/modules/login/Otherloginold.js +++ b/public/react/src/modules/login/Loginqq.js @@ -50,7 +50,7 @@ var newContainer={ paddingTop: "40px", } -class Otherlogin extends Component { +class Loginqq extends Component { constructor(props) { super(props); this.state={ @@ -289,4 +289,4 @@ class Otherlogin extends Component { } -export default Otherlogin; +export default Loginqq; diff --git a/public/react/src/modules/login/Otherlogin.css b/public/react/src/modules/login/Otherlogin.css index 746254ed5..a554fb9d7 100644 --- a/public/react/src/modules/login/Otherlogin.css +++ b/public/react/src/modules/login/Otherlogin.css @@ -46,4 +46,9 @@ justify-content: center; width: 100%; margin-top: 25px; +} + +.weixinmarauto{ + width: 24%; + margin: 0 auto; } \ No newline at end of file diff --git a/public/react/src/modules/login/Otherlogin.js b/public/react/src/modules/login/Otherlogin.js index 5e583221a..e6de5b713 100644 --- a/public/react/src/modules/login/Otherlogin.js +++ b/public/react/src/modules/login/Otherlogin.js @@ -244,7 +244,7 @@ class Otherlogin extends Component { placeholder="输入密码,注意区分大小写" > - {this.state.logintypes==="username"?请填写账号:this.state.logintypes==="password"?请填写密码:""} + {this.state.logintypes==="username"?请填写账号:this.state.logintypes==="password"?请填写密码:""}