From ad99a3c59488600ce7f0fee7fcb71fc43da4a2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 21 Feb 2020 20:38:20 +0800 Subject: [PATCH] =?UTF-8?q?qq=E7=99=BB=E5=BD=95=E6=B5=81=E7=A8=8B=E6=81=A2?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/App.js | 11 +++++++++++ .../modules/login/{Otherloginold.js => Loginqq.js} | 4 ++-- public/react/src/modules/login/Otherlogin.css | 5 +++++ public/react/src/modules/login/Otherlogin.js | 2 +- public/react/src/modules/login/Otherloginqq.js | 12 +++--------- .../react/src/modules/paths/PathDetail/sendPanel.js | 11 ++++++----- 6 files changed, 28 insertions(+), 17 deletions(-) rename public/react/src/modules/login/{Otherloginold.js => Loginqq.js} (99%) 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"?请填写密码:""}