Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
clone_excelso
Commits
b7bc4f59
Commit
b7bc4f59
authored
Jun 06, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alert sudah muncul di card activation
parent
58269e56
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
CardActivation.js
view/CardActivation.js
+8
-9
No files found.
view/CardActivation.js
View file @
b7bc4f59
...
@@ -81,9 +81,7 @@ class CardActivation extends React.Component {
...
@@ -81,9 +81,7 @@ class CardActivation extends React.Component {
spinner
:
false
,
spinner
:
false
,
})
})
let
response
=
error
.
response
.
data
;
let
response
=
error
.
response
.
data
;
const
{
navigation
}
=
this
.
props
Alert
.
alert
(
''
,
response
.
msg
);
session
(
response
,
navigation
)
Alert
.
alert
(
response
.
msg
);
})
})
}
}
...
@@ -112,9 +110,7 @@ class CardActivation extends React.Component {
...
@@ -112,9 +110,7 @@ class CardActivation extends React.Component {
spinner
:
false
,
spinner
:
false
,
})
})
let
response
=
error
.
response
.
data
;
let
response
=
error
.
response
.
data
;
const
{
navigation
}
=
this
.
props
Alert
.
alert
(
''
,
response
.
msg
);
session
(
response
,
navigation
)
Alert
.
alert
(
response
.
msg
);
})
})
}
}
...
@@ -133,8 +129,9 @@ class CardActivation extends React.Component {
...
@@ -133,8 +129,9 @@ class CardActivation extends React.Component {
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
19
,
textAlign
:
'center'
,
marginBottom
:
5
}}
>
Mobile
phone
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
19
,
textAlign
:
'center'
,
marginBottom
:
5
}}
>
Mobile
phone
<
/Text
>
<
TextInput
<
TextInput
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
5
,
borderRadius
:
10
,
textAlign
:
'center'
,
fontFamily
:
'Gotham-Black'
}}
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
5
,
borderRadius
:
10
,
textAlign
:
'center'
,
fontFamily
:
'Gotham-Black'
,
color
:
'grey'
,
fontSize
:
16
}}
onChangeText
=
{
mobile_phone
=>
this
.
setState
({
mobile_phone
})}
onChangeText
=
{
mobile_phone
=>
this
.
setState
({
mobile_phone
})}
keyboardType
=
'numeric'
value
=
{
this
.
state
.
mobile_phone
}
value
=
{
this
.
state
.
mobile_phone
}
/
>
/
>
...
@@ -165,9 +162,10 @@ class CardActivation extends React.Component {
...
@@ -165,9 +162,10 @@ class CardActivation extends React.Component {
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
19
,
textAlign
:
'center'
,
marginBottom
:
5
}}
>
Card
Number
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
19
,
textAlign
:
'center'
,
marginBottom
:
5
}}
>
Card
Number
<
/Text
>
<
TextInput
<
TextInput
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
5
,
borderRadius
:
10
}}
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
5
,
borderRadius
:
10
,
textAlign
:
'center'
,
fontFamily
:
'Gotham-Black'
,
color
:
'grey'
,
fontSize
:
16
}}
onChangeText
=
{
card_number
=>
this
.
setState
({
card_number
})}
onChangeText
=
{
card_number
=>
this
.
setState
({
card_number
})}
value
=
{
this
.
state
.
card_number
}
value
=
{
this
.
state
.
card_number
}
keyboardType
=
'numeric'
/>
/>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
@@ -175,9 +173,10 @@ class CardActivation extends React.Component {
...
@@ -175,9 +173,10 @@ class CardActivation extends React.Component {
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
19
,
textAlign
:
'center'
,
marginBottom
:
5
}}
>
Token
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
19
,
textAlign
:
'center'
,
marginBottom
:
5
}}
>
Token
<
/Text
>
<
TextInput
<
TextInput
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
5
,
borderRadius
:
10
}}
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
5
,
borderRadius
:
10
,
textAlign
:
'center'
,
fontFamily
:
'Gotham-Black'
,
color
:
'grey'
,
fontSize
:
16
}}
onChangeText
=
{
token
=>
this
.
setState
({
token
})}
onChangeText
=
{
token
=>
this
.
setState
({
token
})}
value
=
{
this
.
state
.
token
}
value
=
{
this
.
state
.
token
}
keyboardType
=
'numeric'
/>
/>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment