Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Ad1Appraisal-Mobile
Project
Project
Details
Activity
Releases
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
Dida Adams Arizona
Ad1Appraisal-Mobile
Commits
c56c1bd5
Commit
c56c1bd5
authored
Mar 06, 2020
by
didam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
didam
parent
93540104
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
10 deletions
+29
-10
history.js
app/container/history/history.js
+29
-10
No files found.
app/container/history/history.js
View file @
c56c1bd5
import
React
,
{
Component
}
from
'react'
;
import
{
Container
,
Text
}
from
'native-base'
;
import
{
View
}
from
'react-native'
;
import
{
View
,
ScrollView
}
from
'react-native'
;
import
Colors
from
'../../library/colors'
;
class
History
extends
Component
{
constructor
(
props
)
{
super
(
props
)
this
.
state
=
{
data
:
[
'17.30'
,
'17.45'
,
'17.55'
,
'18.03'
,
'18.10'
,
'18.34'
,
'18.57'
,
'19.28'
,
'19.49'
,
'20:00'
]
}
}
render
()
{
return
(
<
Container
>
<
View
style
=
{{
height
:
50
,
width
:
'100%'
,
backgroundColor
:
'#e4b300'
,
zIndex
:
1
}}
>
<
View
style
=
{{
alignItems
:
'center'
,
justifyContent
:
'center'
,}}
>
<
Text
>
History
<
/Text
>
<
View
style
=
{{
height
:
'10%'
,
width
:
'100%'
,
backgroundColor
:
'#e4b300'
,
zIndex
:
1
}}
>
<
View
style
=
{{
alignItems
:
'center'
,
justifyContent
:
'center'
,
marginTop
:
20
}}
>
<
Text
style
=
{{
color
:
'#fff'
,
fontSize
:
20
,
fontStyle
:
'italic'
}}
>
My
History
<
/Text
>
<
/View
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-evenly'
,}}
>
<
View
style
=
{{
height
:
70
,
width
:
70
,
borderRadius
:
70
,
backgroundColor
:
'transparent'
,
marginTop
:
40
,
zIndex
:
1
}}
/
>
<
View
style
=
{{
height
:
70
,
width
:
70
,
borderRadius
:
70
,
backgroundColor
:
'transparent'
,
marginTop
:
40
,
zIndex
:
1
}}
/
>
<
View
style
=
{{
height
:
70
,
width
:
70
,
borderRadius
:
70
,
backgroundColor
:
'transparent'
,
marginTop
:
40
,
zIndex
:
1
}}
/
>
{
/* <View style={{height: 70, width: 70, borderRadius: 70, backgroundColor: 'transparent', marginTop: 40, zIndex: 1}}/> */
}
<
View
style
=
{{
height
:
50
,
width
:
50
,
borderRadius
:
50
,
backgroundColor
:
'red'
,
marginTop
:
35
,
zIndex
:
2
}}
/
>
<
View
style
=
{{
alignItems
:
'center'
,
justifyContent
:
'center'
}}
>
<
View
style
=
{{
height
:
50
,
width
:
50
,
borderRadius
:
50
,
backgroundColor
:
'#f5f5f5'
,
marginTop
:
20
,
zIndex
:
2
}}
/
>
<
/View
>
<
/View
>
<
View
style
=
{{
backgroundColor
:
'#f5f5f5'
,
paddingHorizontal
:
20
,
zIndex
:
3
,
height
:
'90%'
}}
>
<
ScrollView
style
=
{{
flex
:
1
}}
showsVerticalScrollIndicator
=
{
false
}
>
{
this
.
state
.
data
.
map
((
item
,
index
)
=>
{
return
(
<
View
style
=
{{
marginTop
:
index
==
0
?
40
:
20
,
marginBottom
:
index
==
this
.
state
.
data
.
length
-
1
?
20
:
0
,}}
>
<
View
style
=
{{
width
:
'100%'
,
height
:
100
,
backgroundColor
:
'#fff'
,
borderRadius
:
10
}}
>
<
/View
>
<
Text
style
=
{{
textAlign
:
'right'
,
fontStyle
:
'italic'
,
fontSize
:
12
,
marginTop
:
5
,
color
:
'#cccccc'
}}
>
{
item
}
<
/Text
>
<
/View
>
)
})}
<
/ScrollView
>
<
/View
>
<
/Container
>
);
}
...
...
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