Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Giang Tran
InvestCustomer
Commits
6be9c092
Commit
6be9c092
authored
Jun 10, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit moment
parent
a2e12bf7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
Item.js
src/Screens/Action/Wallet/Tab/Item.js
+2
-3
Success.js
src/Screens/Action/Wallet/Tab/Success.js
+4
-1
Watting.js
src/Screens/Action/Wallet/Tab/Watting.js
+4
-1
Wallet.js
src/Screens/Action/Wallet/Wallet.js
+4
-4
No files found.
src/Screens/Action/Wallet/Tab/Item.js
View file @
6be9c092
...
...
@@ -16,7 +16,7 @@ const Item = (props) => {
const
{
item
}
=
props
;
const
navigate
=
useNavigation
();
return
(
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
[
styles
.
container
,
props
.
isEnd
?
{
marginBottom
:
60
}
:
{}]
}
>
<
Block
flex
=
{
1
}
row
>
{
/* <View style={[styles.wrapLeft, {backgroundColor: item.color}]} />
<View style={styles.wrapDate}>
...
...
@@ -82,9 +82,8 @@ const styles = StyleSheet.create({
elevation
:
5
,
marginHorizontal
:
10
,
backgroundColor
:
R
.
colors
.
white
,
marginTop
:
10
,
borderRadius
:
HEIGHTXD
(
30
),
margin
Bottom
:
10
,
margin
Top
:
10
,
},
wrapRight
:
{
borderLeftColor
:
R
.
colors
.
borderGray
,
...
...
src/Screens/Action/Wallet/Tab/Success.js
View file @
6be9c092
...
...
@@ -80,6 +80,7 @@ const Success = (props) => {
)
:
(
<
FlatList
keyExtractor
=
{(
item
)
=>
item
.
transection_id
+
'a'
}
showsVerticalScrollIndicator
=
{
false
}
refreshing
=
{
isRefresh
}
onRefresh
=
{
onRefresh
}
onEndReachedThreshold
=
{
0.01
}
...
...
@@ -87,7 +88,9 @@ const Success = (props) => {
onLoadMore
();
}}
data
=
{
data
}
renderItem
=
{({
item
})
=>
<
Item
item
=
{
item
}
/>
}
renderItem
=
{({
item
,
index
})
=>
(
<
Item
item
=
{
item
}
isEnd
=
{
index
+
1
==
data
.
length
}
/
>
)}
/
>
)}
<
/View
>
...
...
src/Screens/Action/Wallet/Tab/Watting.js
View file @
6be9c092
...
...
@@ -87,6 +87,7 @@ const Watting = (props) => {
)
:
(
<
FlatList
keyExtractor
=
{(
item
)
=>
item
.
transection_id
+
'a'
}
showsVerticalScrollIndicator
=
{
false
}
refreshing
=
{
isRefresh
}
onRefresh
=
{
onRefresh
}
onEndReachedThreshold
=
{
0.01
}
...
...
@@ -94,7 +95,9 @@ const Watting = (props) => {
onLoadMore
();
}}
data
=
{
data
}
renderItem
=
{({
item
})
=>
<
Item
item
=
{
item
}
/>
}
renderItem
=
{({
item
,
index
})
=>
(
<
Item
item
=
{
item
}
isEnd
=
{
index
+
1
==
data
.
length
}
/
>
)}
/
>
)}
<
/View
>
...
...
src/Screens/Action/Wallet/Wallet.js
View file @
6be9c092
...
...
@@ -62,13 +62,13 @@ const styles = StyleSheet.create({
},
btnRight
:
{
width
:
WIDTHXD
(
400
),
height
:
HEIGHTXD
(
1
0
0
),
height
:
HEIGHTXD
(
1
2
0
),
backgroundColor
:
R
.
colors
.
main
,
borderRadius
:
10
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
position
:
'absolute'
,
bottom
:
1
0
,
bottom
:
2
0
,
right
:
30
,
shadowColor
:
'#AFA9A9'
,
shadowOffset
:
{
...
...
@@ -81,13 +81,13 @@ const styles = StyleSheet.create({
},
btnLeft
:
{
width
:
WIDTHXD
(
400
),
height
:
HEIGHTXD
(
1
0
0
),
height
:
HEIGHTXD
(
1
2
0
),
backgroundColor
:
R
.
colors
.
main
,
borderRadius
:
10
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
position
:
'absolute'
,
bottom
:
1
0
,
bottom
:
2
0
,
left
:
30
,
shadowColor
:
'#AFA9A9'
,
shadowOffset
:
{
...
...
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