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
06454572
Commit
06454572
authored
May 27, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://repo.cs.co.id:2222/wahyu/bahanoprek
# Conflicts: # view/Account.js
parents
bf45214c
94b50f86
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
76 deletions
+87
-76
Account.js
view/Account.js
+81
-71
Home.js
view/Home.js
+2
-2
RewardDetail.js
view/RewardDetail.js
+4
-3
No files found.
view/Account.js
View file @
06454572
This diff is collapsed.
Click to expand it.
view/Home.js
View file @
06454572
...
...
@@ -351,7 +351,7 @@ class Home extends React.Component {
<
Text
style
=
{{
fontSize
:
14
,
fontFamily
:
'Gotham-Light'
}}
>
BALANCE
<
/Text
>
<
/View
>
<
View
style
=
{{
flex
:
0.7
,
alignItems
:
'center'
}}
>
<
Text
style
=
{{
fontSize
:
1
2
,
fontFamily
:
'Gotham-Black'
,
color
:
'gray'
}}
>
IDR
{
this
.
state
.
balance
}
<
/Text
>
<
Text
style
=
{{
fontSize
:
1
4
,
fontFamily
:
'Gotham-Black'
,
color
:
'gray'
}}
>
IDR
{
this
.
state
.
balance
}
<
/Text
>
<
/View
>
<
/View
>
...
...
@@ -366,7 +366,7 @@ class Home extends React.Component {
<
Text
style
=
{{
fontSize
:
14
,
fontFamily
:
'Gotham-Light'
}}
>
POINTS
<
/Text
>
<
/View
>
<
View
style
=
{{
flex
:
0.7
,
alignItems
:
'center'
}}
>
<
Text
style
=
{{
fontSize
:
1
2
,
fontFamily
:
'Gotham-Black'
,
color
:
'gray'
}}
>
IDR
{
this
.
state
.
point
}
<
/Text
>
<
Text
style
=
{{
fontSize
:
1
4
,
fontFamily
:
'Gotham-Black'
,
color
:
'gray'
}}
>
IDR
{
this
.
state
.
point
}
<
/Text
>
<
/View
>
<
/View
>
<
/Card
>
...
...
view/RewardDetail.js
View file @
06454572
...
...
@@ -93,7 +93,7 @@ class RewardDetail extends React.Component {
render
()
{
//
console.log(this.state.content)
console
.
log
(
this
.
state
.
content
)
return
(
<
View
style
=
{
styles
.
container
}
>
<
ScrollView
>
...
...
@@ -108,7 +108,7 @@ class RewardDetail extends React.Component {
<
Text
style
=
{
styles
.
text_expire
}
>
EXPIRE
DATE
<
/Text
>
<
/View
>
<
View
style
=
{{
flex
:
0.5
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Light'
,
color
:
'white'
,
fontSize
:
14
,
textAlign
:
'
center'
,
marginBottom
:
5
,
top
:
5
,
paddingLeft
:
55
}}
>
{
this
.
state
.
expire
}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Light'
,
color
:
'white'
,
fontSize
:
14
,
textAlign
:
'
right'
,
marginBottom
:
5
,
top
:
5
,
paddingRight
:
12
}}
>
{
this
.
state
.
expire
}
<
/Text
>
<
/View
>
<
/View
>
...
...
@@ -121,7 +121,8 @@ class RewardDetail extends React.Component {
<
View
style
=
{{
marginHorizontal
:
20
}}
>
<
HTML
html
=
{
this
.
state
.
content
}
tagsStyles
=
{{
p
:
{
fontSize
:
12
,
color
:
'#838383'
,
fontFamily
:
'Gotham-Light'
},
blockquote
:
{
backgroundColor
:
"#f1f1f1"
,
padding
:
12
,
paddingBottom
:
0
,
marginTop
:
6
}
}}
/
>
<
HTML
html
=
{
this
.
state
.
content
}
tagsStyles
=
{{
p
:
{
fontSize
:
12
,
color
:
'#838383'
,
fontFamily
:
'Gotham-Light'
},
li
:
{
fontSize
:
12
,
color
:
'#838383'
,
fontFamily
:
'Gotham-Light'
},
ul
:
{
fontSize
:
12
,
color
:
'#838383'
,
fontFamily
:
'Gotham-Light'
,
marginTop
:
10
},
blockquote
:
{
backgroundColor
:
"#f1f1f1"
,
padding
:
12
,
paddingBottom
:
0
,
marginTop
:
6
}
}}
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
content
}
>
...
...
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