Toggle navigation
Toggle navigation
This project
Loading...
Sign in
罗广聪
/
ProtectGod
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Yingchuan
2017-09-15 11:53:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ab0b84fcc369d0dcbafdab26bf6d46e8e864e708
ab0b84fc
1 parent
b505e6bf
underlineAndroidTransparent
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
src/pages/Login.js
src/pages/Mine/index.js
src/pages/Login.js
View file @
ab0b84f
...
...
@@ -69,6 +69,7 @@ export default class Login extends Component {
<
TextInput
style
=
{
styles
.
textInput
}
placeholder
=
"请输入手机号"
underlineColorAndroid
=
{
'transparent'
}
value
=
{
this
.
state
.
phone
}
onChangeText
=
{
phone
=>
this
.
setState
({
phone
})}
selectionColor
=
"#1B9341"
...
...
@@ -87,6 +88,7 @@ export default class Login extends Component {
<
TextInput
style
=
{
styles
.
textInput
}
placeholder
=
"请输入密码"
underlineColorAndroid
=
{
'transparent'
}
secureTextEntry
=
{
true
}
value
=
{
this
.
state
.
password
}
onChangeText
=
{
password
=>
this
.
setState
({
password
})}
...
...
@@ -107,6 +109,7 @@ export default class Login extends Component {
<
TextInput
style
=
{
styles
.
textInput
}
placeholder
=
"请输入昵称"
underlineColorAndroid
=
{
'transparent'
}
value
=
{
this
.
state
.
nickname
}
onChangeText
=
{
nickname
=>
this
.
setState
({
nickname
})}
selectionColor
=
"#1B9341"
...
...
@@ -127,6 +130,7 @@ export default class Login extends Component {
<
TextInput
style
=
{
styles
.
textInput
}
placeholder
=
"请输入职业"
underlineColorAndroid
=
{
'transparent'
}
value
=
{
this
.
state
.
profession
}
onChangeText
=
{
profession
=>
this
.
setState
({
profession
})}
selectionColor
=
"#1B9341"
...
...
src/pages/Mine/index.js
View file @
ab0b84f
...
...
@@ -179,10 +179,6 @@ export default class Mine extends Component {
}}
>
<
View
style
=
{
styles
.
itemLeft
}
>
<
Image
style
=
{
styles
.
leftIcon
}
source
=
{
require
(
"../../assets/tabbar/ic_circle_s.png"
)}
/
>
<
Text
style
=
{
styles
.
leftTitle
}
>
设置昵称
<
/Text
>
<
/View
>
<
View
style
=
{
styles
.
itemRight
}
>
...
...
@@ -215,10 +211,6 @@ export default class Mine extends Component {
}}
>
<
View
style
=
{
styles
.
itemLeft
}
>
<
Image
style
=
{
styles
.
leftIcon
}
source
=
{
require
(
"../../assets/tabbar/ic_circle_s.png"
)}
/
>
<
Text
style
=
{
styles
.
leftTitle
}
>
设置职业
<
/Text
>
<
/View
>
<
View
style
=
{
styles
.
itemRight
}
>
...
...
Please
register
or
login
to post a comment