This repository was archived by the owner on Aug 24, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,15 @@ class Login extends Component {
49
49
< h1 > 登录</ h1 >
50
50
< div className = { s . formGroup } >
51
51
< label className = { s . label } htmlFor = "usernameOrEmail" >
52
- 请输入用户名/邮箱地址 :
52
+ 请输入邮箱地址 :
53
53
</ label >
54
54
< input
55
55
className = { s . input }
56
56
onChange = { this . setInputAccount }
57
57
id = "usernameOrEmail"
58
58
type = "text"
59
59
value = { this . props . account }
60
+ placeholder = "请输入邮箱地址"
60
61
autoFocus
61
62
/>
62
63
</ div >
@@ -70,6 +71,7 @@ class Login extends Component {
70
71
id = "password"
71
72
type = "password"
72
73
value = { this . props . password }
74
+ placeholder = "请输入登录密码"
73
75
/>
74
76
</ div >
75
77
< div className = { s . formGroup } >
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ class Register extends Component {
28
28
//-----
29
29
isSubmitStepThree : PropTypes . bool ,
30
30
password : PropTypes . string ,
31
- passwordInputChange : PropTypes . string ,
32
- passwordConfirm : PropTypes . func ,
31
+ passwordInputChange : PropTypes . func ,
32
+ passwordConfirm : PropTypes . string ,
33
33
passwordConfirmInputChange : PropTypes . func ,
34
34
submitStepThree : PropTypes . func ,
35
35
} ;
Original file line number Diff line number Diff line change 49
49
.errorTip {
50
50
color : red;
51
51
}
52
+
53
+ .loginBtn {
54
+ margin-top : 40px ;
55
+ width : 100% ;
56
+ text-align : center;
57
+ }
58
+ .loginBtn a {
59
+ text-decoration : none;
60
+ color : # 3CB371 ;
61
+ }
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import _ from 'lodash';
3
3
import withStyles from 'isomorphic-style-loader/lib/withStyles' ;
4
4
import s from './StepOne.css' ;
5
5
import Button from '../../Button' ;
6
+ import Link from '../../Link' ;
6
7
import validator from 'validator' ;
7
8
8
9
class StepOne extends Component {
@@ -64,6 +65,11 @@ class StepOne extends Component {
64
65
self . props . submit ( ) ;
65
66
} } />
66
67
</ div >
68
+ < div className = { s . loginBtn } >
69
+ < Link to = "/login" >
70
+ 已有帐号
71
+ </ Link >
72
+ </ div >
67
73
</ div >
68
74
</ div >
69
75
) ;
You can’t perform that action at this time.
0 commit comments