From 90c935f68c8d1e80e25591504060bc4a7dc3415c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 22 Jun 2019 18:39:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tasks/GraduationTasksSubmitedit.js | 10 +- .../src/modules/user/FindPasswordComponent.js | 66 +++++++------ .../modules/user/LoginRegisterComponent.js | 96 ++++++++++++------- public/react/src/modules/user/common.css | 6 +- 4 files changed, 112 insertions(+), 66 deletions(-) diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitedit.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitedit.js index cad289855..97eebc59e 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitedit.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitedit.js @@ -650,10 +650,12 @@ class GraduationTasksSubmitedit extends Component{ height: '30px', display:item.user_name===undefined?"none":"" }}> -
{item.user_name}
-
{item.group_name}
-
{item.student_id}
- {key>0?
this.delecttask_status(item.user_id)}>
:""} + +
{item.user_name}
+
+
{item.group_name}
+
{item.student_id}
+ {key>0?
this.delecttask_status(item.user_id)}>
:""} ) })} diff --git a/public/react/src/modules/user/FindPasswordComponent.js b/public/react/src/modules/user/FindPasswordComponent.js index 8dea3e521..ae2b427d8 100644 --- a/public/react/src/modules/user/FindPasswordComponent.js +++ b/public/react/src/modules/user/FindPasswordComponent.js @@ -329,8 +329,17 @@ class LoginRegisterComponent extends Component { color: #05101A; line-height: 69px; } + .loginInputzhuche{ + width: 100%; + background-color: #fff!important; + height: 45px !important; + padding: 5px; + + } `} + +
找回密码 @@ -340,32 +349,33 @@ class LoginRegisterComponent extends Component { { ` .ant-input { - font-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; - -webkit-box-sizing: border-box; - box-sizing: border-box; - margin: 0; - padding: 0; - list-style: none; - position: relative; - display: inline-block; - padding: 4px 11px; - width: 100%; - height: 38px; - font-size: 14px; - line-height: 1.5; - color: rgba(0, 0, 0, 0.65); - background-color: #fff; - background-image: none; - border: 1px solid #d9d9d9; - border-radius: 4px; - -webkit-transition: all .3s; - -o-transition: all .3s; - transition: all .3s; -} - ` + font-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; + -webkit-box-sizing: border-box; + box-sizing: border-box; + margin: 0; + padding: 0; + list-style: none; + position: relative; + display: inline-block; + padding: 4px 11px; + width: 100%; + height: 38px; + font-size: 14px; + line-height: 1.5; + color: rgba(0, 0, 0, 0.65); + background-color: #fff; + background-image: none; + border: 1px solid #d9d9d9; + border-radius: 4px; + -webkit-transition: all .3s; + -o-transition: all .3s; + transition: all .3s; + } + ` } this.inputOnBlur(e)} onChange={this.loginInputonChange} style={{marginTop: '10px',height: "38px"}}> { @@ -381,16 +391,18 @@ class LoginRegisterComponent extends Component { dragOkCallback={this.dragOkCallback} >
- 重新发送{seconds}s : getverificationcodes === true ? : } diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index 5627890ee..587d77375 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -563,36 +563,45 @@ class LoginRegisterComponent extends Component { + this.inputOnBlur(e, 1)} style={{marginTop: '30px', height: '38px'}}> @@ -606,7 +615,7 @@ class LoginRegisterComponent extends Component { @@ -621,10 +630,33 @@ class LoginRegisterComponent extends Component { size={"large"}>登录
} + + { parseInt(tab[0])==1 &&
-
- { getverificationcodes === undefined ? - : getverificationcodes === true ? - : - } @@ -673,13 +705,13 @@ class LoginRegisterComponent extends Component { {/* style={{height: '0', width: '0', border: 'none', display: "none"}}/>*/} {/**/} - this.Showandhide(key)}> + this.Showandhide(key)}> }>